| ▲ | brap 2 days ago |
| I feel like sometimes it’s a form of procrastination. There are things we don’t want to do (talk to costumers, investors, legal, etc.), so instead we do the fun things (fun for engineers). It’s a convenient arrangement because we can easily convince ourselves and others that we’re actually being productive (we’re not, we’re just spinning wheels). |
|
| ▲ | marfmarkus 2 days ago | parent | next [-] |
| It's the natural evolution to becoming a fun addict. Unless you actively push yourself to do the uncomfortable work every day, you will always slowly deteriorate and you will run into huge issues in the future that could've been avoided. And that doesn't just apply to software. |
| |
| ▲ | moritzwarhier 2 days ago | parent | next [-] | | I see your point. But accidental complexity is the most uncomfortable work there is to me. Do programmers really find so much fun in creating accidental complexity? Removing it, no matter whether I created it myself, sure, that can be a hard problem. I've certainly been guilty creating accidental complexity as a form of procrastrination I guess. But building a microservices architecture is not one of these cases. FWIW, the alternative stack presented here for small web sites/apps seems infinitely more fun.
Immediate feedback, easy to create something visible and change things, etc. Ironically, it could also lead to complexity when in reality, there is (for example) an actual need for a message queue. But setting up such stuff without a need sounds easier to avoid to me than, for example, overgeneralizing some code to handle more cases than the relevant ones. When I feel there are customer or company requirements that I can't fulfill properly, but I should, that's a hard problem for me. Or when I feel unable to clarify achievable goals and communicate productively. But procrastrination via accidental complexity is mostly the opposite of fun to me. It all comes back when trying to solve real problems and spending work time solving these problems is more fun than working on homemade problems. Doing work that I am able to complete and achieving tangible results is more fun than getting tangled in a mess of unneeded complexity. I don't see how this is fun for engineers, maybe I'm not an engineer then. Over-generalization, setting wrong priorities, that I can understand. But setting up complex infra or a microservices architecture where it's unneeded, that doesn't seem fun to me at all :) | | |
| ▲ | whstl 2 days ago | parent | next [-] | | I 100% agree. Normally the impetus to overcomplicate ends before devs become experienced enough to be able to even do such complex infra by themselves. It often manifests as complex code only. Overengineered infra doesn't happen in a vacuum. There is always support from the entire company. | |
| ▲ | arethuza 2 days ago | parent | prev | next [-] | | "Do programmers really find so much fun in creating accidental complexity?" I certainly did for a number of years - I just had the luck that the cool things I happened to pick on in the early/mid 1990s turned out to be quite important (Web '92, Java '94). Now my views have flipped almost completely the other way - technology as a means of delivering value. Edit: Other cool technology that I loved like Common Lisp & CLOS, NeWS and PostScript turned out to be less useful... | | |
| ▲ | moritzwarhier 2 days ago | parent [-] | | I see what you mean, sometimes "accidental complexity" can also be a form of getting to know a technology really well and that can be useful and still fun. Kudos for that :) | | |
| ▲ | arethuza 2 days ago | parent [-] | | Oh yes I loved building stuff with all these technologies mostly for my own entertainment - fortunately I was in academia so could indulge myself. ;-) |
|
| |
| ▲ | tempodox a day ago | parent | prev [-] | | > Do programmers really find so much fun in creating accidental complexity? I believe only bad (inexperienced) programmers do. |
| |
| ▲ | ChrisMarshallNY 2 days ago | parent | prev | next [-] | | > a fun addict Interesting term. Probably pretty on-point. I’ve been shipping (as opposed to just “writing”) software for almost my entire adult life. In my experience, there’s a lot of “not fun” stuff involved in shipping. | |
| ▲ | SilverSlash 2 days ago | parent | prev | next [-] | | I like your idea of doing some amount of uncomfortable work every day, internalizing it until it becomes second nature. Any tips on how to start? (other than just do it) :) | |
| ▲ | ErroneousBosh 2 days ago | parent | prev [-] | | You know what, you're right. I should get off HN, close the editor where I'm dicking about with HTMX, and actually close some fucking tickets today. Right after I make another pot of coffee. ... No. Now. Two tickets, then coffee. Thank you for the kick up the arse. |
|
|
| ▲ | ratsimihah 2 days ago | parent | prev | next [-] |
| My first 5 years or so of solo bootstrapping were this. Then you learn that if you want to make money you have to prioritise the right things and not the fun things. |
| |
| ▲ | arbol a day ago | parent [-] | | I'm at this stage. We have a good product with a solid architecture but only a few paying clients due to a complete lack of marketing. So I'm now doing the unfun things! | | |
| ▲ | saulpw a day ago | parent [-] | | If you have had zero marketing, how do you know what you have is a good product? |
|
|
|
| ▲ | whstl 2 days ago | parent | prev | next [-] |
| Is it really for "fun"? Or is it to satisfy the ideals of some CTO/VPE disconnected from the real world that wants architecture to be done a certain way? I still remember doing systems design interviews a few years ago when microservices were in vogue, and my routine was probing if they were ok with a simpler monolith or if they wanted to go crazy on cloud-native, serverless and microservices shizzle. It did backfire once on a cloud infrastructure company that had "microservices" plastered in their marketing, even though the people interviewing me actually hated it. They offered me an IC position (which I told them to fuck off), because they really hated how I did the exercise with microservices. Before that, it almost backfired when I initially offered a monolith for a (unbeknownst to me) microservice-heavy company. Luckily I managed to read the room and pivot to microservice during the 1h systems design exercise. EDIT: Point is, people in positions of power have very clear expectations/preferences of what they want, and it's not fun burning political capital to go against those preferences. |
| |
| ▲ | Treegarden 2 days ago | parent | next [-] | | I dont quite follow. I understand mono vs micro services, and in the last 3 weeks I had to study for system design and do the interviews to get offers.
Its a tradeoff, and the system design interview is meant to see if one understands how systems can scale to hypothetical (maybe unrealistic) high loads. In this context the only reason for a microservice is independent scaling and with that also fault tolerance if an unimportant service goes down. But its really the independent scaling. One would clearly say that a monolith is good for the start because it offer simplicity or low complexity but it doesn't scale well to the hypothetical of mega scale. | | |
| ▲ | pjc50 2 days ago | parent | next [-] | | In practice, it seems not to be a tradeoff but an ideology. Largely because you can't measure the counter-factual of building the app the other way. It's been a long time since I've done "normal" web development, but I've done a number of high-performance or high-reliability non-web applications, and I think people really underestimate vertical scaling. Even back in the early 2000s when it was slightly hard to get a machine with 128GB of RAM to run some chip design software, doing so was much easier than trying to design a distributed system to handle the problem. (we had a distributed system of ccache/distcc to handle building the thing instead) Do people have a good example of microservices they can point us to the source of? By definition it's not one of those things that makes much sense with toy-sized examples. Things like Amazon and Twitter have "micro" services that are very much not micro. | | |
| ▲ | Treegarden 2 days ago | parent [-] | | I dont disagree, but you can horizontally scale a monolith too, no? So scaling vert vs horiz is independent of microservices, its just that separating services allows you to be precise with your scaling. Ie you can scale up a compute heavy micorservice by 100x, the upload service by 10x but keep the user service at low scale. I agree that one can vert scale, why not. And I also agree that there are probably big microservices. At my last workplace, we also had people very bullish on microservices but for bad reasons and it didn't make sense, ie ideology. |
| |
| ▲ | whiskey-one 2 days ago | parent | prev | next [-] | | Can you elaborate on the fault tolerance advantage of micro services? For context, my current project is a monolith web app with services being part of the monolith and called with try/catch. I can understand perhaps faster, independent, less risky recovery in the micro services case but don’t quite understand the fault tolerance gain. | | |
| ▲ | Treegarden 2 days ago | parent [-] | | Im no world leading expert but as far as I understand, coupled with events, if an unimportant service goes offline for 5 min (due to some crash, ie "fault"), its possible to have a graceful degradation, meaning the rest of the system still works, maybe with reduced ability. With events, other systems simply stop receiving events from the dead service. I agree you can achieve a lot of this also in a monolith with try catch and error handling, but I guess there is an inherent decoupling in having different services run on separate nodes. |
| |
| ▲ | whstl 2 days ago | parent | prev [-] | | The point is that it doesn't matter which is better or worse for the case, or if you know the pros/cons of each: In those interviews (and in real work too) people still want you skewing towards certain answers. They wanna see you draw their pet architecture. And it's the same thing in the workplace. | | |
| ▲ | Treegarden 2 days ago | parent [-] | | I fully agree on workplace politics, but for system design interviews, are you not also just supposed to ask your interviewer, ie give them your premises and if they like your conclusions? I also understand that some companies and their interviews are weird, but thats okay too, no? You just reject them and move on. | | |
| ▲ | whstl 2 days ago | parent [-] | | If there's a big enough bias, the questions become entirely about finding that bias. And on 90% of cases the systems design questions are about something they designed in-house, and they often don't have a lot of experience as well. Also: if there's limited knowledge on the interviewer side, an incorrect answer to a question might throw off a more experienced candidate. It's no big deal but it becomes more about reading the room and knowing the company/interviewers than being honest in what you would do. People don't want to hear that their pet solution is not the best. Of course you still need to know the tech and explain it all. |
|
|
| |
| ▲ | LandR 2 days ago | parent | prev [-] | | I worked for a company once where the CEO said I need to start using Kubernetes. Why? We didn't really have any pressing use cases / issues that were shouting out for Kubernetes at all. His reasoning was all the big players use it, so we should be too... It was literally a solution looking for a problem. Which is completely arse backwards. |
|
|
| ▲ | feketegy 2 days ago | parent | prev [-] |
| It's also virtue signaling of what a great engineer they are. Have you wired together ABC with XYZ? No? Well I did... blah blah blah |