3 ms·
I remember some of the earlier talks from Jonathan Blow about how he was designing Jai (the programming language) to alleviate some of these problems and suppor
by laserbeam 3y ago
I remember some of the earlier talks from Jonathan Blow about how he was designing Jai (the programming language) to alleviate some of these problems and support explorative programmings.
One of the ideas was to write code such that if you copy paste things into a different context, the syntax changes are minimal. It should be trivial to copy paste a block of code to turn it into a function. It should be trivial to turn a lambda into a full blown function. Type signatures should look the same whether they are function arguments or variable definitions etc.
Not advocating for Jai per se... But most languages are pretty bad at supporting this style, some are better.
- ReleaseCandidat 3y ago> But most languages are pretty bad at supporting this style, some are better. The first and most important step is having a language without statements and only expressions. But, as Jai needs a `return` in functions, it already failed the trivial test. https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md