News for hackers. Stuff that matters.
Re:You Want Modules, Not Microservices by worldsayshi on Tuesday January 03, 2023 @08:27AM (#34231010)
I think we are conflating (at least) two different issues here because we don't have a good way to deal with them separately. Closure on one hand and implicit logic on the other.

Most of the time when I split out a method what I want is a closure that is clearly separated from the rest of the code. If I can have such closures, where input and output is clearly scoped, without defining a new method, that might be preferable. Lambdas could be one way to do it but they still inherit the surrounding closure so it's typically not as isolated as a method.

Re:You Want Modules, Not Microservices by louthy on Tuesday January 03, 2023 @09:10AM (#34231483)
> I think we are conflating (at least) two different issues

For sure, I have absolutely no idea how your comment relates to what I wrote.

Re:You Want Modules, Not Microservices by worldsayshi on Tuesday January 03, 2023 @09:12AM (#34231509)
Oops, it looks like I answered the wrong comment here. :/
Re:You Want Modules, Not Microservices by louthy on Tuesday January 03, 2023 @09:14AM (#34231534)
It happens to the best of us! :)