Syntactic Sugar

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Syntactic Sugar

Onorio Catenacci
Craig said:

"> It's also a good opportunity to make Erlang more modern with a sexy
> syntactic sugar...

"No.
That's what other disaster zones are for.

"Functions are nearly always better than new syntax.
Almost.

"This particular case doesn't even rate discussion.

"How much once-cool-but-now-unused syntax is there in C++, Haskell, Ruby, etc?"

+1000 Craig!  When it comes to adding syntactic sugar to a language the opposite of Postel's Law should apply.  Be conservative in what you accept!   Every "great idea" will live on in the language from that point forward.  Be very wary of adding stuff to the language which can be solved in other less-permanent ways.


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Syntactic Sugar

Sam Overdorf
If it ain't broke don't fix it...

Sam




On Wed, Mar 27, 2019 at 5:55 AM Onorio Catenacci <[hidden email]> wrote:

>
> Craig said:
>
> "> It's also a good opportunity to make Erlang more modern with a sexy
> > syntactic sugar...
>
> "No.
> That's what other disaster zones are for.
>
> "Functions are nearly always better than new syntax.
> Almost.
>
> "This particular case doesn't even rate discussion.
>
> "How much once-cool-but-now-unused syntax is there in C++, Haskell, Ruby, etc?"
>
> +1000 Craig!  When it comes to adding syntactic sugar to a language the opposite of Postel's Law should apply.  Be conservative in what you accept!   Every "great idea" will live on in the language from that point forward.  Be very wary of adding stuff to the language which can be solved in other less-permanent ways.
>
> --
> Onorio Catenacci
> http://onor.io
> https://twitter.com/OldDutchCap
>
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions