280

saw a 2nd year CS guy run a maze solver (for final exam) with 300 nested if-statements. worked about 50% of the time. so he added another 5000 nested ifs and got it up to 90%. good enough!

you are viewing a single comment's thread
view the rest of the comments
[-] ImplyingImplications@lemmy.ca 70 points 1 year ago

"CS Major" is one of my favourite memes

[-] tool@r.rosettast0ned.com 44 points 1 year ago

It's so rare for me to have to use the modulo operator I'm actually excited when I come across a situation where I can.

[-] jimmux@programming.dev 11 points 1 year ago

It's like how when you were a kid, you thought quicksand was something you would need to be aware of as an adult in the big wide world. In my undergrad, mod everywhere. Very important knowledge. Now not so much.

[-] HamBrick@programming.dev 9 points 1 year ago

I (a teen boy) was with a bunch of other dudes on a river, one found quicksand, and it quickly became a game of who could get deepest

load more comments (2 replies)
load more comments (5 replies)
this post was submitted on 19 Jul 2023
280 points (95.8% liked)

Programmer Humor

19503 readers
354 users here now

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

founded 1 year ago
MODERATORS