minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Cows Look Like Maps@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago

Bill is a pro grammer

sh.itjust.works

message-square
98
fedilink
710

Bill is a pro grammer

sh.itjust.works

Cows Look Like Maps@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago
message-square
98
fedilink
  • towerful@programming.dev
    link
    fedilink
    arrow-up
    64
    arrow-down
    3
    ·
    edit-2
    2 years ago

    // increase the dynamically allocated memory space of a word sized integer stored at the memory address represented by the symbol "x" by the integer 1 and terminate the instruction

    • morrowind@lemmy.ml
      link
      fedilink
      arrow-up
      38
      ·
      2 years ago

      Wait why is it dynamically allocated and why are you increasing the memory. Something is very wrong here

      • floofloof@lemmy.ca
        link
        fedilink
        English
        arrow-up
        34
        ·
        2 years ago

        Found the bug. Thank goodness for comments.

        • Anders429@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          Oh, is this what they meant by “commenting your code”?

    • Anders429@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      2 years ago

      Why the heck does it need to be dynamically allocated? Just put that puppy on the stack.

      • towerful@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

        That’s what it used to do.
        But it was a bug, and the code has been fixed.

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 117 users / day
  • 265 users / week
  • 8.34K users / month
  • 12.5K users / 6 months
  • 1 local subscriber
  • 23.7K subscribers
  • 1.44K Posts
  • 45.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org