I agree with this approach, but I'm a bit surprised this has to be said at all. These are basic software design principles and I imagine it's the default way any experienced programmer would approach the problem. I wonder if the people not using this approach are primarily junior developers who have never seen how real software is built, or if it's leaking into the senior levels as well.
Most people in the industry right now, even at FAANG and even among people carrying "senior" titles at these places, have little experience with "software design principles" -- tens of thousands of brilliant Ivy League graduates with surreal compensation packages have spent the last decade pulling tickets off JIRA and pasting least-change-possible patches onto existing code for about 10 hours a week while spending the other 30+ hours barely engaged at meetings.
This hurt to read but checks out in my experience. These types also tend to love tossing debt over silo'd walls and pointing the finger a lot if/when anything goes wrong.
I'm old enough now to be a protected class, so I don't want people accusing me of ageism, because that's not where this is coming from - but there's a type of person that clearly is on their last job of their career and knows it and I try to avoid them like the plague, I've seen it too many times.
> there's a type of person that clearly is on their last job of their career and knows it
Yup (and it's not ageism). I'm young and stupid but forced by circumstance to practice a certain degree of respect for my own stupidity. My philosophy is, "I write code like I expect it to outlive me". Because sloppy work --AI generated or otherwise-- has a tendency to come back to haunt you.
The incentive structures are all fucked up. It's far more profitable for all parties involved to just slop out some barely maintainable bullshit that only just meets the product manager's criteria for external quality while completely neglecting the internal quality of the software [0].
By the time the system starts to experience strain under the weight of its technical debt two years later, the original tech lead/architect of the project has already added it to his resume as another bullet point, found a new job at 20% higher comp, and no longer has to ever look at that code, ever again. Now it's the next asshole's problem. Good luck! [0] Freeman & Pryce 2009 for the "internal quality" vs. "external quality" dichotomy
I think part of the problem is the original product manager has also added this as a bullet point on their resume and gotten promoted. They get to watch the dumpster fire from a safe distance.
This is maddening. I've been pulling 40/50/60 hour weeks for 21 years in the tech industry at various different companies. I haven't broken 200k base salary, though benefits are pretty great where I'm at. To think I could've memorized some leet code problems, got a job at FAANG and been making 300k base for the past 5+ years while working 10-hour weeks is - yep, maddening.
Did you go to Stanford or a similar pedigreed college? Unless you did that or broke that 200k barrier already by getting high up in a lower tier company, just memorizing some leet code problems wasn’t going to get you into a FAANG.
They care a lot about prestige. Or at least did before AI. Don’t know what their current hiring practices look like.
Don't feel bad. It is not about skill in those job, it is about "cultural fit". You must project a personality that will fit in with FAANG culture or you won't get the job unless you're famous globally due to having starting some huge open source project.
Comfort yourself with the fact that you did not have to sell your soul, sit through endless woke sexual harassment videos where you are taught that the white man is the source of all evil, and in endless management meetings.
Why are you upset its this way elsewhere? Those kind of working conditions are much more favorable don't you think? Why would you want to work 60 hour weeks?
The best time to be aware of the socioeconomic class differences in tech was 20 years ago, the second best time is now. Also some folks just find it difficult to study leetcode problems purely to "prove" themselves, for various psychological reasons. If you can, it helps a lot, as does graduating from top universities with a direct pipeline into these companies. Social signalling is much more valuable nowadays than capabilities.
Sometimes the grass really is greener - company culture can be actually incredibly toxic and compensation very below market, but when surrounded by people who normalize it most folks will project that experience out to the rest.
The 30+ hours were often just goofing off/video games/porn, very few are in 30 hours of meetings. The amount of grift, non-work, fake work, etc that remote well paid tech workers get to do is absurd.
Don't get me wrong, LLMs are way better than me at most things, but I don't think you can deny that the current generation of models makes questionable decisions sometimes. Especially on project structure, API boundaries, and code duplication. I also think they just have bad taste in general, though of course that's more subjective.
I’m not sure how to say this without sounding smug, but the last year has shown that most of those things just… don’t matter. It’s just the next level of the “variable naming PR comment battle”, so will become obsolete very soon.
Obviously there are mission critical systems where it matters, but if “your code can be A/B tested” or “slowly rolled out”, chances are, it doesn’t matter.
That's why I don't rely on their design. But I also don't write the design from scratch. I use a conversation with the model to build a plan. I let it do the things it thinks is right, and I add corrections where I want to see something different. Or more accurately I "ask questions" which lead the model to making those changes itself. I don't say "use this design pattern here instead" but "Why didn't you choose to use this design pattern instead? What are the tradeoffs that you see?" When I notice a pattern in how the model deviates in how I prefer things, I add additional instructions to the prompt to try to close the gap over time and I get better first shot responses.
They are only as good as their training data. I expect them to have badder taste for PHP or JS, than, say, Kotlin or Ruby. That's be because I prefer the code the latter communities have produced over the former.
A friend of mine is getting into AI more than I am and seems to like doing random coding tasks to see what it can do. Like, coding a clock app in Window with NTP/PTP. Or coding a multi swarm agent that is so poorly designed it hurts my soul. I want to say the clock app came in at 300 Mb and god knows how much memory usage it was pulling. LLMs have all these different pieces but it still doesn't know the optimization that an engineer might know with experience. Because of the amount of slop being generated, we're essentially line workers that deal with automation being implemented in factories. Very much the the technology version of the 'American Factory' documentary on Netflix. Unless we're at the forefront of this SOTA hotness, we're behind in all aspects.
I'm old enough now to be a protected class, so I don't want people accusing me of ageism, because that's not where this is coming from - but there's a type of person that clearly is on their last job of their career and knows it and I try to avoid them like the plague, I've seen it too many times.
Yup (and it's not ageism).
I'm young and stupid but forced by circumstance to practice a certain degree of respect for my own stupidity.
My philosophy is, "I write code like I expect it to outlive me".
Because sloppy work --AI generated or otherwise-- has a tendency to come back to haunt you.
Continue this thread — 1 reply
By the time the system starts to experience strain under the weight of its technical debt two years later, the original tech lead/architect of the project has already added it to his resume as another bullet point, found a new job at 20% higher comp, and no longer has to ever look at that code, ever again.
Now it's the next asshole's problem. Good luck!
[0] Freeman & Pryce 2009 for the "internal quality" vs. "external quality" dichotomy
They care a lot about prestige. Or at least did before AI. Don’t know what their current hiring practices look like.
Continue this thread — 5 replies
Comfort yourself with the fact that you did not have to sell your soul, sit through endless woke sexual harassment videos where you are taught that the white man is the source of all evil, and in endless management meetings.
Continue this thread — 1 reply
Continue this thread — 5 replies
Just study and get another job.
Continue this thread — 2 replies
Sometimes the grass really is greener - company culture can be actually incredibly toxic and compensation very below market, but when surrounded by people who normalize it most folks will project that experience out to the rest.
Sometimes, not enough to believe you that you can do it better. And even if you could, to believe that it's overall worth it to work in that way.
Continue this thread — 7 replies
Obviously there are mission critical systems where it matters, but if “your code can be A/B tested” or “slowly rolled out”, chances are, it doesn’t matter.
Continue this thread — 12 replies
Continue this thread — 2 replies
They are only as good as their training data.
I expect them to have badder taste for PHP or JS, than, say, Kotlin or Ruby.
That's be because I prefer the code the latter communities have produced over the former.
Way to come off as incredibly insecure. There's no need to randomly put people down.
Continue this thread — 9 replies
Continue this thread — 4 more replies
Continue this thread — 2 more replies