Follow

At risk of setting off one of those unresolved online debates, here's a reddit thread explaining why using tabs instead of spaces is important for accessibility.

reddit.com/r/javascript/commen

I doubt my code projects comply properly btw. I either use a mix or tabs and spaces, or in the case of Python code conformed to PEP-8.

*makes mental note to be more consistent*

@bob I switched to #tabs when I realized I prefer wider indentation, and all my old code at 4 spaces annoyed me. Past me was a jerk.

@bob I wonder how this interacts with the visual indent rules in Python? *Normally* indent levels are 4 spaces per PEP-8, but not if you're lining up with the opening parenthesis of a function signature

Maybe we need to abandon that rule?

Sign in to participate in the conversation
Florence

This server runs Florence, a fork of the Mastodon project.