I saw four most common languages with indentation-based, as well as sensitive (how many spaces vs tab).
- Markdown
- Python
- Pug (a template engine)
- YAML
So, why do you dislike them, and how do you deal with it?
I saw four most common languages with indentation-based, as well as sensitive (how many spaces vs tab).
So, why do you dislike them, and how do you deal with it?
For further actions, you may consider blocking this person and/or reporting abuse
Qian Li -
RemoteWLB -
Giacomo -
Hafiz Ammar Saleem -
Top comments (3)
I think getting too angry about spaces vs tabs vs indention vs where to put your brackets is for people who don't spend enough time solving actual problems with code. The syntax is the least of your worries!
IMO, indentation is not information, but redundancy to increase legibility. So I think abusing indentation for anything else but to indent information is plain wrong - which makes the use in Markdown and Pug ok, because here it is used exactly for that.
Also, if you want to force a coding style on developers, use a formatter instead of throwing errors.
I tend to use code formatters to deal with identation.