Orbi Camp
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hoch@lemmy.world to Programmer Humor@lemmy.ml · 18 hours ago

More code = more better

lemmy.ml

message-square
25
fedilink
243

More code = more better

lemmy.ml

hoch@lemmy.world to Programmer Humor@lemmy.ml · 18 hours ago
message-square
25
fedilink
  • Tolookah@discuss.tchncs.de
    link
    fedilink
    arrow-up
    6
    ·
    17 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
      ·
      12 hours ago

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

      • Tolookah@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        12 hours 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: [email protected]

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.

  • 300 users / day
  • 824 users / week
  • 2.18K users / month
  • 7.25K users / 6 months
  • 1 local subscriber
  • 39.4K subscribers
  • 1.02K Posts
  • 6.64K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org