(May 29, 2014 at 9:50 am)pocaracas Wrote: You "guyses" JAVA indentation is wrong... That code, although it compiles and does its job, would fail on my class... if I ever teach computer programming to anyone.
Indentation is a quick and easy way to spot bad programmers... not the only one, though.
That's why they came up with PYTHON - forced indentation, replacing all curly brackets:
Code:def helloWorld():
print "Hello World!"
You would fail code that compiles and does its job!
Marking down I understand, because it is not pretty, but failing something that works is just a bit wrong.
You can fix ignorance, you can't fix stupid.
Tinkety Tonk and down with the Nazis.