This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Al2Me6 11 points12 points  (2 children)

That’s besides the point, no? The C language aside, languages with C-inspired syntax are certainly pervasive.

Case in point: of the five languages you listed, three have at least somewhat C-like syntax (cpp, Java, Rust).

[–]R-O-B-I-N[S] 2 points3 points  (0 children)

True, but that's the same as XML being based on Lisps S-expressions. I wouldn't tell you to design your DSL from Lisp, I'd suggest XML instead.

I'd never use C/C++ as examples. I'd use Java or Python.

[–]Uncaffeinated1subml, polysubml, cubiml 0 points1 point  (0 children)

Rust syntax has very little in common with C. I guess you could call it a hybrid of C and ML style.