[Gambas-user] Locale message (offtopic)
g4mba5 at gmail.com
Wed Jul 8 13:51:54 CEST 2020
Le 08/07/2020 à 13:31, martin p cristia a écrit :
> It is a fact that very inteligent people have a bad calligraphy or have
> messed up desks :)
> If you translate that into coding, you will find a lot of examples in
> all languages. I allways do research before
> writing new code, to avoid inventing the wheel, and usually the better
> findings are not idented/commented at all.
> So forcing identation would be an error, but we all must thank then
> auto-identation feature that makes everyone here
> better programmers.
The indentation question is not theoretical, it's practical.
How do you think anyone can read and debug a one hundred thousand lines
of code project six months later without any indentation? And I don't
tell if you didn't write that code, or, worse, if your language is LISP!
Of course, if you just write small projects, this is not important.
And this is not just indentation. This is naming convention too ; and
coherency in that naming convention.
All that are personal ; it should be enforced only for people working on
the same project.
It depends on the syntax of the language too. You won't have the same
indentation and naming conventions in C than in Ruby.
On the other hand I don't think that putting the indentation inside the
language syntax like in Python is a good idea.
My two cents.
More information about the User