DEV Community

Discussion on: Where does Python Shine Over Node?

Collapse
patarapolw profile image
Pacharapol Withayasakpunt • Edited on
  • Not sure if Python can make anything immutable, though -- unlike top-level const
  • Although Python has function scopes, Python's loop famously leaks its scope.
  • List comprehension / generator expressions are indeed nice and maybe performant, but they can be hard to read sometimes. Otherwise, I never like how we write map(), filter().

Otherwise, you are right that Python is generally safer.

Personally, I don't like Python anymore, due to its namespace full of common words by default...