3 ms·
I feel Python is more concise. Looking at a couple of Rosetta Code examples, they are shorter for Python as well. Also the post referenced by the article lists
by fulafel 2mo ago
I feel Python is more concise. Looking at a couple of Rosetta Code examples, they are shorter for Python as well.
Also the post referenced by the article lists Python taking noticeably less tokens than Javascript.
- frollogaston 2mo agoIt can be if the task lends itself well to list comprehension. Data analysis / script types of things will likely be in Py rather than JS either way. But the stuff like backend code that overlaps, JS is less verbose thanks to how it deals with lambdas and objects.