logoalt Hacker News

mikece • today at 9:47 PM • 1 reply • view on HN

Maybe the answer isn't to create a new language for AI, but add to Python the things that Claude tells me makes other languages better for some things, like type safety and a try compilation step to find errors way ahead of runtime.

(Or did I just describe something that has been done eleven times already?)


Replies

freeone3000 • today at 9:59 PM

`ty` and `mypy` are efforts to add this to python. It's fairly inconsistent because of the vast library of python code that doesn't use it, much like early typescript. Unlike typescript, however, there's not the huge push right now to adopt because python coders are happy where they are.