r/computerscience • u/orcaEnigma • 6d ago
How do you choose the right architecture when you're still a beginner?
Hii! I'm a 3rd year CS student building a platform that uses recommendation systems. My goal is not just to make it work, but to understand how these systems are designed and implemented.
I'm struggling with technical decisions, should I start with a frozen MiniLM model + classifier, fine-tune it ...etc etc or use another approach?
As someone relatively inexperienced, how do you know which architectures, tools, and resources to trust and choose for your specific project?
I'm not trying to build a massive, overly complicated system. I just want to make reasonable, well informed technical choices while learning along the way.
So please help me, How do you approach architectural decisions when you're still learning?
12
u/huuaaang 6d ago
It does not matter. At all. Seriously. Just do whatever interests you. You are not stuck doing what you start off with. Don’t overthink it.
11
u/jpgoldberg 5d ago
You typically do it badly. And you learn.
Just pick one and do it. You will make architectural mistakes. But that’s ok as long as you learn from it.
4
u/Yord13 4d ago
"You cannot teach beginners top-down programming, because they don't know which end is up"—Tony Hoare
Pick up each end first, learn which one is up in which situation, and then learn top-down programming.
3
u/caboosetp 6d ago edited 6d ago
It depends on what you're trying to learn.
If you just want to make a system, pick what looks like the smallest architecture that will work. Make sure it has well defined boundaries so you can swap it out later if it's not enough. Wait until it doesn't work, and then make a new one to drop in.
If you want to learn how certain architectures work, just go ahead and use whichever one you want to learn.
The most important thing is to get over the decision paralysis and start coding. Roll a dice if you need to. You will learn more about what you need as you start working on it. Otherwise you are taking guesses, and trying to calculate the best from guesses gets you no where fast.
ETA: I just saw this word in your post
You gotta read about stuff to know what to trust. If you're asking what you can trust to work, you can read about what people use it for. Worst case if it doesn't do what you want then you try again with something else. If you're worried about something containing malware, you should stick with things that have a ton of reviews and downloads.
But ultimately it comes down to you have to just pick stuff and go forward. The more you learn about what you need, the more you'll be able to ask pointed questions.
2
u/spidermask 6d ago
You don't, really. You can look into similar work and take some ideas but sometimes it might not work for you.
When you're done, you'll see that you could've done some stuff entirely differently and that's usually when you learn.
2
u/hotel2oscar 5d ago
College is the perfect time to try out various things and figure out how they work. This will continue on into your working career and over time you will build up an intuition for what might work for a given task. Don't try to overthink it. Do some basic research and give it a whirl.
2
u/frobnosticus 5d ago
What you do, genuinely, is not worry about it.
Don't reach for tools you don't need, and don't try to create art. That comes with experience and a LOT of scars :)
2
u/Beautiful_Egg_371 5d ago
Boring advice, but start with a well written paper on the topic. That will usually cover ablation and design choices. Work your way from there
2
u/devnullopinions 5d ago
Just try stuff out. Expertise comes from studying others and your own experiences.
2
u/FortyThousandBees 2d ago
Genuinely, use a coding agent (I recommend Claude because it's not really trained to kiss your a** like most other frontier models) to build a system that seems interesting to you, but have the agent help you write out a spec first, and make sure the agent knows you're the one making all the design decisions. I typically word my prompt as "help me identify any ambiguities in this specification and ask me how to resolve them". The agent knows what all the reasonable and well-established architectural decisions are for the kind of system you're trying to construct, so it will be able to show you what architectures are standard in practice, and, because this is ideally something you actually are curious about, you'll actually find it exciting to learn what the agent is showing you, and, if you're anything like me, you'll find yourself learning a whole lot more than you thought you could using a coding agent.
1
u/[deleted] 3d ago
I would really recommend using a coding agent, but being clear with it that you want it to have you make all the design decisions. I think you'll find yourself understanding your own systems more than you ever thought you could with claude code :)
1
u/thefinest 1h ago
You don't.
Instead you defer choosing to someone who is not a beginner and has the requisite expertise to make the best choices. Observe, ask why and maybe the next time you'll be the one explaining your architecture choices to the next n00b
TLDR: Beginners don't make these decisions