TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ruby On Rails – Services vs Object Classes

1 pointsby enricribasover 11 years ago

1 comment

mercurialover 11 years ago
When I look at the &quot;good&quot; enterprise codebases, I see more and more functional-style code written in non-functional languages. Dumb entities, service layers which would be single functions if the language allowed it, and persistence layers which are essentially stateless apart from their connections.<p>So, I&#x27;m all for a switch to services instead of fat models, which have always made me cringe.