News for hackers. Stuff that matters.
Re:Software Architecture Pitfalls and How to Avoid Them by 1920musicman on Thursday December 21, 2023 @09:39PM (#38730291)
> there’s a big difference between having ten years of experience and having one year of experience repeated ten times

Love this thought! It's surprisingly common to meet engineers with 6-7 years of experience with incredibly bad habits that they picked up working essentially at a single company that they joined right out of college. Repeating the same questionable patterns for 6 years doesn't provide a lot of growth opportunity. In this context, FAANG's obsession with hiring new grads is a questionable practice, people get stuck.

Re:Software Architecture Pitfalls and How to Avoid Them by CipherThrowaway on Thursday December 21, 2023 @11:10PM (#38730843)
I've heard that exact same adage used in reverse by those "6-7 years at the same company" engineers against engineers with careers of shorter stints. The logic being that if you never experience 5/6/7+ years of continuous ownership, you never get to see how your decisions pan out, and you miss out on other forms of longitudinal experience.

If one thing is a constant, it is that engineers will always come up with these silly little adages and cliches to discount the experience of their peers and continue telling themselves they are the smartest kid in the room.

Re:Software Architecture Pitfalls and How to Avoid Them by dilyevsky on Friday December 22, 2023 @12:53AM (#38731368)
What are these 7 years projects? Sending a man on the moon? Most large software projects take 2-3 years or else they run serious risk of getting cancelled completely
Re:Software Architecture Pitfalls and How to Avoid Them by tomasGiden on Friday December 22, 2023 @01:33AM (#38731555)
Very much depends on what you are working on. What SaaS is ever stopped being developed and doesn’t need ownership after 2-3 years? Products with embedded software might ship in 2-3 years but many still need bug fixes and new features long after that so therefore needs ownership.
Re:Software Architecture Pitfalls and How to Avoid Them by dilyevsky on Friday December 22, 2023 @02:27AM (#38731828)
If it’s a saas then original mvp will take anywhere from 6mo to 2y then it either dies or scales in which case it’ll be nearly rebuilt again with a much larger team this time. Therefore you will not learn anything on year 4 that you didn’t already learn in year 3
Re:Software Architecture Pitfalls and How to Avoid Them by spiffytech on Sunday December 24, 2023 @11:11PM (#38759652)
As a data point, I've worked at several companies powered by software they'd begun writing ~8–20 years earlier. No rewrites.

These projects were the cornerstones of businesses sized from a couple dozen to a few hundred employees.

Re:Software Architecture Pitfalls and How to Avoid Them by mcbishop on Friday December 22, 2023 @01:18AM (#38731481)
Your question gets a SaaSy reply.
Re:Software Architecture Pitfalls and How to Avoid Them by CipherThrowaway on Friday December 22, 2023 @10:28AM (#38735032)
Is this an honest question or one of those HN social status signalling things where we all feign unfamiliarity with what software development looks like outside of the YC bubble? Not snark, seeking clarification.
Re:Software Architecture Pitfalls and How to Avoid Them by 1920musicman on Friday December 22, 2023 @11:59AM (#38736077)
My understanding is that they meant actual individual projects within large companies never take this long. So "projects" as in "features" that ICs work on. I agree with that point, I hardly ever get to go back an evaluate the decisions I made a year ago. Ownership changes happen all the time, plus refactors, stack upgrades, other code changes... No one I know gets to work on a single self-contained feature/area for 6-7 years straight.
Re:Software Architecture Pitfalls and How to Avoid Them by PH95VuimJjqBqy on Friday December 22, 2023 @03:45PM (#38738471)
If you're working in a company that large then presumably you have architects and leads who are making broader decisions that you can see the effects of.

the point about being around for longer to see the effects of your mistakes assumes you're not a cog in the wheel.

Re:Software Architecture Pitfalls and How to Avoid Them by 1920musicman on Friday December 22, 2023 @05:27PM (#38739354)
I don't think this article limits the definition of architecture exclusively to very broad systems, like designing a new graph DB service. Architecture choices happen at all levels, and true systems architects are seldom involved in that.

> the point about being around for longer to see the effects of your mistakes assumes you're not a cog in the wheel.

Ideally—yes. In practice, decisions that should take QARs into account but don't are made by almost any IC level. I have seen systems designed by interns. You could say it's a company culture problem, and I would partially agree. On the other hand, tech companies have a tendency to lean into empowering ICs and so what ends up happening is that inexperienced engineers design systems that are only reviewed by overworked (and maybe not particularly experienced and/or motivated) senior ICs.

Re:Software Architecture Pitfalls and How to Avoid Them by dilyevsky on Friday December 22, 2023 @02:48PM (#38737856)
I definitely know more about non-YC than "YC bubble" and having talked to a bunch of YC founders i'm pretty sure there isn't a specific to YC way of building software - lots of different companies trying totally different things
Re:Software Architecture Pitfalls and How to Avoid Them by classified on Saturday December 23, 2023 @02:11AM (#38742293)
Webshit has a famously short half life, but there are many companies that want real products with real support and development over many years.
Re:Software Architecture Pitfalls and How to Avoid Them by 1920musicman on Friday December 22, 2023 @12:17PM (#38736287)
That's an interesting point. Can't say I agree based on my experience in both small startups and mega-corps.

Startups are so chaotic and fast-paced that one usually only needs 1-2 years (if not less!) to see how earlier decisions pan out. Very frequently the stack and the codebase undergo monumental changes in that short period of time due to the changes in business requirements and scale.

Mega-corps are vast engineering efforts with hundreds if not thousands of daily contributions. While I could technically go back and try to evaluate my choices from 6-7 years ago, it would be fairly hard to decouple my individual contributions from the changes that happened afterwards (functional/non-functional feature requirements changed since then, the codebase is unrecognizable, etc). 6-7 years is just too long of a time frame for certain eng areas (web/native product is a primary example). Saying that, I can imagine that there are slower-paced areas where this time frame is more relevant, e.g. database engine development.

Re:Software Architecture Pitfalls and How to Avoid Them by roncesvalles on Thursday December 21, 2023 @10:09PM (#38730515)
I will always value someone who has worked at 5 companies for 2 years each more than someone who has worked at the same company for 10 years. Most of the learning in any job happens during the first year. Imagine someone who has onboarded 5 times into 5 different company cultures and architectural systems. Such a person is a walking software engineering textbook.
Re:Software Architecture Pitfalls and How to Avoid Them by medler on Thursday December 21, 2023 @10:54PM (#38730770)
So you actually see “1 year of experience repeated 10 times” as a positive! I like that, but do I think there’s value in thinking about how a system should evolve over the long term and in seeing the long-term consequences of your own architectural decisions.
Re:Software Architecture Pitfalls and How to Avoid Them by stouset on Thursday December 21, 2023 @11:04PM (#38730810)
I’ve seen this play out so many times I’m tired of it. New team member joins. Super “productive”, rewrites enormous chunks of existing code and builds six new things. Great.

Then they leave, and you find out the bits they rewrote were the carefully crafted and well documented protobuf APIs now replaced by ad hoc JSON where the parsing and spec are strewn across thirty places. The new projects you quickly realize make no sense whatsoever and don’t actually do the things they were supposed to do, but kind of look like it if you aren’t paying too close attention.

Now they’re a “senior engineer” at the next company.

Re:Software Architecture Pitfalls and How to Avoid Them by PH95VuimJjqBqy on Friday December 22, 2023 @03:55PM (#38738571)
I have a _perfect_ example of this.

very often development teams will value re-use and dry to the point that they'll conclude they need to stuff most things into a common library and share it amongst all their codebases.

Anyone who has seen this done long term has seen this accrete until everyone is afraid to change the common library for fear of breaking _everything_.

IOW, the risk profile of something like this grows over time. It starts out small but each time a project adds it as a dependency the risk grows.

and yes, I understand everyone is going to post about versioning and change management and all the myriad ways one can try and mitigate this.

the point here is that when using a common library like this you must be circumspect in what you put into it. The risk threshold for it being worth going into this common library is going to be much lower for someone who pushes for a common lib and then skips to the next job vs someone who was there over the next 3-5 years and personally experienced the pain and fear such approaches invoke longer term.

and to repeat myself since I know this is HN.

No one is saying you can never have common libraries like this, what's being said is that the long term risk is much more likely to be respected by someone who long term experience and therefore that person with long term experience is much more likely to be able to design a system that can be worked on productively over the long term.

Re:Software Architecture Pitfalls and How to Avoid Them by djur on Friday December 22, 2023 @01:59AM (#38731681)
I couldn't disagree more. The first year is when you learn how to work at that specific company, on that specific software. The subsequent years are when you refine your understanding and decision-making by building on top of your first year's learning. It's when you learn which of the ideas you learned actually work and how they might go wrong. Being a "walking textbook" doesn't make you a good programmer. Thinking about how to build things, building them, and then taking responsibility for them -- these are skills that take time and sustained effort to develop.
Re:Software Architecture Pitfalls and How to Avoid Them by roncesvalles on Friday December 22, 2023 @02:32AM (#38731864)
This sounds like it makes sense but in practice I've noticed two things:

a) Many people who have only ever worked at 1 or 2 companies have some really critical gaps in their technical breadth. Every time I've switched jobs, I've had multiple "I can't believe we didn't use this at my last job" moments.

b) I've seen many "lifers" in big companies who built some great big system at some point in the past and now do very little other than maintain this hairball. It's very rare that, for someone who has been in the same role for 10 years, their last 5 years were as productive as their first 5. Despite promos and all. You get older, the job gets easier, and you get lazier.

Re:Software Architecture Pitfalls and How to Avoid Them by espe on Friday December 22, 2023 @03:03AM (#38732034)
you both describe valid approaches, similar to a breadth- or depth-first search. one will get into deep waters with "some great big system", regardless of the specifics.
Re:Software Architecture Pitfalls and How to Avoid Them by stouset on Friday December 22, 2023 @02:57PM (#38737948)
And on the flip side, people who hop around every year or two always seem to be able to build things quickly… and then they leave and everyone else gets both the surprise of learning how badly everything was slapped together plus the joy of of maintaining that hairball for years to come.

Somebody who never spends an appreciable amount of time in one role never has to deal with the long-term consequences of their decisions and misses out on that opportunity to learn and grow.

Re:Software Architecture Pitfalls and How to Avoid Them by djur on Saturday December 23, 2023 @03:12AM (#38742538)
a) This seems like a stronger argument for hiring multiple people with diverse experiences rather than favoring individual hires with lots of short gigs.

b) This seems like a problem you can screen for during the interview process rather than engaging in resume discrimination.

Re:Software Architecture Pitfalls and How to Avoid Them by randomdata on Friday December 22, 2023 @02:32AM (#38731867)
I'm not so fond.

As a farmer, I get years of experience. I only see about one crop grow each year, so it really takes decades to start to see patterns in the conditions the crops come up in (e.g. years of drought, years with little sunshine, years that are cold, etc.) with little in my control to change that schedule. Good management decisions require having an understanding of all of those patterns, and as such, a year is significant boundary.

But in software, the most significant boundary is how fast you can work. The faster you can work, the more scenarios you can try. Time is not completely removed from the equation, but two developers with different performance characteristics can have wildly different experience levels after an equal amount of time has passed. In this case, a year is not a significant boundary.