SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
SavvyWolf@pawb.social to Programmer Humor@programming.devEnglish · 1 year ago

4 billion if statements

andreasjhkarlsson.github.io

external-link
message-square
47
fedilink
348
external-link

4 billion if statements

andreasjhkarlsson.github.io

SavvyWolf@pawb.social to Programmer Humor@programming.devEnglish · 1 year ago
message-square
47
fedilink
I recently stumbled upon this screenshot while researching social media on the train. Of course, it was followed by a cascade of spiteful comments, criticizing this fresh programmer’s attempt to solve a classical problem in computer science. The modulus operation.
  • Aatube@kbin.social
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    1 year ago

    @programming_horror , anyone? We have an in production version of this used in Wikipedia

    • isildun@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Instance friendly link: !programming_horror@programming.dev

      • DrDeadCrash@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Thank you!

      • Aatube@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’m pretty sure that my link also works regardless of instance. It works when I visit it on your instance.

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.

  • 1.98K users / day
  • 4.7K users / week
  • 8.32K users / month
  • 18K users / 6 months
  • 315 local subscribers
  • 23.4K subscribers
  • 1.42K Posts
  • 52.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org