Cult I Mean Group
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hoch@lemmy.world to Programmer Humor@lemmy.ml · 8 hours ago

More code = more better

lemmy.world

message-square
23
fedilink
174

More code = more better

lemmy.world

hoch@lemmy.world to Programmer Humor@lemmy.ml · 8 hours ago
message-square
23
fedilink
  • Tolookah@discuss.tchncs.de
    link
    fedilink
    arrow-up
    6
    ·
    7 hours ago

    No

    i= 0;

    do{ i++; } while (10 != *(U32 *) i );

    ?

    Gotta make it hard to read as well

    • anton@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      2 hours ago

      Segmentation fault, you forgot to take the reference and derefenced a null pointer.

      • Tolookah@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        i is my address. The bigger problem is that I should have increased i by sizeof(U32)

        (This works on bare metal, mostly, not on an os)

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.

  • 325 users / day
  • 737 users / week
  • 1.94K users / month
  • 6.91K users / 6 months
  • 1 local subscriber
  • 39.4K subscribers
  • 1.93K Posts
  • 36.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org