3 ms·
> indentation-as-syntax -- which I've always hated What would you prefer? C-style syntax? Ruby-style `end end end`?
by bakery2k 8y ago
> indentation-as-syntax -- which I've always hated
What would you prefer? C-style syntax? Ruby-style `end end end`?
- unethical_ban 8y agoLiterally anything that allowed easier linting, less "wait am I doing it right" regarding multi-line statements, etc. If that is a keyword, or brackets, or whatever, I would prefer that. You can't minify or easily lint python. And you can't easily tell if there are mixed indent methods (tabs/spaces) and IDEs struggle with it vs. a simple bracket structure.
- saagarjha 8y agoC-style syntax. I'm not a fan of using something that is inherently invisible to scope my code, and be yelled at if it's not quite right (I'm writing this in Python because I want it to be done quickly; just leave my code style alone and I'll fix it later!)