Live data from Hacker News

Engineering "home-cooked" software

ownerofhappy.org

11–20 of 32 posts

Re: Engineering "home-cooked" software

#11
post #5

I have been home cooking for a long while now and a portion of that past cooking has turned into acquired businesses that still operate to this day on the system platforms I architected and wrote. Cooking is a skill that takes great time, effort, and commitment yet since nearly all have no time to stop and appreciate a good meal here we have a compounding societal health issue just as with "fast-food" software we hav…

And just think, to those platforms your code is the "seasoning" that the FA decries so vociferously.

Re: Engineering "home-cooked" software

#13
post #9

False dichotomy, and not a great analogy. I see what the author is going for but they could have used to stress test their ideas before clicking "publish." Just for fun let me pose: Where would a Michelin star chef perform better? Whats the equivalent of fast casual or fine dining? Does the type of cuisine influence the outcomes???

I thought it was a good analogy, it made sense in the context of the article.

Any analogy looks like a bad analogy if you stretch it beyond the authors intent and make out like that's somehow their fault or problem.

I think it's interesting to try think about including the chef in the analogy, but I don't want to entertain you because I feel like the tone of your post was unnecessarily rude, essentially: "duuuh, did you even read your stuff before pressing post, idiot."

Re: Engineering "home-cooked" software

#14
I would say that this blog post is half right. The half that's not right is glaring.

> the pyramids have had 100% up-time with no human maintenance

It helps that there is hardly any rain in the desert. Water would foul up the structure in a matter of years.

> dependencies are added like seasoning. Hundreds of packages. Thousands of foreign lines of code make their way onto your software routinely

True, and I think NPM JavaScript exhibits the worst of this behavior.

> Problems are expected and fixed on the fly, somewhat haphazardly: ... push a patch ... code scanning ... dependa-bot ... DevOps

True, and I remember when software releases were treated with much more care and quality because it costs a lot to ship a CD or game cartridge rather than a download.

> More waterfall-y.

That's not a good thing. Having a short feedback cycle from implementation back to design is a big win for software development. Waterfall is the dark ages when we didn't know better.

> This is where minimalist software is built.

Agreed.

> No build process

That doesn't make any sense, unless you're writing machine code directly in hexadecimal.

> no outside dependencies

I agree with minimizing dependencies, but there's no such thing as no dependencies. I dare you to avoid any of these libraries: HTTP (especially HTTP/2 and 3 which are much harder than HTTP/1), TLS/SSL, TCP/IP, hardware drivers, compilers, data codecs like DEFLATE, multimedia codecs like AVC and AAC.

> There's no need to be constantly refactoring things, since everything was designed up to spec beforehand. ... The catch? Writing such a spec costs you over 80% of your engineering time, and you'll have nothing to show for it until day 100.

This is a fallacy. I agree with and like this talk where the speaker Glenn Vanderburg argues that the software is the specification, the construction is done by compilers, and that most analogies to physical engineering are completely wrong. https://www.youtube.com/watch?v=NP9AIUT9nos

> The thing is, most humans are laughably bad at architecting software without actually writing it first.

There's no shame in discovering the software architecture as you go along. If you already knew the architecture beforehand, that means you're very familiar with the problem space already, and you probably should've written a framework to avoid repetitive work. In a sense, software development biases toward novel exploratory work rather than routine work, and that's why it's challenging.

> this all stems from a certain greed software developers have ... Meanwhile other engineering fields are far more humble.

Nonsense; greed is human. In all fields of engineering, the general principle is to do more with less. As the saying goes, any fool can build a bridge, but only an engineer can build a bridge that barely stands. All engineers want more features for less cost, and software is no different. The difference is that in most engineering, there are more physical constraints, more templates to apply, more repetitive work. And because of that, the norms are well-established in traditional engineering. You don't look at a big McMansion and call it "greedy" because it's just the norm. You don't look at a sprawling highway interchange with 4 levels of ramps and call it "greedy" because it's socially acceptable.

> Even your measly human body doesn't need weekly patches

Have you looked at the list of bugs for humans? Allergies, back pain, appendix, aging, various birth defects, cancer, etc. If anything, life is the ultimate example of spaghetti coding and monkey-patching. Look at how vertebrate embryos (human, chicken, fish) all look the same in the first few weeks of life, then they diverge as various body parts and limbs are grown or shrunken.

> Sadly, a good home-cooked meal is hard to find nowadays. Fast food is just too good to beat.

It's weird when people praise home-cooked meals, because I've found restaurants that have great food. Heck, I've been to various traditional sit-down restaurants where they bring you the food in one minute and is faster than standing in line at McDonald's.

> Most software today just feels bloated and trashy, even if the experience is drug-like.

Most software do feel bloated and trashy to me too. I especially find that the more popular a software is, the trashier it is. A few decades ago for example, I found MSN Messenger to be popular but insufferable (big program size, laggy UI, lots of attention-grabbing features) whereas IRC was an underground community and the software was very well-behaved (small, not attention-grabbing).

Overall, I agree with the ideas that simpler software is better, there's too much cargo-culting in industry, piling on complexity and dependencies is bad. But your article wanders all over the place and doesn't hit the right points.

Re: Engineering "home-cooked" software

#15
I couldn't disagree with the premise of the sections more on development methodology

> Fast Food > Here, we develop in "agile" sprints. Working software is developed at the fastest pace possible, and all bugs are to be fixed later.

> Home Cooked > Here, things are slower, more thoughtful. More waterfall-y.

While Sprints is a term that sounds like fastest pace possible, that is not what the term means; and a key part about waterfall vs agile is that waterfall IS NOT more thoughtful, but all planned up front.

Both methodologies can create bugs, or deliver features faster than scale can be thought of and deliver features faster than can be tested.

If we remove the quotes from "agile" we actually get slower and thoughtful. A key part of that is measuring (training, interviewing, analyzing). An agile process should build a feature, release that feature, interview users, analyze system behavior, iterate by improving user's goal, adding appropriate scale, iterating by removing unexpected errors or behavior.

Re: Engineering "home-cooked" software

#16
post #9

False dichotomy, and not a great analogy. I see what the author is going for but they could have used to stress test their ideas before clicking "publish." Just for fun let me pose: Where would a Michelin star chef perform better? Whats the equivalent of fast casual or fine dining? Does the type of cuisine influence the outcomes???

I agree with the fun. The fancy restaurant offers a complete experience but if we look only at the food the Michelin star chef cooks very different things at home. The most lame constraint I hear is that to get the stars the kitchen must be French.

Re: Engineering "home-cooked" software

#17

I couldn't disagree with the premise of the sections more on development methodology > Fast Food > Here, we develop in "agile" sprints. Working software is developed at the fastest pace possible, and all bugs are to be fixed later. > Home Cooked > Here, things are slower, more thoughtful. More waterfall-y. While Sprints is a term that sounds like fastest pace possible, that is not what the term means; and a key part…

> An agile process should build a feature, release that feature, interview users, analyze system behavior, iterate by improving user's goal, adding appropriate scale, iterating by removing unexpected errors or behavior.

I feel like there's this no true Scotsman thing going on with agile. Whenever someone describes their actual experiences with agile, there's always at least one person who speaks up and decries it as as not real agile and what agile should be.

At this point I don't care what agile should be. I just don't want management shoving agile down my throat anymore. I've yet to see it actually improve productivity for any team I've been on. Real agile must be exceedingly rare.

Re: Engineering "home-cooked" software

#18

I couldn't disagree with the premise of the sections more on development methodology > Fast Food > Here, we develop in "agile" sprints. Working software is developed at the fastest pace possible, and all bugs are to be fixed later. > Home Cooked > Here, things are slower, more thoughtful. More waterfall-y. While Sprints is a term that sounds like fastest pace possible, that is not what the term means; and a key part…

> An agile process should build a feature, release that feature, interview users, analyze system behavior, iterate by improving user's goal, adding appropriate scale, iterating by removing unexpected errors or behavior. I feel like there's this no true Scotsman thing going on with agile. Whenever someone describes their actual experiences with agile, there's always at least one person who speaks up and decries it as…

In your experience, what has improved productivity?

Re: Engineering "home-cooked" software

#19

Earlier quoted context omitted.

> An agile process should build a feature, release that feature, interview users, analyze system behavior, iterate by improving user's goal, adding appropriate scale, iterating by removing unexpected errors or behavior. I feel like there's this no true Scotsman thing going on with agile. Whenever someone describes their actual experiences with agile, there's always at least one person who speaks up and decries it as…

In your experience, what has improved productivity?

Weekly standup to check in with devs, leave them alone otherwise. Reach out if a high priority item comes up, but 9 times out of 10 that can be an email.

I've heard that one of the benefits of agile is identifying blockers and encouraging collaboration, but I saw much better results from assuming you've hired intelligent adults with work ethic and letting them reach out and collaborate as needed. Daily standups, sprints, boards, planning, etc. are great in a low-trust environment where you can't be sure people are doing the right things. But if you've hired self-directed people, that stuff just gets in the way.

Re: Engineering "home-cooked" software

#20

I couldn't disagree with the premise of the sections more on development methodology > Fast Food > Here, we develop in "agile" sprints. Working software is developed at the fastest pace possible, and all bugs are to be fixed later. > Home Cooked > Here, things are slower, more thoughtful. More waterfall-y. While Sprints is a term that sounds like fastest pace possible, that is not what the term means; and a key part…

> An agile process should build a feature, release that feature, interview users, analyze system behavior, iterate by improving user's goal, adding appropriate scale, iterating by removing unexpected errors or behavior. I feel like there's this no true Scotsman thing going on with agile. Whenever someone describes their actual experiences with agile, there's always at least one person who speaks up and decries it as…

> I feel like there's this no true Scotsman thing going on with agile. Whenever someone describes their actual experiences with agile, there's always at least one person who speaks up and decries it as as not real agile and what agile should be.

It's not mysterious or confusing. The original definition is at https://agilemanifesto.org/

Post reply on HN