Ruby Services Vs. Objects: The Battle for Decomposition and Reuseby@darrencoded

Ruby Services Vs. Objects: The Battle for Decomposition and Reuse

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

An article by Ilya Suzdalnitski claimed that C++ and Java are some of the worst computer science mistakes of computer science. The author argues that services are a better overall mechanism for backend decomposition and reuse than objects/classes. He says Ruby is a better way of organizing business logic with services from his experience. The article's primary thesis did resonate with me to a degree, despite the fact that object-oriented languages encourage loose encapsulation and side effects. The challenge arises in large codebases where a change in one place results in unexpected changes elsewhere.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Ruby Services Vs. Objects: The Battle for Decomposition and Reuse
DBroemmer HackerNoon profile picture

@darrencoded

DBroemmer


Receive Stories from @darrencoded

react to story with heart
DBroemmer HackerNoon profile picture
by DBroemmer @darrencoded.When not trading crypto, Darren is probably writing code to trade crypto or blogging about technology.
Read My Stories

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa