News for hackers. Stuff that matters.
Re:The Flix Programming Language by owenbrown on Sunday November 26, 2023 @11:24AM (#38422777)
It boggles my mind that any developer of a new language wouldn’t use Python’s significant use of white space.

You’re able to fit more code on a screen, and it’s less visual noise. It’s like Pareto better. I really don’t get why others don’t copy it.

Re:The Flix Programming Language by lamontcg on Sunday November 26, 2023 @02:36PM (#38424271)
Playing around with ML and being forced to use python, I find having no block termination character and selecting which context a line of code is in by how much you un-indent it, is the worst.

Give me braces and rip a formatter across the whole codebase and be done with it.

Furthermore, I think that the trend of compilers/interpreters caring about whitespace formatting rules should really end. You can't ever force everyone in the world to write aesthetically pleasing code in your language and someone out there will always be able to write a complete trainwreck, and everyone disagrees on what is or is not aesthetically pleasing. Leave the problem up to configurable code linters where it belongs. Let people make "mistakes" (in your eyes) if they want to.