News for hackers. Stuff that matters.
Re:Python 3.11.0 final is now available by groestl on Tuesday October 25, 2022 @07:10AM (#33328937)
Yeah, been on multiple, and for me it felt like a nightmare (maybe I'm just not smart enough) I'll use python for small tools, depending on the planned deployment. But as a general rule, everything north of 2 months developer time (being it just me, or multiple devs) gets a language with static types, at least for the non-glue main components. Glad that JS got TS types for that. My approach has served me well so far.
Re:Python 3.11.0 final is now available by groestl on Tuesday October 25, 2022 @07:11AM (#33328949)
Never tried mypy though, I must say. Maybe that saves the day.
Re:Python 3.11.0 final is now available by guilherme-puida on Tuesday October 25, 2022 @08:14AM (#33329456)
I find mypy to be underwhelming in comparison to Typescript, but maybe it's just the ecosystem. Most JS libraries nowadays are either written in Typescript or have type definitions, but some big Python libraries don't (or the types are not complete).
Re:Python 3.11.0 final is now available by cinntaile on Tuesday October 25, 2022 @08:42AM (#33329708)
I recently started using mypy and my experience so far is that it's a bit of a pain to get it to play nicely with numpy.