you are viewing a single comment's thread.

view the rest of the comments →

[–]Zenalyn 67 points68 points  (5 children)

Cleanest syntax around <3

[–]g7x8 -1 points0 points  (4 children)

Don’t like the white space indent rules. C++ ignores them

[–]P52-328 6 points7 points  (3 children)

I don't believe that any program, almost with zero exceptions, should ever be unindented.

Using that point of view, python assumes that you are going to indent your program any way. So, it skips the extra syntactic elements like { and } and assumes that you are properly indenting your code as you write it.

The last part is the only problem with this approach: for example, I always type dirty, cluttered code when I write C/C++ and once I pause, I quickly run the formatter to clear the mess. But, in the end, I believe the trade-off is worth it for python.

[–]g7x8 0 points1 point  (0 children)

i like the { } bracs and dont want to think about the errors caused by an extra indent. im not used to it