Hacker News new | ask | show | jobs
by erikpukinskis 3157 days ago
> Python's continued popularity surprises me. While I like Python and it is good for data science I don't understand why people use it for websites. The PHP and Ruby ecosystems are far more mature

My guess is a big part of it is Python’s “one right, preferably obvious way to do it” principle.

Rails does this “convention over configuration” thing which really means “anything could come from anywhere”. View not rendering? Literally anything could be going wrong anywhere in your stack. Some convention somewhere is tripping you up.

The “one right way” principle in Python mitigates this chaos. You can at least reason about what’s “pythony” when you’re thinking about it. It helps that the ecosystem is smaller too.

The Ruby community, and JavaScript to an even greater degree, are more focused on individual preferences, which vary greatly. So you have to wonder... is this a “modern”, transpiling, framework-thinking JavaScript developer, or a functional, small is beautiful, package-oriented one? Or something else entirely?

Python wins because they value consistency over the bleeding edge of architecture innovation. This is consequently also why they lose.

1 comments

> Python wins because they value consistency over the bleeding edge of architecture innovation. This is consequently also why they lose.

That is an awesome quote about Python. I might borrow it. Thank you for that.