this post was submitted on 05 Jul 2023
221 points (98.3% liked)

Programmer Humor

32558 readers
509 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] 50 points 1 year 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 1 year ago

Ah yes, to be in middle school again

[–] [email protected] 33 points 1 year 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 1 year 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 1 year 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 1 year ago

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

[–] [email protected] 18 points 1 year 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.

[–] Pantrygheist 13 points 1 year 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 1 year ago

When you realize your code has exponential length...

[–] lowleveldata 4 points 1 year ago

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