r/ruby • • Oct 12 '24

Service Objects as Functions: A functional approach to build business flows in Ruby on Rails

https://medium.com/@beard-programmer/service-objects-as-functions-a-functional-approach-to-build-business-flows-in-ruby-on-rails-bf34bf18331d

I wrote this article last year and want to see what you guys think? I have not received much feedback when sharing on LinkedIn.

Original idea was to have a 3-4 post series, but I am not sure is it worth it and if its something people are interested to read about.

16 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/kahns Oct 13 '24

But how so? Why FP in ruby is anti-pattern? I'm hearing this for the first time, can you elaborate on where it comes from - FP in ruby = anti-pattern?