News for hackers. Stuff that matters.
Re:Ana is a Python, PHP, and C inspired dynamically typed sc... by xigoi on Wednesday April 13, 2022 @05:07AM (#31012550)
That's not true. For example, I prefer 2-space indents, but I use 4-space indents in Python because that's the convention.
Re:Ana is a Python, PHP, and C inspired dynamically typed sc... by syockit on Wednesday April 13, 2022 @07:55AM (#31013578)
Paired with a characters-per-line limit, 4-space indents forces you to better modularise your so that it doesn't nest too deep (which usually happens when your code is becoming too complex) so I guess that's the wisdom behind the convention.