News for hackers. Stuff that matters.
Re:Interesting features from various modern programming lang... by mhandley on Friday November 10, 2017 @04:35AM (#15668874)
I'm not sure about mixing prefix (for functions), infix (for operators) and postfix (for pipelines) notation in the same languaqe. Does having all three in the same language actually help readability? If you really want to read things forward, you could always adopt forth, where everything is postfix:

  foo do_this_first then_do_this this_must_absolutely_be_last
No need for pipelines when you've got a stack.
Re:Interesting features from various modern programming lang... by tom_mellior on Friday November 10, 2017 @05:06AM (#15668958)
> you could always adopt forth

Yes, but that would be throwing the baby out with the bathwater. Just because of a single operator that I'm not sure is useful in a language I'm otherwise satisfied with.

> where everything is postfix

Except for parsing words, which are commonly used to change exactly this property of the syntax, no?

The fact that postfix is nice in many cases does not imply that postfix is always a good idea.

Re:Interesting features from various modern programming lang... by Sean1708 on Friday November 10, 2017 @09:23AM (#15670013)
> postfix (for pipelines)

Isn't the pipeline operator infix?