| ▲ | whstl 4 days ago |
| This is another good example. I remember people getting very angry here 10-15 years ago over HATEOAS. In most discussions REST has come to mean “cute URLs” thanks to Rails. |
|
| ▲ | mcny 4 days ago | parent | next [-] |
| I don't know who is to blame for this -- I think it should be the entire team, not just the developer for every time I click a link from a message somewhere on my phone and a website opens which opens an app and it says "congratulations, you have performed this operation (that isn't idempotent)". Like ok, but why are you doing stuff with a get action... Shouldn't you prompt people to ask in the app hey I am about to do something, do you want me to? |
|
| ▲ | Pamar 4 days ago | parent | prev [-] |
| What about "microservice", then? |
| |
| ▲ | whstl 4 days ago | parent | next [-] | | This is perhaps a case where miscommunication saved an entire industry. I once got a new hire from Uber and for months on end his complaint was that “the services are too big”. | | |
| ▲ | mcny 4 days ago | parent [-] | | I once wrote a small class at work and by the time I left it was like over 8k lines long. People jokes it was my fault I called it HelperUtil instead of something more descriptive. It was a dumping ground for all the stuff people didn't want to think about. I wonder if something like that is possible in the microservice world? | | |
| ▲ | mattmanser 4 days ago | parent | next [-] | | It probably wasn't a joke. If you call something HelperUtil, it will become a dumping ground. That's a learnable lesson around naming, a mistake, but it's not learnable if it keeps getting described as a joke. C# accidentally solved this problem with extension methods, these little helper utils at least get grouped by type and not in one humongous file. Or maybe that was part of the design team's intention behind them all along. And because they're static you can easily see when services or state are getting passed into a method, clearly showing when it should in fact be some sort of service or a new type. | | |
| ▲ | XajniN 3 days ago | parent [-] | | You’ve never seen `public static class Extensions` in a project named Something.Shared? |
| |
| ▲ | whstl 3 days ago | parent | prev | next [-] | | In the microservices world this is the monolith itself sitting in the center :/ Even in architectures that start as distributed, I’ve seen the “involuntary monolith” arising. Way too common, unfortunately. | |
| ▲ | ssdspoimdsjvv 4 days ago | parent | prev [-] | | Of course, it just becomes the HelperUtilService! |
|
| |
| ▲ | pjmlp 4 days ago | parent | prev [-] | | Same thing, a typical OS has tons of microservices talking over OS IPC. Sun RPC was microservices. But understanding they are several decades old concept isn't cool, doesn't sell conference tickets, books and consulting training. |
|