3,357 karma · joined Oct 28, 2011 (15y ago) · 1,345 submissions
comment 1y ago · link · parent
In high-uncertainty greenfield development, Explore projects or Lean Startup-style experimentation, having developer be close to the users they are serving is very efficient.
It also lets those companies reteam frequently, without needing to change the software to match the new team boundaries, which is very helpful when growing the team.
comment 1y ago · link · parent
The post I was replying to said "your build will still break": that's what I was taking issue with. In this day and age there is no reason our trunk build should ever be broken.
comment 1y ago · link · parent
I am genuinely curious what situations you are seeing where builds are making it through CI and then don't compile.
It isn't always worth investing in quality, but when it is it is entirely possible to write essentially bug-free software. I've gone seven months without a bug in production and the one we saw we had a signed letter from product saying "I am okay if this feature breaks, because I think writing the tests that can verify this integration was going to take too long."
FAANG companies aren't prioritizing writing software well: they are prioritizing managing 50,000 engineers. Which is a much harder problem, but the management solutions that work for that preclude the techniques that let us write bug-free software.
One of the great things about startups is that it is trivial to manage five engineers, so there is no reason we have to write software badly.
comment 1y ago · link · parent
(Mockist tests are fine for people who really want them, as long as you delete them before checking in the code.)
comment 1y ago · link · parent
Each repo you create is one more set of Dependabot alerts you need to keep on top of.
comment 1y ago · link · parent
Every good monolith I've worked in (and I have worked in several, including one that was more than twenty years old) was highly-modular, well-designed with an easy-to-explain architecture.
The other thing they had in common was that code reviews talked about the aesthetics of the code and design, instead of just hunting for errors or skimming for security problems. It was relatively common to throw out the first proposed PR and start over, and that was fine because people were slicing the work small enough they were posting four to six PRs a week anyway.
It took the engineers at the company being willing to collaborate on the craft of software development and prioritize the long-term health of the code over short-term feature delivery. And the result of being willing to go a little bit slower day-to-day was that the actual feature delivery was faster than anywhere else I've ever worked.
Without a functioning professional culture, nothing is going to be great. But at least with microservices people do have to design an API at some point.
comment 1y ago · link · parent
Programmers coming up through frameworks or functional programming often don't have those, and so the techniques OO unit testers use don't translate well at all. If the first "unit" you build is a microservice, the first possible "unit" test is the isolation test for that service.
I have watched junior engineers crawl over glass to write tests for something because they didn't know how to write testable code yet, and then the tests they write often make refactoring a-la-Martin-Fowler's-book impossible.
(And that is leaving aside the consultancies that want to be able to advertise "100% test coverage!" but don't actually care if the tests make software harder to maintain in the long run because they aren't going to be there.)
Eventually we'll be able to acknowledge that there are a lot of different skills in our profession, and that writing good code isn't about being "smart": it's about knowing how to write code well. But until then people will keep blaming the tools they don't know how to use.
comment 1y ago · link · parent
The only way for significant architectural boundaries at team boundaries to not result in incredibly painful software, especially for a growing team, is to let the software organize the teams. Which means reorging the company whenever you need to refactor, and somehow guessing right about how many changes each component will need in the coming year.
It also means you can't have product and engineers explore a problem together, or manage by objective with OKRs since engineers aren't connected to business outcomes.
I know that all the ex-Amazonians are convinced this is the only way to build software, but it really, really isn't.
comment 1y ago · link · parent
Statically-types languages are a form of automatically-verified documentation, and an opportunity to name semantic properties different modules have in common. Both of those are great, but it is awkward that it is usually treated as an all-or-nothing matter.
Almost no language offers what I actually want: duck typing plus the ability to specify named interfaces for function inputs. Probably the closest I've found is Ruby with a linter to enforce RDoc comments on any public methods.
comment 1y ago · link · parent
I don't think it's much better if you have to spend a year and a half updating 400+ different repos, though. It's much easier to use an operationalized language that knows backwards compatibility matters.
comment 1y ago · link · parent
The paranoid socialist in me thinks big companies like team-sized microservices because it lets them prevent workers from talking to each other without completely ruling out producing running software.
When companies instead encourage forums for communication across team boundaries, it unlocks completely different architectural patterns.
comment 1y ago · link · parent
If you are concerned about someone else breaking your thing, good! You were going to eventually break it yourself. Write whatever testing gives you confidence that someone else's changes won't break your code, and, bonus, now you can make changes without breaking your code.
comment 1y ago · link · parent
I've worked on monoliths with 400+ developers that were great, but it takes skills that people who have only ever worked in orgs that mandate microservice just don't have.
comment 1y ago · link · parent
The "one team per microservice" makes code-enclosure style code ownership possible, but it is the least efficient way I have ever seen software written.
I've long wanted to hack an IDE so people are only allowed to change the Java objects they created, and then put six Java programmers in a room and make them write an application, yelling back and forth across the room. "CAN YOU ADD A VERSION OF THAT METHOD THAT ACCEPTS THIS NEW CLASS?" "SURE THING! TRY THAT?"
People discount the costs of microservices because they makes management's job easier, especially when companies have adopted global promotion processes. But unless they are solving a real technical constriant, they are a shitty way to work as an engineer.
comment 1y ago · link · parent
You can get the architectural benefits of microservices by using message-passing-style Object-Oriented programming. It requires the discipline not to reach directly into the database, but assuming you just Don't Do That a well-encapsulated "object" is a microservice that runs in the same virtual machine as the other mircoservices.
Java is the most mainstream language that supports that: whenever you find yourself reaching for a microservice, instead create a module, namespace the database tables, and then expose only the smallest possible public interface to other modules. You can test them in isolation, monitor the connections between them, and bonus: it is trivial to deploy changes across multiple "services" at the same time.
comment 1y ago · link · parent
My list so far is:
* Runs locally on local data and does not connect to the internet in any way (to avoid most security issues)
* Generated by users for their own personal use (so it isn't some outside force inflicting bad, broken software on them)
* Produces output in standard, human-readable formats that can be spot-checked by users (to avoid the cases where the AI fakes the entire program & just produces random answers)comment 1y ago · link · parent
Any software engineer who puts a stamp of approval on software they have not read and understood is committing professional malpractice.
comment 1y ago · link · parent
Even the worst programmer understands their own code, whereas AI produces code no human has ever understood.
comment 1y ago · link · parent
I am guessing you are referring to Marxist-Lennonists, or even Tankies. Folks who believe that only class oppression is worth fighting, and that the solution is centralized authoritarian regimes with left wing people in power. Those folks are generally anti-liberal, despite being on the left, and deny any history that would complicate their politics.
Alternatively, you might know neoliberals, who believe in the power of capitalism to address social problems and deny any history that might complicate their politics.
Or you might know Syndicalists, who believe unions are the path to worker's political power, and who deny any history that might complicate their politics.
Etc.
If you know one "very left" person, you know one very left person.
comment 1y ago · link · parent
For a while these people felt like they had to pretend to be decent, pro-social humans so they could keep making money: that seems great. More people should pretend not to be racist assholes.
I wonder how much of this is that they got so rich "you can't make more money" stopped being a meaningful threat.
comment 1y ago · link · parent
Twitter becoming a fascist cess pit has not reduced the power of fascists. Hearing even a completely ridiculous idea (like "the moon is made of cheese") told in a joking manner leads people to think it is more plausible than they otherwise would: https://en.wikipedia.org/wiki/Illusory_truth_effect Deplatforming is effective at reducing radicalization: https://www-cs.stanford.edu/~diyiy/docs/jhaver-2021-deplatfo...
Note that the thing that drove Andreessen to the right was left-wing thinkers who thought censoring anti-racism was bad: he was already pro-racism and pro-censorship before he created the group chats.
The problem here seems to be the income inequality & the power of money to win elections that give the uber-rich their disproportionate power.
comment 1y ago · link · parent
Bill Maher still has a show, despite having spent more than twenty-five years being a racist POS. There is no such thing as "Cancel Culture": there are just people who are SUPER mad that their kids think their racism is bad.
comment 1y ago · link · parent
It is impossible to be an actual nerd and not be woke. Money-men "founders" have nothing but distain for the geeks that made them rich.
[Edit: I see people don't like this, but are simply down-voting rather than engaging. What is your definition of "woke" then, if not an awareness of America's history?]
comment 1y ago · link · parent
It was effective against companies that relied on interoperability and profited when people used their software projects. On the other hand, if someone wants to add features that my project can't support, it changes nothing about my life or work.
When the goal is "make the best software possible", the $MegaCorp would only compete by making software that is better that what is available in the open source ecosystem. That doesn't take anything away from anyone else. It is a Pareto improvement: people can pay and have even better software, or not pay and use the still-good free option.