| ▲ | em-bee 4 hours ago | |||||||
python has optional types too now. if you could get the LLM to produce typed python would it be any worse than typescript? | ||||||||
| ▲ | jasim 4 hours ago | parent | next [-] | |||||||
I hadn't considered that, you are right. Though I would still prefer TS because the language is all about types; the entire ecosystem is well-typed and the type system is quite powerful (I do enjoy an occasional Omit and Pick). But it is a personal choice; as long as LLMs can generate well-typed Python, then for people who like the language it makes sense. However from the article, I got the sense that they went completely dynamic. | ||||||||
| ▲ | rpbiwer2 4 hours ago | parent | prev [-] | |||||||
Yes, because the code you (or the LLM) writes is only part of the equation; if you use third party libraries then it becomes an ecosystem problem. I'm not currently using much Python but my understanding is that the community has not yet aligned on typing nearly as well as the TS community has. | ||||||||
| ||||||||