News for hackers. Stuff that matters.
Re:OOP Is Dead, Long Live OOP by ilovecaching on Thursday October 18, 2018 @04:53PM (#18252011)
Actually I work primarily on web services. We benefit from Haskell in that HKTs allow us to model our service completely in the type system. Our Rest and GraphQL API are completely modeled in a type level DSL. Once we've ingested data, which can then be validated automatically using types, we can then express our data transformation in a way that makes the transitions extremely transparent in our code.

Our backend services are written in Rust for things that need efficient computation.

Re:OOP Is Dead, Long Live OOP by codetrotter on Thursday October 18, 2018 @06:59PM (#18252983)
That sounds very interesting. Did you open source any parts of your code, write any blog posts about it or give any public talks about it? I would love to read/watch whatever you have available to the public :)
Re:OOP Is Dead, Long Live OOP by ww520 on Thursday October 18, 2018 @08:51PM (#18253573)
Sounds like the service in your case is a sessionless gateway that does data transformation and dispatching. It fits the functional style.
Re:OOP Is Dead, Long Live OOP by westoncb on Thursday October 18, 2018 @07:34PM (#18253244)
I do think this echoes fooyc's point though: this does not sound like an area that would benefit from OOP. Sounds like an ideal use-case for functional.
Re:OOP Is Dead, Long Live OOP by fooyc on Friday October 19, 2018 @04:06AM (#18254959)
Looks like functional programming sweet spot: data transformation.