Live data from Hacker News

Python's pre-declared constants are kinda weird

sebsite.pw

1–10 of 234 posts

Re: Python's pre-declared constants are kinda weird

#4
I used to like Python in the 2010s when it felt like a breath of fresh air relative to PHP and Perl.

Now it feels like a weird PHP itself that is slow, brittle, and dangerous to write code at scale in.

The loose typing, potluck standard library, and horrible package manager (insofar as the community does not know how to package code) all feel so dated.

Re: Python's pre-declared constants are kinda weird

#5
post #4

I used to like Python in the 2010s when it felt like a breath of fresh air relative to PHP and Perl. Now it feels like a weird PHP itself that is slow, brittle, and dangerous to write code at scale in. The loose typing, potluck standard library, and horrible package manager (insofar as the community does not know how to package code) all feel so dated.

It is 30+ years old with all the baggage you would expect. It’s very much a product of its time.

Re: Python's pre-declared constants are kinda weird

#6
post #4

I used to like Python in the 2010s when it felt like a breath of fresh air relative to PHP and Perl. Now it feels like a weird PHP itself that is slow, brittle, and dangerous to write code at scale in. The loose typing, potluck standard library, and horrible package manager (insofar as the community does not know how to package code) all feel so dated.

[deleted]

Re: Python's pre-declared constants are kinda weird

#8
post #5
post #4

I used to like Python in the 2010s when it felt like a breath of fresh air relative to PHP and Perl. Now it feels like a weird PHP itself that is slow, brittle, and dangerous to write code at scale in. The loose typing, potluck standard library, and horrible package manager (insofar as the community does not know how to package code) all feel so dated.

It is 30+ years old with all the baggage you would expect. It’s very much a product of its time.

It’s not like that cannot be changed. Look at PHP, which managed to evolve brilliantly over the last decade and gets tons of things right now.

Re: Python's pre-declared constants are kinda weird

#9
post #4

I used to like Python in the 2010s when it felt like a breath of fresh air relative to PHP and Perl. Now it feels like a weird PHP itself that is slow, brittle, and dangerous to write code at scale in. The loose typing, potluck standard library, and horrible package manager (insofar as the community does not know how to package code) all feel so dated.

Python certainly has some baggage, especially the typing system (which is still not finished, if you're looking at static typing and so is implemented differently by type checkers) and pip's safety, or lack thereof. But comparing it to PHP or Perl is rhetoric leading you one step too far.

Re: Python's pre-declared constants are kinda weird

#10
post #4

I used to like Python in the 2010s when it felt like a breath of fresh air relative to PHP and Perl. Now it feels like a weird PHP itself that is slow, brittle, and dangerous to write code at scale in. The loose typing, potluck standard library, and horrible package manager (insofar as the community does not know how to package code) all feel so dated.

I don't understand how people talk about how Python is "easy to learn for beginners" or "easy to understand." To me it's so hard to remember and follow all the weirdness. Racket / Scheme / I dare say even Haskell would just be so much simpler for learners.

I'm with Conal Elliot when he said on Type Theory for All that it is sooo much harder to understand a program in Python.

Post reply on HN