Re:The Unison language (A new approach to Distributed progra...
by zawodnaya on Thursday November 17, 2022 @02:54PM
(#33644671)
What's an example of a pretty language?
[ Parent
| on HN ]
Re:The Unison language (A new approach to Distributed progra...
by IshKebab on Thursday November 17, 2022 @03:39PM
(#33645318)
I really hate the language but I have to say Python does at least look quite nice.
Re:The Unison language (A new approach to Distributed progra...
by tasuki on Thursday November 17, 2022 @07:29PM
(#33648088)
Yes it does look nice, but I wonder how you'd do eg pattern matching on ADTs...
Re:The Unison language (A new approach to Distributed progra...
by jjtheblunt on Thursday November 17, 2022 @03:30PM
(#33645201)
Scheme! :)
Re:The Unison language (A new approach to Distributed progra...
by zawodnaya on Thursday November 17, 2022 @03:36PM
(#33645289)
Good news: the surface syntax of Unison is totally arbitrary and can in practice be swapped out. There's currently only one (Haskell-like) syntax, but in future I imagine there will be others. So you can imagine on https://share.unison-lang.org a little dropdown that lets you select what syntax you want to see the code in.
Re:The Unison language (A new approach to Distributed progra...
by optymizer on Thursday November 17, 2022 @03:52PM
(#33645496)
I don't think this language is ugly and it is indeed hard to say which language is objectively beautiful, but I personally have always disliked syntax that uses the ' operator for some reason. It's small - it looks like a piece of dirt on the screen, which makes it hard to read. I imagine the same arguments could apply to the '.' or ',' operators, though ' tends to appear around whitespace, while ./, around characters, so there's at least some contextual information around them.
Re:The Unison language (A new approach to Distributed progra...
by christophilus on Thursday November 17, 2022 @04:26PM
(#33645984)
Perl4