by socmoth · 17y ago · 0 comments
ada, for me, was like a teacher who taught the entire class at the speed of the slowest student. it tries to prevent you from doing anything marginally likely to cause a bug, at the expense of speed or creativity. it assumes the worst in a programmer. good programmers are forced to program simply so that future generations of bad programmers can read their code.
(i'm very glad to never touch it again)
Is this necessarily a bad thing? I generally try follow the "code such that nearly anyone can understand" mantra. Helps keep things simple and concise.
In a way, it stiffles creativity just for a small gain of formating/readibility.
Plus, with modern IDEs it is very simple to format the code the way you want. In eclipse you have RightClick -> Source -> Format then viola, your code looks the way you want.
Having worked with both python and java, I have enountered more hard to read code in python than in java, (maybe this is due to the superior tools/IDEs in java).
As for ada, i thought it was a great language to start learning programming. Exceptions are verbose, and it is an easy language to pick up, as it looks a lot like Pascal. I learned it my freshman year, but I never used it in a production capacity and I wouldn't consider doing anything serious with it right now.
Indentation is required when writing in any language as a matter of courtesy. Python just doesn't ask you to delimit your blocks of code a second time by unnecessarily requiring brackets.