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...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
const
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...