Best practices when coding
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.