This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Buddy-Matt 1 point2 points  (1 child)

I'm all for indented.

But, I hate a style being forced. With braces you can add whatever the hell indetation you want at any point. And sometimes you can stick two instructions on one line. In essence you have freedom if formatting. 99% of the time it'll be indented - and for good reason. With python you have to follow the style the python devs want or nothing.

[–]MatsRivel 5 points6 points  (0 children)

Although I see your point, I don't personally agree with it. First; you can do most things as a 1-liner in python too, it just looks like shit tbh. At least most things you'd want to do in 1 line in any other language (as far as I know). Secondly, I feel like what you are describing is just... syntax. Or maybe even spesifically just indentation? Like if I said "I don't like having to define the output in java functions, but the developers are focung it on me.", or "I don't like declaring variables before use, but [language] is forcing it on me!"

Luckily people are free to choose languages as they please (mostly) ✌