4 ms·
Interesting that he chose a C-like syntax after going the complete opposite direction with Ruby.
by vlucas 12y ago
Interesting that he chose a C-like syntax after going the complete opposite direction with Ruby.
- coldtea 12y agoHuh? Ruby also has a C-like (algol derived) syntax. The replacement of "}" with "end" etc, is a trivial replacement, not a different type of syntax. Lisp, Prolog, etc, would be a non-C syntax.
- stormbrew 12y agoObviously you can flatten this inheritance tree any way you like, but while all C-likes are obviously algol-likes I do think it's useful to consider C-like a distinct branch within that. That said I think you probably want more than just curly braces to define C-like even then.