Slashdot videos: Now with more Slashdot!
We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).
Sometimes, on a continued line you might want to line the next one up with the open paren on the function call. Sometimes you might want to line it up with the second open paren.
Well, in Python, you don't need to use parens/braces around code blocks anyway.
You can run it through a code prettifier. Try that with Python, and you could end up changing what your code does
But then a code prettifier that knows how to deal with Python code should be smart enough to not do anything to change the code's behaviour. Not to mention that if Python code compiles, then it's already pretty
Anyway, the point is, I am a total Python convert. It was definitely weird at first, but nowadays whenever I code in something that's not Python, it makes me cringe - every missed semicolon, every unmatched brace. Sure, I try to create matched pairs of braces as i go, and keep the formatting nice, but somehow it doesn't always work out as well as I planned. And frankly, I don't like distracting myself by having to worry about those kinds of things. I'd rather just debug the logic, not the syntax.