News for hackers. Stuff that matters.
Re:Write Code Like You Just Learned How to Program by jackblemming on Saturday October 14, 2023 @03:32AM (#37878744)
> Write comically straightforward code, as if you just learned to program, and go out of your way avoid wearing any kind of software engineering hat

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.

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.
Re:Write Code Like You Just Learned How to Program by deely3 on Saturday October 14, 2023 @06:55AM (#37879529)
> actually TA’d for an intro programming class

What does it mean?

Re:Write Code Like You Just Learned How to Program by Charlie_e on Saturday October 14, 2023 @08:09AM (#37879855)
TA is short for teacher's assistant, essentially someone who supports the teacher and students in a classroom, very common in UK schools.