by bcherny · 7y ago · 0 comments
With enough of this, at what point will all languages start to look identical (Youngme Moon calls this “homogeneous heterogeneity”)?
And how often does a language come along that introduces something truly new, rather than porting an idea from another popular language?
Is there any reason to "leave features to others" if they make sense in your own language? The only issue I can come up with is that some language might die off because it doesn't have any unique features. But if that happens and the momentum is not enough to keep it alive, that doesn't seem like loss to me anyway.
I especially like the pipe operator, even though I think the `|>` is kinda clunky asthetically.
That way you avoid bloating the core language with everyone’s pet features (I’d also love pipe syntax, but am not sure it belongs in JS core).
(OTOH, note that nobody is proposing to add this sort of high-level stuff to wasm. That's because it's designed to be a compilation target, and it's actually good at it.)