this post was submitted on 29 Aug 2023
296 points (94.8% liked)
Programming
17444 readers
155 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is why I love Ruby: Nearly as concise as Python but never complains about whitespace or indentation.
I've never understood the complaint about forced indentation. What kind of monster doesn't use indentation for their code anyway?
If anything, it's nice that the language forces it on you so that you don't stumble on code written by one of those monsters.
I write pretty clean code already, and the white space errors just get in the way of getting things done.
Clean code would have indentation though, and you can use whatever space you want as indentation. Bonus points if you use tabs so that others with special needs can configure the tab length on their end.
And I don't think I've encountered an indentation error since the day I learned the language. How often do you encounter that error when writing python scripts? Sounds more like a theoretical problem than something anyone used to python would encounter.