News for hackers. Stuff that matters.
Re:AI Is Killing B2B SaaS by groundzeros2015 on Wednesday February 04, 2026 @09:17PM (#46894818)
I still don’t agree. The trick to good design is getting more things on the happy path. Most of the software I use is small and constructed in this manner.
Re:AI Is Killing B2B SaaS by habinero on Thursday February 05, 2026 @04:06AM (#46897486)
"They only coded the happy path" is software engineer for "they coded it as if nothing would ever go wrong". It is definitely not good design to do that.

There's an engineering trap/fallacy I like to call "how hard could it be". How hard could it be to build a [whatever] clone? If you find yourself thinking that, stop what you're doing, because the answer is almost always "at least an order of magnitude harder than you think."

Re:AI Is Killing B2B SaaS by groundzeros2015 on Thursday February 05, 2026 @09:19AM (#46899890)
What I meant is that most commercial software has a large number of code paths. Because it’s built incrementally, not holistically. This creates complexity and cost.

If you’ve only worked on that kind of software it’s hard to know the alternative which is to aggressively prune code paths and rework your main code.

And open source example is Quake. I rarely come across software whose inherent complexity is more than quake.

Re:AI Is Killing B2B SaaS by habinero on Thursday February 05, 2026 @07:06PM (#46907268)
Yeah, that's not what the person you were replying to is talking about. I was explaining the jargon.

Complexity and LoC has nothing to do with "only coding for the happy path". Both complex and simple software can be written this way.

A great example is the moltbook hilarity. They slapped together something that looked good and did function -- in the happy case only. They put together an "authorization" flow but exposed their entire database because they didn't know how to secure Supabase. They had no rate limiting on account creation -- so one dude created 1M in an hour.

Even putting aside adversarial usage, you have to code for, like, normal stuff going wrong or your app will lose data, crash, leak information, fall over, etc, etc.

Re:AI Is Killing B2B SaaS by groundzeros2015 on Thursday February 05, 2026 @09:38PM (#46908336)
I think you are not considering what I’m saying.

I’ll put you in the “it’s impossible to make software” camp.