Hacker News new | ask | show | jobs
by joromero 1271 days ago
Doesn't JavaScript suffer from most of the same issues the author raises about Python.

> Documentation

JavaScript wins here thanks to MDN, but it's not the official documentation.

> Package Management

I agree that Python's package management has its issues, but JS is insane in this regard

> Standard Library

JavaScript's standard library is definitely smaller than Python's

> Slow

This is clearly a win for JS

> Size

When comparing the slim official Python docker image with the equivalent NodeJS image, Python wins in size

> Syntax

This is the most subjective point. I prefer Python's syntax because it's less noisy, but JavaScript's syntax is more consistent.

Regarding type annotations they don't do anything at runtime, but they are extremely useful for IDEs.

1 comments

It does, which surprised me when the author said they preferred JS over Python given the reasons they stated.

There are a lot of reasons to like or not like Python that will become evident after using it in a significant fashion. I was hoping for some of that insight, both to commiserate and celebrate the horrors and joys that I've experienced using the language and its ecosystem for some time. This article was not that.