Re:Write Code Like You Just Learned How to Program
by ReactiveJelly on Saturday October 14, 2023 @03:37AM
(#37878761)
- A whole block that's pointless but they didn't bother trimming it
- Spawning threads for things that don't need threads
- Using timers for things that don't need timers
- Everything in one file, OR
- Everything in way too many files
- Most of all, busy loops, thread safety problems, and global mutable state.
I have seen the face of student code and it is weeping
Re:Write Code Like You Just Learned How to Program
by deely3 on Saturday October 14, 2023 @06:56AM
(#37879534)
- few levels of abstractions, with multi levels of inheritance everywhere.
Can we stop saying this? Has anyone who said this actually TA’d for an intro programming class? It’s not as beautiful and “straightforward” as you imagine.