4 ms·
In the last week I have been working with python, JavaScript and C++. Not sure any of them would win a beauty contest.
by beardyw 2y ago
In the last week I have been working with python, JavaScript and C++. Not sure any of them would win a beauty contest.
- arend321 2y agoI guess it depends on the field you're working in. When manipulating strings, await db calls, sort arrays, JavaScript (TypeScript actually) feels very intuitive and concise. But going more low level I can see it breaking apart.
- nmstoker 2y agoAgreed. Whilst we should aspire to language beauty, it's usually trumped by practicality. Python is massively practical: - the easy on-ramp (often reads like English, indentation is something beginners can innately pick up) - batteries included: with the rise in the internet+ the shift to packages, it's really about having enough places you can find workable solutions, and Python's dominance helps here - integration with other languages has been a key part of Python since the beginning, so you are rarely held back
- pwdisswordfishz 2y agoJavaScript is a better Python than Python. But then, Lua is a better JavaScript than JavaScript.