Re:Syntax is the last thing you should design
by inimino on Monday March 06, 2017 @01:09AM
(#13800981)
You can't design a language with Haskell's semantics and Ruby's syntax. So if you want to use Haskell, you just have to get over your dislike of the syntax. It has a beauty of its own, but you'll never see it until you get familiar with it.
Re:Syntax is the last thing you should design
by vidarh on Monday March 06, 2017 @03:23AM
(#13801443)
> You can't design a language with Haskell's semantics and Ruby's syntax.
Not identical of course, no, but same style would not be a problem. There's nothing in Haskells grammar that can't easily be adapted to a less terse style. It wouldn't solve all issus I have with Haskell by far, but it would go a long way to make me consider it readable.
> but you'll never see it until you get familiar with it.
I am familiar with it. It is how I came to detest the syntax.
One of my old pet peeves that I wish I had time to pursue was to experiment with a language that tried to separate presentation from the semantic model - I know there has been other attempts. I wish that got more attention. It's a tremendously hard thing to get right without ending up hampering communication more than you enable it, but the need for high fidelity interchange of programs is one of the biggest barriers to more rapidly iterating on improvements to the presentation of code.