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

1

u/13steinj Jul 25 '18

Tell that to this guy

1

u/saulmessedupman Mmmm spam Jul 25 '18

I have a friend that isn't 100% blind but he's close. he's a developer and I've never heard him complain about indentation. In fact, I've never heard him complain ever; a true inspiration.

2

u/13steinj Jul 25 '18

I didn't know people weren't allowed to suggest braces would be a nice thing to have without people assuming it's a complaint.

1

u/saulmessedupman Mmmm spam Jul 25 '18

Python was designed to use (newline followed by) indentation instead of braces, parenthesis, semicolons, etc. For those that know what happens from code to machine language you know both aren't necessary. I'm sure it's no stretch to say having more than one option is not feasible either. And if you try to tell me other languages use braces and indentation you don't understand what's going on. Not to mention Python has the PEP8 style guide.

2

u/13steinj Jul 26 '18

Adding another option, specifically braces, is simple. There already exists a transpiler from Bython, literally Python with braces, to Python. Now it's just a matter of modifying the actual C parser instead of having it at a higher level.

The Python style guide is irrelevant to the writability of code by people with visual disabilities.