Elektrine lite

← Feed

@phf@dmv.community

Post #1100189

2026-04-09 06:47 UTC

I have found that SOMETIMES that familiar first impression of "This is terrible, how could they?" one gets when looking at someone else's code simply means that the purpose has not become sufficiently clear yet. 🤔 For example, back when I was still teaching, I found that students who grew up on Java could not AT ALL figure out how some C code I gave them could possibly work without a single dynamic memory allocation anywhere. They promptly rewrote much of it to use malloc/free when there was absolutely no need to. 🤷 And this is not just a "students are inexperienced" issue, I've found MYSELF doing similar things in slightly more complicated circumstances before. 😬 Or ... you know ... it could actually just be terrible code. 🤣

Replies (0)

No replies.