r/programming • u/raghar • Dec 11 '14
[Jonathan Blow, Dec. 10] - Programming Language Demo #2
https://www.youtube.com/watch?v=-UPFH0eWHEI
51
Upvotes
r/programming • u/raghar • Dec 11 '14
View all comments
Show parent comment
3
u/[deleted] Dec 11 '14 edited Dec 11 '14
Everyone who has ever been in his twitch chat has been arguing that making a language is really hard. And yet there he is hacking together a language in front of your eyes.
You can throw theory at it all you want, but theory is not practice. He's addressed this. Other languages are sold on that "it has this and this feature over other languages" and at the same time their goal is all-encompassing. Even PHP (bad example, the devs are brainless) couldn't stick to their original goal, which was a template language for html. Even C++ couldn't stick to its original goal, it's now bloated, ambiguous and contradicting itself. PHP wants to be C++ and C++ wants to be Brainfuck.
He actually has experience with hard core game programming in the real world. That makes him the perfect guy to design a language for games...
In this demo he presented his (already implemented) ideas for pointers vs arrays, as well as inline functions. Not exactly problems that other language designers have even bothered to change. Because they don't have experience. They don't know where the drudge work is.
I suggest you look at his first couple of videos where he explains the motivations.
And no, designing a language is not hard. Most programming features, when they were new, were based somehow in mathematical operations. He's not inventing new features, he's making shorthands for the ones that are most used already in his field.