this post was submitted on 13 Nov 2023
114 points (87.5% liked)

Programming

20090 readers
50 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] zout@kbin.social 23 points 2 years ago (5 children)

Sorry, but, mb, in lowercase? Like millibit?

[–] kinttach@lemm.ee 19 points 2 years ago (2 children)

“I implemented the FizzBuzz algorithm in only 10 million lines of code!”

[–] cbarrick@lemmy.world 13 points 2 years ago (1 children)
char* fizzbuzz(int n) {
    switch (n) {
        case 0: return "fizzbuzz";
        case 1: return "1";
        case 2: return "2";
        case 3: return "fizz";
        case 4: return "4";
        case 5: return "buzz";
        ...
    }
}
[–] MagnoliaMayhem@programming.dev 7 points 2 years ago

A terrifying number of people think like that.

load more comments (2 replies)