loading...

re: Tell us what your top unpopular tech opinion is 😈 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I prefer curly braces, it is easier to know exactly where something starts and ends.

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.

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.

code of conduct - report abuse