I just transfered from a college to university and everything I thought was good practice for coding they concider bad. I lost marks for the following:
- indenting code (shouldn't be done in assembly)
- commenting out code used for debugging instead of deleting it
- creating subroutines when not nescecary (this makes no sense to me)
- initializing registers all to 0 at first
I can see some reasoning to this but the fact I lost marks, especially when not told otherwise, really anoys me.



1Likes
LinkBack URL
About LinkBacks



, lol, so your object lesson here is that you just got an object lesson, you passed (I hope) ...consider the specific things you got docked for and in the future, do no expect them to be explained. Ask: what do you want to see WRT formatting? WRT debugging? Testing? And accept that even after you ask, you may still not be able to get an unambiguous answer, if the educator has the wrong attitude, but you do not hold the power, so you must work within that reality. 