Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. ArtifactBench: Evaluating AI Music Detectors Under Distribution Shift(arxiv.org)
    discuss
  2. I_am_done_with_this_shit(reddit.com)
    1comments
  3. Cunningham's Law(wikimedia.org)
    discuss
  4. Smart Software(twitter.com/jas0nduncan)
    1comments
  5. Edit HTML Directly in the Browser(github.com/kenxle)
    discuss
  6. The Rise of A.I. Is Raising Threats from Drones, Police Group Warns(nytimes.com)
    discuss
  7. Show HN: ghfs – A read-only FUSE filesystem that keeps GitHub issues on disk(ghfs.dev)
    discuss
  8. What California Is Learning from Solar Panels Built over Irrigation Canals(kqed.org)
    discuss
  9. The "Windows XP Box" (2003)(mini-itx.com)
    discuss
  10. Why Apple Succeeded in Japan [video](youtube.com)
    discuss
  11. The Home Depot(acquired.fm)
    1comments
  12. Amazon blocks Meta's Muse AI assistant(geekwire.com)
    discuss
  13. China's AI Realism Is Not Conspiracy(fredgao.com)
    discuss
  14. How we use dopamine to get you to spend less time on your phone(getisland.app)
    discuss
  15. New CA laws let community colleges offer up to 12 bachelor's degrees(calmatters.org)
    discuss
  16. Francis Fukuyama: Why I Changed My Mind About AI Risk(persuasion.community)
    discuss
  17. Smart Ring Maker Oura, Backers Seek $2.2B in US IPO(bloomberg.com)
    discuss
  18. OpenAI president and MAGA Inc. donor to attend Trump-Xi state dinner(politico.com)
    1comments
  19. Put Tabs Away(chromewebstore.google.com)
    discuss
  20. Ottawa to build sovereign AI ecosystem for Canadian defence operations(theglobeandmail.com)
    discuss
  21. Side-stepping the Secretary Problem, unwittingly(evalapply.org)
    discuss
  22. Turn ad-hoc subagents into durable, accountable AI teams(github.com/ringlochid)
    discuss
  23. Cohere and Aleph Alpha sign business combination agreement(cohere.com)
    1comments
  24. The Inference Gap(twitter.com/lon)
    1comments
  25. Ju Ju Tsu(codeberg.page)
    1comments
  26. Privacy Tools Experts Use(proton.me)
    discuss
  27. Ticket-In Ticket-Out(wikipedia.org)
    discuss
  28. Show HN: An honest comparison of the Agent Harness vs. six alternatives(time2magic.com)
    discuss
  29. Before and After Photos Show Data Centers Furiously Popping Up Across America(petapixel.com)
    discuss
  30. Breaking a four year hiatus to talk about the export keyword (PEPs 842 and 843)(aroberge.blogspot.com)
    discuss

Ask HN: Ceremonious Architecture in Times of AI

2 pointsby 1h ago
1 comments
There's extensive literature on several software architecture patterns and styles whose benefits are well known, but which are often ignored due to the cost of their boilerplatic layers and abstractions.

For example: Domain-Driven Design is cool, but it probably won't be applied to a CRUD-heavy startup backend; Clean Architecture is great, but defining a database schema via some annotations on entity fields is simpler and faster.

It's clear that having a single `FooService` mapped to endpoints and directly hitting the database (as an extreme case) would be much faster to ship than introducing `FooRepository`, `AddFooCommand`, `AddFooCommandHandler`, `FooValidator`, et cetera (including the respective interfaces and plumbing).

At least it was faster.

Nowadays, an LLM can spit out ten times that scaffolding in roughly the same amount of time, so it seems like one of the main costs of "heavy" architectural patterns has become almost irrelevant.

On the other hand, their benefits may have been amplified, as highly structured codebases (especially those that can statically enforce and/or test that structure) could serve as a better leash for code-spitting machines, keeping their autonomous design adventures in check.

So, as my first HN interaction — hello! — I wanted to ask the community for their opinion on this topic: do you think the rise of LLMs will/should make heavy architectural patterns more prevalent, even in scenarios where they would otherwise be discarded?

1h agoHN ↗

For greenfield I tend to defer to the llm on structure. I've gone into hundreds of thousands of lines without a structural bottleneck, in my opinion.