3 ms·
Anonymous functions and object destructuring were strong influences in me moving much more towards typescript than python after many many years of python being
by andrewstuart 3y ago
Anonymous functions and object destructuring were strong influences in me moving much more towards typescript than python after many many years of python being my primary language.
Anonymous functions completely change the experience and style of programming and python is diminished for not having them.
Pythonistas I have found dismiss the importance of anonymous functions and object destructuring. I assume this is because they don’t have the experience of these things therefore do not know their value. Pythonistas point to this or that python feature saying “see, python can do javascript style destructuring” or they point to lambda functions. Again this can only mean they don’t have experience if the real thing.
There also seems to be a bit of “not invented here syndrome”, after all how could javascript (yuck!) do anything better than python?
Javascript anonymous functions and object destructuring are two of the most useful tools there are in programming and python misses out.