News for hackers. Stuff that matters.

Ask HN: How do you choose the right architecture?

Software engineers often tell me that vibe coding frequently chooses the wrong architecture. So does anyone have advice for helping it choose the right one or otherwise avoiding pitfalls?

For example a front post page right now is getting lit up for using tesseract when they could’ve used Apple’s built in OCR.

( 2 comments | 2 points | on HN )
Re:Ask HN: How do you choose the right architecture? by micahdeath on Sunday October 04, 2026 @11:35AM (#49954811)
I tell it the architecture I want. No SOLID, No DRY. Use KISS & YAGNI. BUT -- it should be based on your preferences.

Ask it questions before to get a feel for what is available.

Then on the 4th to 7th attempt, it looks pretty good.

Re:Ask HN: How do you choose the right architecture? by jbkkz on Sunday October 04, 2026 @03:00PM (#49956782)
You need to have exemples of architectures you want, for that you need some coding knowledge, otherwise agents won't always choose the best one.