this post was submitted on 17 Mar 2025
39 points (100.0% liked)

Programmer Humor

21779 readers
1741 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 2 years ago
MODERATORS
 

Please leave recursion to math and keep it out of (in particular C) software: it kills and will kill again.

Kind regards from libexpat, see CVE-2022-25313 and CVE-2024-8176 for proof.

https://blog.hartwork.org/posts/expat-2-7-0-released/

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 17 points 6 days ago* (last edited 5 days ago) (1 children)

I did it the other way around in uni, we got a task with no mention of it requiring recursion (even though I suppose it was somewhat well suited to it). I solved it with a double for loop and the teacher refused to accept my submission.

This was a coding class on Unix thinclients, I'll let you guess how long ago.

Answer3 years
edit: thx [email protected] for making the spoiler work :)

[โ€“] [email protected] 18 points 5 days ago

The spoiler syntax is a bit different.

<label><body>

For example:

Answer3 years