News for hackers. Stuff that matters.
Re:More information on Google's new web language, Dash by gnaritas on Saturday September 10, 2011 @02:31AM (#2981013)
You presume syntax is like fashionable clothes all decorating the same basic thing underneath; that's not at all true. Syntax is a reflection of the underlying differences in semantics of these languages, they're not just decoration.

You can write procedural C style in any language, but you're not really using the language if you aren't using its idioms which will inevitably reveal the reasoning of its syntactical choices. Lisp is a perfect example, as is Smalltalk.

Re:More information on Google's new web language, Dash by cousin_it on Saturday September 10, 2011 @04:33AM (#2981167)
I explicitly talked about minor syntactic differences between curly-brace languages, not about Lisp or Smaltalk. Switching from one curly-brace language to another generally doesn't involve any deep paradigm shift, it's essentially just memorizing a bunch of irrelevant syntax differences. If I have some procedural C style functionality implemented the same way in languages X and Y (happens pretty often), having the code 95% identical is missing out on the nice things that I could have if the code were 100% identical.

It's true that the Java runtime and the C# runtime provide different services. But the same is true for databases. Oracle's feature set is different from PostgreSQL's. Yet the database community got its act together enough to standardize the syntax for basic features at least, so you don't have to relearn inner joins when you switch, and you can mention "SQL" in job openings and be understood. (I wonder if the NoSQL community ever gets smart enough to do the same?)

Re:More information on Google's new web language, Dash by mibbit on Saturday September 10, 2011 @03:03AM (#2981055)
BS. Syntax is exactly like fashionable clothes. It's irrelevant to how warm your clothes are.

The number of developer years wasted coming up with yet another programming language or syntax is staggering.

It's a solved problem. Pick an existing syntax and use it.

You don't see people endlessly coming up with new syntax for math do you. We've got one, it works well, so we use it.

Re:More information on Google's new web language, Dash by gnaritas on Saturday September 10, 2011 @06:28PM (#2982662)
> It's a solved problem.

No it isn't.

> You don't see people endlessly coming up with new syntax for math do you.

Actually, yes, yes you do.

Re:More information on Google's new web language, Dash by ajanuary on Saturday September 10, 2011 @04:12AM (#2981135)
There are many mathematical notations for the same things, usually depending on the domain or different focus. Just like with programming languages.
Re:More information on Google's new web language, Dash by drothlis on Saturday September 10, 2011 @06:06AM (#2981282)
Choice of syntax affects how easy it will be to create tools for the language (IDE syntax highlighting, code browsing/navigation, automated refactoring, etc). There is still plenty of room (and need!) for improvement, for innovation. At the other extreme, imagine a world where every language used C++'s syntax.
Re:More information on Google's new web language, Dash by mibbit on Saturday September 10, 2011 @12:10PM (#2981786)
Imagine a world where instead of writing books, authors spent forever needlessly inventing new languages to write them in.
Re:More information on Google's new web language, Dash by gnaritas on Saturday September 10, 2011 @06:29PM (#2982667)
They already do both; have you not ever read Lord of the Rings?
Re:More information on Google's new web language, Dash by asynchrony on Saturday September 10, 2011 @04:43AM (#2981182)
There are more differences between steel-toed boots, sandals, and stiletto heels than just how warm they are. In modern times it is also rather rare to encounter individuals wearing togas and/or powdered wigs. I'm not convinced that fashion is a complete explanation for these phenomena.