112 points adamnemecek 2 hours ago 61 comments
anonymous908213 1 hour ago | parent
wolttam 1 hour ago | parent
Perhaps the post title could use a tweak
adamnemecek 1 hour ago | parent
Blackarea 1 hour ago | parent
pantsforbirds 1 hour ago | parent
rzzzt 56 minutes ago | parent
ahgrta 1 hour ago | parent
Why don't you spend your resources on F# instead of this nonsense?
Tarean 1 hour ago | parent
The 'result types'format is super python specific, like not having a for all binder. I don't think this specific schema will be used for any non-python languages.
0cf8612b2e1e 1 hour ago | parent
rmzs0711 1 hour ago | parent
rjbwork 54 minutes ago | parent
esafak 47 minutes ago | parent
mi_lk 46 minutes ago | parent
lijok 46 minutes ago | parent
What do you attribute Python's success to, in spite of being a disaster of a language and ecosystem?
johnfn 42 minutes ago | parent
dude250711 39 minutes ago | parent
theplumber 36 minutes ago | parent
konart 19 minutes ago | parent
Apparently you can't be a senior dev unless you "just here to deliver"
dijit 4 minutes ago | parent
It can do everything, it's a nightmare to write correctly and is so full of warts that really only a mother could love it.
Go is "elegant" and properly designed, which leads to fundamental unassailable limitations; like its GUI story or writing a backend for other languages (cgo is so slow and -build-mode=c-shared is a hog).
No operator overloading makes it difficult for numerical/scientific work - Python is stronger here.
"just get stuff done" is your crappy dump truck which is welded together out of spare bits and is barely hanging on, this is how I feel about C++.
Go is a lot more elegant and well designed, it requires "smooth roads" (An OS and Runtime) and goes fast... it's more like a Dodge Hellcat..
avaer 40 minutes ago | parent
- Reasonable ergonomics for describing data flows, as long as you never run the code, which you often don't care about if you're a mathematician
- Adoption by people who optimize pumping citations, not reproducible results -- non-working code is a feature when you're trying to BS
aaabbbbb 36 minutes ago | parent
The language is a disaster since it deviated from its original purpose. The community is ruled by insane, mediocre narcissists who drove away all reasonable people.
kingstnap 31 minutes ago | parent
Cross platform interpreter.
NumPy and SciPy really set the stage.
chuckadams 22 minutes ago | parent
rsalus 31 minutes ago | parent
stronglikedan 28 minutes ago | parent
Pxtl 18 minutes ago | parent
But Python peaked like 20 years ago. The later features were too ugly, and it was too slow to fill the obvious gaps in the language.
jacquesm 16 minutes ago | parent
I'll give Python one thing though, it is by far the most elegant way to glue together a large number of otherwise incompatible C libraries.
brcmthrowaway 39 minutes ago | parent
Venvs, activate, deactivate, shitty scripts hacking on $PATH. How did this ever ship? Then there was poetry, `uv`, and maybe something in else in $CURRENT_YEAR.
Try to set it up on a new macOS, go on. Install a package from pip, and there's a bunch of garbage that won't let you do it.
It's horrible. Python packaging engineer is now an FTE, maybe that's what they wanted.
Pxtl 16 minutes ago | parent
quotemstr 38 minutes ago | parent
okanat 14 minutes ago | parent
It lacks decent packaging and by design cannot handle multiple versions of dependencies or perform metadata-only/declarative resolution. To resolve the dependencies of a Python package you need to install it. Many Python packages resolve their dependencies imperatively depending on the current system state. When you need binary dependencies like numpy it gets even worse since libpython doesn't have a stable ABI.
It is one of the most underdesigned languages but it holds a dear place due to being easier to translate from pseudocode to actual implementation. This resulted many academics to pick it up and write advanced math libraries in it.
theplumber 37 minutes ago | parent
benrutter 36 minutes ago | parent
What languages are you thinking of specifically when you mention better thought out ones?
pphysch 17 minutes ago | parent
stackghost 4 minutes ago | parent
C# is strongly/statically typed, compiled, and quite fast (after the vm has started), whereas python is weakly/dynamically typed, interpreted, and generally slow as fuck. Those are two fundamentally different languages, how could it possibly be a coke/pepsi situation?
I think python is fantastic for certain use cases: gluing other tools together (like LAPACK or other ancient libraries), system automation, prototyping, exploitation (I think pretty much all of us were working on stealmybitcoin in python), and exploratory data analysis.
The problems arise when people try to write, say, gigantic GUI applications in python, or really anything with CPU-bound workloads. Part of being an engineer is using the right tool for the right job. Python is the wrong tool for lots of jobs. That shouldn't be a controversial statement.
Quitschquat 35 minutes ago | parent
loeg 35 minutes ago | parent
Toutouxc 34 minutes ago | parent
Pxtl 13 minutes ago | parent
mathisfun123 33 minutes ago | parent
"unhinged" take
risyachka 29 minutes ago | parent
chuckadams 28 minutes ago | parent
jacquesm 17 minutes ago | parent
rspeele 14 minutes ago | parent
Perl 6?
giancarlostoro 4 minutes ago | parent
collabs 2 minutes ago | parent
I can't imagine how anyone can complain about this. The community revolted. The team listened. What else do we want?
YuechenLi 21 minutes ago | parent
westurner 15 minutes ago | parent
svachalek 4 minutes ago | parent
FacelessJim 3 minutes ago | parent
nikolatt 43 minutes ago | parent
- https://docs.basedpyright.com/v1.40.2/type-server/
- https://github.com/microsoft/pylance-release/discussions/718...
Ty (the type checker maintained by astral) however will apparently support the TSP: https://github.com/astral-sh/ruff/discussions/23432
ghm2180 3 minutes ago | parent
pipes 33 minutes ago | parent
ChrisArchitect 32 minutes ago | parent
Pylance + Pyrefly: bring your preferred type checker to Visual Studio Code
https://devblogs.microsoft.com/python/announcing-tsp/
Pyrefly + Pylance Integration in VS Code
tobz1000 30 minutes ago | parent