Re:Electrical Engineering vs. Computer Science
by stcredzero on Thursday April 08, 2010 @03:26AM
(#1249366)
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.
[ Parent
| on HN ]
Re:Electrical Engineering vs. Computer Science
by nzmsv on Thursday April 08, 2010 @03:52AM
(#1249394)
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.
Re:Electrical Engineering vs. Computer Science
by sketerpot on Thursday April 08, 2010 @04:01AM
(#1249407)
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.)