Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I saw some EE student C code once. It seems there was a class-wide notion that indentation was optional, so everyone just left it out as a shortcut.


I saw this kind of code more than once :) I was a TA for programming 101 for engineers. And yes, every time I asked a student to fix up the indenting before I could figure out why their program was broken they thought I was being difficult just to spite them. But you can't judge people just learning to program too harshly.


I'm a TA for such a class right now, and you're absolutely right. No matter how often I tell them to indent, they never get in the habit. Which is particularly galling considering that the text editor they're using has damn near foolproof auto-indent; it would literally take less than two seconds to fix their code, and yet they don't do it.

"EE code" is another way of saying "probably total crap code". With some exceptions, of course. (And don't get me started on the people who cheat their way through most classes.)


> But you can't judge people just learning to program too harshly.

This just sounded much more cynical than it's probably meant.


Nice catch. The intended meaning was the "good" one.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: