Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Y'know, I've written a lot of python these past years, and python is just full of aliases and different ways to do things.

Just an example: "if x is not None:" is syntactic sugar for "if not x is None:".

String formatting: there are f-strings, % replacement, .format, probably more methods.

And that's fine, languages evolve over time, add better ways to do things, and don't deprecate the old way.

It's the hypocrisy of flaunting that motto while the language is so full of the exact opposite that always annoys me.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: