this post was submitted on 05 Jul 2023
230 points (97.9% liked)

Programmer Humor

33336 readers
119 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 53 points 2 years ago (1 children)

As a child, I made a siren in QBASIC. Very proud, 2000 lines of code.

My sister's boyfriend then introduced me to the concept of FOR loops. 6 lines of code.

[–] [email protected] 15 points 2 years ago

Ah yes, to be in middle school again

[–] [email protected] 35 points 2 years ago (1 children)

On the upside, if he's finished with this he has literally solved chess.

On the downside, the heat death of the universe will probably happen before he's able to finish this.

[–] [email protected] 8 points 2 years ago (1 children)

Mhh since we want to map every single possible situation we could auto generate it on parallel threads.

[–] [email protected] 4 points 2 years ago (1 children)

Go for it, I'm pretty sure there's a ton of people that would pay a shitload of money if you're able to achieve this for every possible position

[–] [email protected] 3 points 2 years ago

parallelization does not solve the problem of the missing Hardware in the costs of millions.

[–] [email protected] 19 points 2 years ago

Anything that can be made playable in the terminal like so is gods' own work ... but someone needs to teach that poor coder about subroutines, and the various gameplay engines(AI/CPU opponents, and move validation) that exist already.

Hell, the UI/UX work may be in place already, but some wheels can be rewarding to reinvent, even if only to learn them from the ground up.

[–] [email protected] 12 points 2 years ago

Reminds me when I was a teacher assistant checking programming homework, had a good laugh at some of the stuff they sent me.

[–] [email protected] 7 points 2 years ago

When you realize your code has exponential length...

[–] [email protected] 4 points 2 years ago

I want to see how it handles the AI's move tho