this post was submitted on 28 Mar 2024
616 points (98.1% liked)

Programmer Humor

32410 readers
688 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ICastFist@programming.dev 3 points 7 months ago

Reminds me of a dude that wrote the equivalent of this in Visualg (a brazilian pseudocode language and program, meant solely for teaching programming)

if
  if
    if
      if
        if (x < 10) then
          print(x)
        else
      else
    else
  else
else

That the thing ran and didn't complain about the amount of loose/needless if's checking fuck all baffles my mind to this day.