Live data from Hacker News

Ask HN: Any advice on how to learn good software architecture practices?

news.ycombinator.com

21–27 of 27 posts

Re: Ask HN: Any advice on how to learn good software architecture practices?

#22
post #7

The only thing I can think of is to ask the AI "why this instead of that?" Every architectural decision is a tradeoff between something and another. Every technology choice is also a tradeoff. If you understand the reasons for the choices you'll start understanding architecture. Sometimes it starts with requirements (ie: what you're trying to do), or what your deployment environment looks like, your hosting provider,…

[flagged]

Re: Ask HN: Any advice on how to learn good software architecture practices?

#23
Building something real from scratch, like a small SaaS or side project, can help you learn a lot.

Using AI is not a bad thing in itself, but you should treat it as an assistant rather than a crutch. When AI gives you an answer, ask yourself "why this approach?" and evaluate the response critically from multiple angles. When you build with that mindset, you naturally develop good architecture instincts, both by understanding the AI's reasoning and by pushing back on it.

Personally I would recommend starting with a Discord bot. I started learning programming by building a discord bot with dashboard before ChatGPT existed, and looking back it was a surprisingly good way to develop architecture sense. The scope is flexible, even if it is built just for yourself, it can grow as complex as you want. You can keep adding features over time, and every new feature forces you to think about how it fits into what already exists. And that friction is where the learning actually happens.

Re: Ask HN: Any advice on how to learn good software architecture practices?

#24
Good software architecture - that allows to avoid mistakes that costs you a lot at the end. So you need to see many systems with that mistakes and see what did the become at the end, than you will be able to spot bad decisions at the very beginning. So path of tries and mistakes and gaining experience. Without experience even if you read or learn some good practice - without deep deep understanding why it is good - you can badly apply it

Re: Ask HN: Any advice on how to learn good software architecture practices?

#27
i'd say by practice is the fastest one, just making something - then looking at some part and searching how to improve it or how to make it more efficient, then you find the architecture designs someone is using and start testing it on your own code. This way you can fully understand and explain the impact of applying it.
Post reply on HN