physfluids.fr
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
xia@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 years ago

do as i say...

lemmy.ca

message-square
110
fedilink
1.03K

do as i say...

lemmy.ca

xia@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
110
fedilink
  • IphtashuFitz@lemmy.world
    link
    fedilink
    English
    arrow-up
    334
    arrow-down
    1
    ·
    edit-2
    2 years ago

    Many years ago I had to try to debug a memory manager written by a really talented software engineer, with an interesting take on naming things…

    • He referred to blocks of memory as “cookies”.

    • He had a temporary variable named “handy” because it was handy to have around.

    • He had a second temporary variable that referenced the first one that he called “son_of_handy”.

    • If corruption was detected in a block of memory then it would set the flag “shit_cookie_corrupt”.

    • If too many cookies were corrupt then the system would halt by calling the function “oh_shit_oh_shit_oh_shit”.

    • AJMaxwell@lemmy.world
      link
      fedilink
      arrow-up
      149
      ·
      2 years ago

      I like him already

      • dhtseany@lemmy.ml
        link
        fedilink
        arrow-up
        46
        arrow-down
        1
        ·
        2 years ago

        To be honest I’d like to see his resume, kinda wanna hire him

        • IphtashuFitz@lemmy.world
          link
          fedilink
          English
          arrow-up
          46
          ·
          2 years ago

          That was close to 30 years ago - a DOS memory manager written prior to Windows 3.0. He’s likely retired now…

    • Victoria@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      55
      ·
      2 years ago

      proposal to rename exit() to oh_shit_oh_shit_oh_shit()

      • tslnox@reddthat.com
        link
        fedilink
        arrow-up
        43
        ·
        2 years ago

        screw_you_guys_im_going_home()

        • vrighter@discuss.tchncs.de
          link
          fedilink
          arrow-up
          12
          ·
          2 years ago

          fuck_this_shit_im_outta_here()

        • KIM_JONG@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 years ago

          In the 90s there was a Redhat distro called Cartman.

          • z500@startrek.website
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 years ago

            Red Hat 6.1, that was my first Linux distro.

        • Renny Protogenny@feddit.nl
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          screw_you_im_gonna_go_play_minecraft()

    • Drew Belloc@programming.dev
      link
      fedilink
      arrow-up
      45
      ·
      2 years ago

      I will keep this legacy alive within my code

    • Wakmrow@lemmy.world
      link
      fedilink
      arrow-up
      29
      arrow-down
      1
      ·
      2 years ago

      Okay yeah but I know what all those variables do

    • markstos@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      2
      ·
      2 years ago

      Ugh.

    • iHUNTcriminals@lemm.ee
      link
      fedilink
      arrow-up
      11
      ·
      2 years ago

      Sounds like my type of guy.

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.

  • 298 users / day
  • 1.89K users / week
  • 2.61K users / month
  • 10.4K users / 6 months
  • 1 local subscriber
  • 35.7K subscribers
  • 1.72K Posts
  • 37.2K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.4
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org