5 ms·
It's not first to mass adoption either lol
by vmchale 7y ago
It's not first to mass adoption either lol
- oblio 7y agoWell, I'd say that "mass adoption" means it's in one of: Javascript, Java, Python, C, C++, C#, PHP, Swift†, Ruby†, SQL†, Go†, VBA†, TypeScript†, Kotlin† and that's about it. The languages with a dagger (†) are either niche languages or tied to a very specific (albeit very popular) platform. Which one of them has the pipeline operator, especially in widespread use in libraries in its ecosystem? Personally, I don't know of any. I'm not saying that what this blog post presents has achieved mass adoption, I'm just arguing that the pipeline operator for standard programming languages hasn't reached mass adoption, anywhere. I don't count Unix pipes as being the same thing as the pipeline operator, in this context ;-)
- dnautics 7y agoProbably the only mainstream language with mass pipeline usage is elixir. (And before you call it niche, pagerduty uses elixir, so your stack probably depends on it right now). Almost every significant code file of mine uses the pipe operator, and it's absolutely invaluable for debugging.
- neurotrace 7y agoThat's not really a good argument against calling it niche. A lot of numerical computing done from Python is actually run through Fortran and some of your OS is almost certainly written in raw assembly language. That doesn't mean that they aren't niche.
- deleted 7y ago[deleted]