3 ms·
I'm not surprised by this development. I'm familiar with Piotr's code and it's hard to miss the fact that he's writing Ruby as if it was a functional language.
by fishnchips 10y ago
I'm not surprised by this development. I'm familiar with Piotr's code and it's hard to miss the fact that he's writing Ruby as if it was a functional language. Sharing inspiration between languages and paradigms is an awesome thing but if you're going to try hard writing Ruby like if you wrote Haskell you'd probably be much better off writing Haskell in the first place. Back to the original article I think it says more about Piotr's personal path as a developer than Rails and Ruby community at large.
- solnic 10y agoThat's not true, although there's a lot I took from FP. Like avoiding mutable state, and functional composition for data transformations. This doesn't change the fact my code is OO - I use objects, composition, decoration, delegation and many other OO techniques, and in general try to avoid heavy inheritance-based patterns. I can understand how people may think I'm trying to use ruby in an awkward way, but this is really not the case.
- fishnchips 10y agoI find your Ruby code super awkward. Like you're trying to turn it into a language that it is not. At least it is not in my book but then again I'm just some random dude on the internet, a sample of one ;)