Live data from Hacker News

Reasons Python Sucks (2018)

hackerfactor.com

1–10 of 74 posts

Re: Reasons Python Sucks (2018)

#6
Ayup. If you have these same points of view that the author does: please don't use Python. There is no shortage of languages out there that would be a better match for you--please use one of those.

However, the packaging and installation thing is very valid--Python really sucks at that and needs to fix it.

Re: Reasons Python Sucks (2018)

#7
Many of these things are annoying, but I wanna check something....

Lists in python are called lists because they're linked lists right? They are not called arrays because they are a different data structure.

Edit: Well TIL! Thanks everyone.

Re: Reasons Python Sucks (2018)

#8
"Reason 7: Pass By Object Reference": isn't this the case of almost every GC'd language? Java, JS, PHP, Swift, and C# all do so, although C# doesn't if your type is a "struct" not a class. Go is the only popular exception I can think of.

Re: Reasons Python Sucks (2018)

#9
post #7

Many of these things are annoying, but I wanna check something.... Lists in python are called lists because they're linked lists right? They are not called arrays because they are a different data structure. Edit: Well TIL! Thanks everyone.

Nope.

Re: Reasons Python Sucks (2018)

#10
post #7

Many of these things are annoying, but I wanna check something.... Lists in python are called lists because they're linked lists right? They are not called arrays because they are a different data structure. Edit: Well TIL! Thanks everyone.

No, lists are implemented in CPython as an regular, contiguous array of PyObject. There is an array library (https://docs.python.org/3/library/array.html) for more efficient storage, comparable to JS's Uint8Array and friends.
Post reply on HN