SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
anders@rytter.me to Programmer Humor@lemmy.ml · 2 years ago

When you come back from vacation

rytter.me

message-square
12
fedilink
570

When you come back from vacation

rytter.me

anders@rytter.me to Programmer Humor@lemmy.ml · 2 years ago
message-square
12
fedilink

When you come back from vacation
@programmerhumor

alert-triangle
You must log in or register to comment.
  • WhatAmLemmy@lemmy.world
    link
    fedilink
    arrow-up
    39
    ·
    2 years ago

    I legitimately lol’d at this. Any time I return from a couple weeks off I’m like “what year is it” + “can you repeat all the stuff about the things”.

  • Dasnap@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    2 years ago

    Me temporarily forgetting the structure of an if statement in Shell.

    • unagi@feddit.nl
      link
      fedilink
      arrow-up
      20
      ·
      2 years ago

      I write shell scripts only very occasionally and have to look this up every time.

      • bela@lemm.ee
        link
        fedilink
        arrow-up
        12
        ·
        2 years ago

        deleted by creator

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      Like this I think

      if [1]; then
          echo "hi"
      fi
      
    • LazaroFilm@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      And then there’s stupid Cpp with

      if (true) {
        do();
      }
      

      Or

      if THIS
        do();
      endif 
      
      • ActuallyRuben@actuallyruben.nl
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        What’s weird about the C++ one? At least that one is the same in a bunch of languages

  • LazaroFilm@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    2 years ago
    void HelloWorld(string) {
      if (string == "print") {
        Serial.print("Hello World"};
      }
    }
    

    Solved it.

    • anders@rytter.meOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      @LazaroFilm well done :D

  • giant_smeeg@feddit.uk
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    I’m more

    Hello print("World")
    
  • cryoistalline@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    im more of a c person index[array]

  • cs127
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago
    void HelloWorld(void (* func)(const char*)) {
        func("Hello world!");
    }
    
  • nthcdr
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    (format t “Hello ~a” 'World). If I’m on vacation and come back to the land of C based languages I will have reverted to the only syntax I enjoy working in.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 19 users / day
  • 346 users / week
  • 2.46K users / month
  • 10.1K users / 6 months
  • 437 local subscribers
  • 35.8K subscribers
  • 1.74K Posts
  • 38.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org