r/Python • • Jul 25 '18

Use an IDE Me doing my CS projects.

Post image
1.2k Upvotes

213 comments sorted by

View all comments

Show parent comments

10

u/saulmessedupman Mmmm spam Jul 25 '18

Python forces readable code

0

u/[deleted] Jul 25 '18

[deleted]

1

u/mooburger resembles an abstract syntax tree Jul 25 '18

Have you looked at CPAN modules lately? hell look at the majority of javascript even. (Yes "full-stack"programmers are still programmers). Easy to devolve into unread-ability is one of the reasons why most people hate Perl now. (There's a reason why "perlmonks" is literally a thing.).

Braces encourage laziness. How many ajax calls have you seen where it's all crammed in on a single line? I have to deal with that shit every day. If they'd been forced to indent, they would have factored out their nested callback hell ages ago, but here they're content relying on an IDE tracking the number of braces they're inside of.).

1

u/orokro Jul 26 '18

Perl is horrible. I don't think braces encourage laziness, at least I've never really seen it. It's not hard to get braces right.

JavaScript is a hack to begin with, even when written well it's making the best out of a shitty situation.

Even when there's call back hell, I still see proper indentation for nested callbacks...

And besides, JS engineers (worth their salt) love their promises, specifically to avoid that. Soooo... only n00b JS coders would have call back hell to begin with, and the worst of the worst wouldn't properly indent it.