|
|
|
|
|
by vaughan
1034 days ago
|
|
I thought about building a transpiler from TypeScript to other languages as a learning tool. It would also scaffold out the project structure for each language. The idea would be not to allow all code, but focus on high-level intent as simply as possible using primarily builtin language and platform primitives. Could even use the name of a function and some comments to express the intent, which then gets transpiled in the other language, without even looking at the implementation in TypeScript. Could probably lean on AI a lot. I’d love to have “one obvious way” to do certain things in each language. This Pythonic rule is violated so often in every language. A lot of programming is the same thing but we all do it slightly differently. Just take a look at some stack overflow answers for really simple stuff. |
|