3 ms·
I've been thinking about a two way compiler with a primary focus on producing readable code. If such a compiler targeted Go or Java, you could white your "Go+"
by Buttons840 10y ago
I've been thinking about a two way compiler with a primary focus on producing readable code. If such a compiler targeted Go or Java, you could white your "Go+" code (for lack of a better name) in a higher level language with more features, and have it compiled to readable Go code. I don't know to what extent this is possible, but if it was good enough you could be a Go developer while rarely writing actual Go code.
- zzzcpan 10y agoIt is very much possible, there are already DSLs that generate Go code. I'm even doing that myself.
- solidsnack9000 10y agoCan you link some examples?