Hacker News new | ask | show | jobs
by sunnybeetroot 740 days ago
Im surprised to see Python in that list. Swift being type safe and Python not puts Swift miles ahead.
3 comments

Python is the new Perl. Heck its the lingua franca of ML / AI and has been for data science for a while. Dynamic types dont mean you cannot compete with a typed language. Python has type hints which gives the benefit people are usually after, catching bugs / issues ahead of time.

Theres a library for just about everything in Python. I dont know that I can say that about Swift.

One of those awkward things where I don't like it, and wouldn't go back to nulls that blow up. But as far as being the right tool/accessible it ended up winning use cases where I expected scripting and Playgrounds to have mindshare
Playgrounds is so painfully slow that you can't really "play" with it at all.
Mypy is non-nullable, as far as I know. Unless you do Type | None. (Or was it TS?)
Python has Mypy (yes, it’s good enough, don’t bother arguing with me that’s it’s not “real”) and ecosystem is leagues above anything Swift can offer.