Re:Escaping from Anaconda's Stranglehold on macOS
by bspammer on Sunday September 01, 2024 @07:27PM
(#41421210)
It’s not just the packaging situation that makes Python a bad first language. Whenever I write in Python, I find it completely impossible to stop myself from constantly making basic, beginner-level programming mistakes. Every time I miss having a compiler and strict typing that will yell at me when I’ve done something stupid.
[ Parent
| on HN ]
Re:Escaping from Anaconda's Stranglehold on macOS
by eru on Sunday September 01, 2024 @09:11PM
(#41421704)
Modern linters and type-checkers for Python come pretty close to something usable for these situations. But it's certainly something they tacked on to the language afterwards.
I like the recent addition of (proper) pattern matching to Python.
Re:Escaping from Anaconda's Stranglehold on macOS
by bmitc on Sunday September 01, 2024 @10:27PM
(#41422136)
Yea, the only way to get close to programming efficiently in Python is to turn MyPy and Pylint up to 11.
Re:Escaping from Anaconda's Stranglehold on macOS
by airstrike on Sunday September 01, 2024 @09:44PM
(#41421884)
I switched to Rust full time about 6 months ago and recently had to write a somewhat long Python script for something else... it felt awfully quiet without the compiler yelling at me, but that also meant I was making the same silly mistakes over and over and over and over