3 ms·
As a JS developer (coming from a C background) I just couldn’t stomach python. For whatever reason, it always rubbed me off the wrong way. Idk if it’s the inden
by KarimDaghari 6y ago
As a JS developer (coming from a C background) I just couldn’t stomach python. For whatever reason, it always rubbed me off the wrong way. Idk if it’s the indentation (I like the ;), the toy-ishness of the language (I don’t feel like I’m actually programming)... meh, but I’m kinda interested in ML and improving my A&DS skills and Python sounds like a well designed language.
Fun fact: JS is a pass by value language... except when it comes to arrays and objects, it then becomes pass by ref. Go figure.
- emerged 6y agoMy 25+ year career has been mostly C/C++ and over the past few years started using Python. It constantly blows my mind how much more productive I am with Python vs C/C++ or Javascript. Ideas just seem to flow directly from my mind right into working Python code. It's great for prototyping and for anything which doesn't require bleeding edge performance.
- anakaine 6y agoEven when you require bleeding edge performance, you generally can. Like other languages, knowing where to find tour efficiencies, and the right tools for the job is rather important.
- acidbaseextract 6y ago> the toy-ishness of the language I think that this is a feature, not a bug. Part of my maturation from a junior to a senior engineer was learning to trust that simple implementations are ok. I remember often not trusting that the simple thing would work robustly (passing around a list) and reaching for something way more heavy (perhaps a wrapper around sqlite persistence). I now recognize that the simple implementation is better and almost always more robust than something fancy, and I definitely attribute that to internalizing the zen of python over time. > JS is a pass by value language... except when it comes to arrays and objects, it then becomes pass by ref. Go figure. It's all pass by value. For objects and arrays, the value passed is the reference.