Ok, bit of a geeky poll here...as a result of some annoying programmers out there who insist on formatting their code in a certain way that makes it almost unreadable.
So I was wondering if its just me that can't stand people who don't format their code 'properly' (as i see it) or if i'm in the minority, and really need to adjust to this different way of doing things.
Up until now I will have confused you, so heres what I mean.
My (and I think the correct, logical) way of doing things:
Code:public bool myMethod { String strExample; .... etc }
or the (in my view) retarded way [edit: I know its not retarded, and there are historical reasons for this method..i was just a bit stressed in my original post]
Is it just me? or do others also get frustrated at this? If you are always working with a decent IDE or with simple methods/classes/control structures its not really a problem, but if you are occasionally forced to use something like JBuilder, or end up with textpad/notepad (ie something that doesnt highlight start/end bracers well) it can be a nightmare to see where something starts and ends.Code:public bool myMethod { String strExample; .... etc }
With my formatting of bracers its always clear which bracer matches which, as they are always lined up together..it makes your code much cleaner to read, and looks nicer..obviously there are exceptions eg single line if statements where ommiting the brackets entirely is cleaner..but for large methods etc I find it REALLY annoying.
Posted this as i'm sitting here going through a lecturers code and 'corrrecting' it to make sense..so whats your opinoin?![]()


LinkBack URL
About LinkBacks
) or if i'm in the minority, and really need to adjust to this different way of doing things.
]
Reply With Quote



