r/learnprogramming • • Nov 01 '26

is this what software engineering is?

So I'm reading Gabriel Gambetta's guide on Multiplayer Architecture. I want to make an authoritative server that sends info to a webapp where the actual game is happening. However, there's not code involved. It's not a tutorial 😭. It's just a rough layout of what the architecture is supposed to look like, and all the nitty bitty details, like what code you're supposed to write to get the information from the webapp, process it through the server, how to run a fixed update loop every number of miliseconds, etc. are things youre supposed to draw out and search up on your own. This might be a stupid post, but like damn.

0 Upvotes

17 comments sorted by

3

u/johlae Nov 01 '26

You must be overthinking things, because you are writing a document.

2

u/Drairo_Kazigumu Nov 01 '26

im talking about gradually building up the architecture. like I never built a project where I did that since I'm a noob for my recent projects I just had AI give me the architecture and just learn that way. It's pretty cool. though, to figure out what I need before implementing things. but then I also need to figure out what classes and methods to make and what files do what and yada yada.

41

u/seiggy Nov 01 '26

Architecture != Code. Correct. You need both. Architecture is language agnostic. If you understand how to write code, you should be able to take his architecture and write it in any language. Typically you learn to code first, and then you learn to architect systems after.

11

u/[deleted] Nov 01 '26

[removed] — view removed comment

3

u/LangyMD Nov 02 '26

I'd say architecture is less like a specific recipe and more like the concept of a recipe.

2

u/Sir_lordtwiggles Nov 02 '26

Architecture is navigation instructions where as coding is actually driving the route.

You'll have to choose your speed, lanes, and manage small hurdles.

you may find that your choice of car needs to deviate from the route due to needing fuel, or a road closure.

6

u/link23 Nov 01 '26

That's one aspect, yeah. Another is making sure that the architecture you settle on is going to be maintainable over time. (The Google SWE book famously says that software engineering is "programming over time", to distinguish it from just "making the program work".)

3

u/mxldevs Nov 01 '26

Architecture is a high level design that describes at a glance how your system works.

It you want to know more about actual implementation, you will need to go and look at what's available.

Maybe there are frameworks available that someone has already written. Maybe your engine has its preferred way of doing it. Maybe you need to build everything yourself.

Software engineering is everything from designing the solution, to picking the tools, to using the tools to produce the result.

2

u/realmauer01 Nov 05 '26

Yesn't. But yeah. That's why programmers aren't that scared of ai replacing them yet.

1

u/martinez-k60 29d ago

Yep, the diagram gets you to the edge of the pool and then says "swim." Start with one browser sending one message to one server; the fixed loop and multiplayer bits get less mysterious once that tiny version works.

-9

u/CentralCypher Nov 01 '26

Yeah always felt like coding was gate kept, nobody talks about actually coding and writing literal code. Just vague hints at ideas and everything else is just inferred. LLMs are the only ones who do actually share code and talk about it rather than just scoff at you for not knowing everything already.

10

u/aanzeijar Nov 01 '26

Coding is so gate-kept that there are only a few billion lines of code free to look at and learn from in every language and for every possible use out there.

1

u/ryan_the_leach Nov 06 '26

To be fair, and play devils advocate, most open source code is copy left, and thus can't be used for commercial purposes by lifting it out.

I know I was looked down on by my employer when I was mentioning using code (that we were allowed to use!) because they thought they'd have legal issues and being unfamiliar with the topic of software licensing and erring to the side of caution.

1

u/aanzeijar Nov 06 '26

Part of my work touches on legal compliance and yeah, massive headache for larger companies. Anything with GPL attached is avoided like the plague. And it's even worse with safety critical code where you get ancient certified compiler suites with more legalese than source code.

But that's an entirely different topic than a programming learner complaining that coding is gate kept because an architectural overview expects the coder to be able to implement the primitives themselves.

1

u/ryan_the_leach Nov 06 '26

It wasn't GPL is the thing, it was answers on stack overflow.

5

u/throwaway6560192 Nov 02 '26

What does this even mean? There are tons and tons of free resources online which walk you through the basics of writing code. And many people who will help you (also for free!) by hand-holding you personally when needed.

Programming is possibly the least gate-kept hobby or profession in the world.

1

u/ryan_the_leach Nov 06 '26

It's because you aren't just supposed to copy code for a given task. Either your situation isn't unique, so use a frame work, an engine or write one.

Or your situation is unique, and other people's code won't suite.

Working in the industry, the amount of people actually capable of solving new problems themselves is so low, I wonder why they got hired in the first place.

Learn how to solve problems, and you can adapt to any situation.