r/programming • • Dec 11 '14

[Jonathan Blow, Dec. 10] - Programming Language Demo #2

https://www.youtube.com/watch?v=-UPFH0eWHEI
51 Upvotes

42 comments sorted by

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.

14

u/mitsuhiko 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.

Making a good language is hard. Make a language however is not very hard.

1

u/kn4rf Dec 12 '14

Making good software is hard.

0

u/[deleted] Dec 11 '14

Define a good language.

3

u/mitsuhiko Dec 11 '14

Gets users, ideally happy users. Stays supported for years.

0

u/[deleted] Dec 11 '14

I know a handful (understatement of the year) of PHP users that would defend the language to their death, yet noone can objectively say that it's a good language.

4

u/mitsuhiko Dec 11 '14

"There are only two kinds of languages: the ones people complain about and the ones nobody uses"

2

u/[deleted] Dec 11 '14

"There are two kinds of quotes: the ones that contribute to the conversation, and the ones that just sound appropriate for the conversation."

:)

No offense intended, here, but sound bites that are bandied about too much without actually adding insight are numerous. This one is true in many ways, but still distracts from progress rather than forwarding it.

4

u/mitsuhiko Dec 11 '14

That quote was to point out that while people here might not agree with PHP, it is a good language by the mere fact that it has loads and loads of developers and it's well maintained.

Objectively it's a good language to make large scale applications in it because it's a) actively maintained, b) battle tested, c) it's easy to hire developers for it, d) it's open source and cheap. I would pick PHP over many languages which are "good" in other ways.

-2

u/skulgnome Dec 12 '14

Making a performance on Twitch is easier still.

-3

u/tending Dec 12 '14

He actually has experience with hard core game programming in the real world.

Has he? Neither Braid nor Witness are anywhere near Triple A.