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

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

by DBroemmer6mMay 13th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
DBroemmer

DBroemmer

@darrencoded

When not trading crypto, Darren is probably writing code to trade crypto or blogging about technology.

Learn More
LEARN MORE ABOUT @DARRENCODED'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

DBroemmer HackerNoon profile picture
DBroemmer@darrencoded
When not trading crypto, Darren is probably writing code to trade crypto or blogging about technology.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
L O A D I N G
. . . comments & more!