3 ms·
That was so cool. Kind of an eye-opener. Bookmarked, thank you!
by bruh2 3y ago
That was so cool. Kind of an eye-opener. Bookmarked, thank you!
- adityaathalye 3y agoThank you for the kind remark. It so happened that I picked up shell scripting on the job at a workplace full of FP nerds. Pipelined code felt eerily familiar. Then at some point I read that Archmage McIlroy, a mathematician by training, invented the pipe. That was a lightbulb moment; a big reason why Functional style works as well as it does. Pipes are a mathematical idea. That whole series of posts is basically a glorified bookmark for yours truly. Tactics and tricks accumulated over the years. I refer back to bits and bobs from time to time. Writing them was a lot of, ah, fn.