Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: How do you choose the right architecture?
2 points by bix6 16 hours ago | hide | past | favorite | 2 comments
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.

 help



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.

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.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: