Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
aaxa24268yIt also seems that he's alternating between using spaces and tabs for indentation..........................................
-
aaxa24268y@Qchmqs I don't agree. The problem is that the way he does it will make it more difficult for everyone else to read. To be honest, you should stick to the code standards, would you break the way C# naming conventions are just because you've always done it differently?
And in the end, he's only consistent with the braces. He's changing back and forth between tabs and spaces as well. -
@Qchmqs Did you miss the part about alternating spaces and tabs? And, juuust for the record, consistently bad < inconsistently good
-
Qchmqs5378y@aaxa i just realised that all java i ever seen puts each bracket on a separate line, I'm no java guy anyway
-
mahoraz578yAt first i thought he came from a C/C++ background and its ok.... but then he would write closing braces with the same indentation as the start of the function
-
xios16488yOh man. I get that there are cool new toys and stuff, but if you are doing Android 101 start with Java.
Hope you won't be graded on your indentation habits =D -
ac123511478ytheres nothing wrong with this indentation
its completely structured
the important thing is, that there IS an indentation style -
ac123511478yIn its early days, the antlang language enforced this style of coding, you had to indent the closing "}" for the interpreter to be understood.
-
Do we have the same professor? Because mine does that and it gives me all kinds of indigestion. π
-
aaxa24268y@gameshark Haha I don't think so, this is in Denmark. But this guy has 26 years of programming experience, and yet he haven't got rid of this habit yet
-
Maybe he's a visionary, we are not ready to comprehend the pure nature of his style
So, this is how my Android teacher indents his braces. I'm not sure what to think of this.
undefined
have you seen this before?
is this legit?