News for hackers. Stuff that matters.
Re:Monoliths Are the Future by simonh on Thursday January 30, 2020 @05:38PM (#22196656)
The service will need to read all its data and put it into objects, then extract the data from the objects to report it, then garbage collect all of that. For every single record in its entire data set.

You could say but oh, why not just return the underlying data without making objects? Well now you are exposing the underlying data format, which is what we’re trying to avoid by giving this job to the service.

Re:Monoliths Are the Future by abraxas on Thursday January 30, 2020 @09:34PM (#22198469)
And thus such patterns lead to the absurdity where 90% of enterprise apps do little actual computations beside serializing and deserializing JSON (or XML if a "legacy" app).
Re:Monoliths Are the Future by kortex on Friday January 31, 2020 @12:10AM (#22199258)
It's remarkable what you can do with just functions and nested data structures. Used to be big on the whole OOP thing, data roles, so much effort for so little.

Now I try to think about problems as "I have input data of shape X, I need shape Y" and fractally break it down into smaller shape-changes. I am kinda starting to get what those functional programmers are yammering on about.