DEV Community

Discussion on: Tell us what your top unpopular tech opinion is ūüėą

lukaszahradnik profile image
Luk√°Ň° Zahradn√≠k

Ok, so it's overrated because it forces you to make your code readable and you don't know how to manage dependencies and envs properly.

People would tab their code in the same way anyway, so there is really no time wasted..

kieran815 profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct

Calm down. It's his opinion, not verified fact. Smoke a bowl or something.

leoat12 profile image
Leonardo Teteo

I prefer curly braces, it is easier to know exactly where something starts and ends.

Thread Thread
patarapolw profile image
Pacharapol Withayasakpunt • Edited on

You can from __future__ import braces. Haven't you tried. ūü§£

Indentation-based syntax is just another flavor, but limitation to single line lambda is unacceptable.

Thread Thread
lukaszahradnik profile image
Luk√°Ň° Zahradn√≠k • Edited on

You can actually use braces with custom encoding. Also lambdas should be trivial. You can always give it a name and declare it as a normal function.

You can see exactly where something starts/ends by looking at indentation, which is easier than looking for braces.