this post was submitted on 26 Nov 2023
703 points (89.4% liked)

Programmer Humor

19623 readers
26 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 11 points 1 year ago (1 children)

Why the heck does it need to be dynamically allocated? Just put that puppy on the stack.

[โ€“] [email protected] 6 points 1 year ago

That's what it used to do.
But it was a bug, and the code has been fixed.