r/learnprogramming • u/Saganor • 27d ago
I feel like an intermediate programmer but a useless dev
Looking for advice. I am a mostly self taught programmer (did a high school course on Java that was very rudimentary). I have played around with gamedev mostly and think I can code pretty well. I mostly use C# with monogame, unity or godot but have played with C++, python and have used MATLAB in my uni studies. But I have encountered a problem, even though I feel like an intermediate coder and programmer I feel like I cannot "develop" anything. Like writing a script thst does something or even classes with inheritance structure I can do, and sometimes even make a whole system but I really struggle with connecting sydtems into a larger whole. I also feel like I dont quite understand some words commonly used. Like I understand konda what a library is and how you use it, but why do I need to compile some using cmake, some come preinstalled and some need to be installed with commands I dont understand. And what is a service? Everyone talks about services on the cloud or on the local network and I just dont quite understand what it is. Most of them I can intuit what they kinda do, but how do I underdtand them? I feel like I am missing keywords to search to learn more. How can I go from a programmer to a dev? Whst technologies do I need to learn? Resources? Thanks in advance
5
u/SeaTeaching3550 27d ago
Instead of learning bunch of programming languages, you need to learn software engineering concepts. Learn about system architecture, networking, databases, APIs and deployement. pick any programming language and do a project that requires all of these and even more and learn them as you go on with the project.
7
u/MyNameIsRichardCS54 27d ago
Don't rush to code. Design the system first using a design language like UML. Get the design right and the code practically writes itself. Have a medium sized project in mind but start by designing the minimum viable product, coding that and getting it working. Then you make multiple iterations where you add features or debug. Have a specific goal in mind for each iteration.
Congratulations, you've basically done iterative waterfall development and that's the basis for agile which is one of the current software development methods.
3
u/mikedensem 27d ago
If you’re only using C# within mono/Unity, you’ll never see the big picture. Mono is a contracted implementation based around two methods. Instead read the MS dot.net documentation (it’s excellent) and learn to write a wide variety of software.
Services vs Applications vs daemons vs etc.
All programs eventually need to run on the CPU, but mist are written in a more friendly language.
Eventually they have to be translated to machine code so the cpu can understand them. Every cpu has a set of commands to do basic stuff. Every program needs to be translated into those commands. Either compiled or interpreted (each language specifies its own preferred way…)
A program that responds to a users input is often called an Application. It id started and stopped by the user.
A program that waits for something to happen, then does something in response is often called a service.
A program that monitors a communication port and does something in response to a request on that port is often called a daemon.
Different names for different purposes, but all just programs. You start an application. The system starts a daemon. Service can be started by either - no rules just a convention.
2
u/Aggressive_Ad_5454 27d ago
Our trade is vast, and we can’t understand it all.
Analogy: you’re a carpenter building a house for your family. You need doors and windows. You could fabricate those doors and windows yourself from glass and hinges and wood, or you could order them from a lumber yard and install them in the house. You’d be crazy to try to make them yourself. It will take all winter and snow will blow through the house in the meantime. Your spouse will take your kids and move back in with her mother. 😀
Libraries are those doors and windows. They’re components you use to build the house. Think Lego. But for making permanent things.
Some libraries are prepackaged. Various programming languages have packaging standards - npm, nuget, maven.
Others come as source code and you need to follow their directions to compile and use them.
Work through some tutorials, like the Odin Project, that yield a working app of some kind. That will show you the way these Lego-like development efforts work. Always Kego, never Jenga, please!
2
u/SwiftQuest 27d ago
what you're describing is really normal, the gap is mostly vocabulary. a library is code you pull into your program, some ship precompiled and some come as source so you have to build them first, which is where cmake comes in, and package managers (apt, pip, npm, nuget) are just the tools that download and wire them up for you. a service is just a program that runs on its own and other programs talk to over a network, usually over http, like a database server or an api. the best way to connect systems is to build one small thing end to end, like a tiny web api with a database behind it, and you'll hit all those words naturally.
2
u/mc_pm 27d ago edited 27d ago
Ok, not what you want to hear, but if you can't sit down and start programming then you are not "an intermediate programmer". That's like saying you're an intermediate driver when you can't get in a car and start driving - I think people would agree that such a person isn't a driver at all.
That's not meant to be harsh, just setting a baseline for reality. There is a lot of stuff to know, a lot to learn, a lot to practice - a LOT more than people would imagine. It is a hard, long process in order to get good at it and you need to be writing code - a lot of it. All the time. For a few years.
2
u/Otherwise_Mine_6192 27d ago
Cmake exists because you are writing code that is not managed by a high level runtime like the CLR. Your C# projects compile because the .NET framework handles memory management and type resolution for you automatically. In C++ or with libraries like SDL2, you must manually instruct the compiler on how to link these binary files together which is why build tools are necessary.
A service is just a program running in the background that listens for network requests instead of waiting for user input. When developers talk about microservices they mean breaking your large monogame application into smaller separate processes that talk to each other over sockets rather than direct function calls.
1
u/Direct-Ad3630 27d ago
Normal gap: coding vs. software engineering. Search these:
Best practice: make your game send scores to a small web API that saves them in a database. That one project teaches most of it.
Check roadmap.sh (backend path).
1
u/mxldevs 27d ago
If people are using terms you don't understand, you then go and read about it. Like have you tried looking up what a service is or what a compiler does?
What makes someone competent is when they aren't sitting there expecting people to give them answers.
1
u/ledatherockband_ 27d ago
Start small. Build. Iterate. That's how you learn to write a large system. Pick a pattern that helps you organize your code.
For applications, I'm a fan of hexagonal architecture + domain driven design.
1
u/Far-Bullfrog161 27d ago
What you're describing is the gap between writing code and building software, and it's mostly about learning how pieces talk to each other rather than learning more languages. A "service" is just a program that runs continuously and does work for other programs, usually over a network, for example a web API that takes HTTP requests, talks to a database and returns JSON. The library confusion comes from build tools and package managers: C++ has no standard one, so CMake is used to describe how to compile and link things, while C# has NuGet, Python has pip and Java has Maven or Gradle, which download libraries and build your project for you. The quickest way to close the gap is one small end-to-end project: a backend API in C# with ASP.NET Core (or Java with Spring Boot), a real database like Postgres, and a simple frontend or even a command-line client that calls it, all running together with Docker Compose. You'll run into configuration, dependencies, ports, environment variables and logs, which is exactly the connecting-systems skill you feel is missing. After that, reading about HTTP, REST and how databases work will make far more sense because you'll have a mental picture to hang it on.
1
u/edwbuck 26d ago
You know the language. You need to learn to use it to solve problems.
Solving problems is not the same skill as programming, even though the two are related. So develop the skill you are missing. Pick a problem, even if it is a solved problem, and solve it with your programming skills. This will be hard, because you are excising the weakest parts of your skill set.
Just don't give up, and eventually the skill in this area will increase.
1
u/Both_Bend_2481 20d ago
Practice coding more things. Read more about things, like with Google. cmake isn't some secret thing.
1
u/dota2nub 27d ago
Your questions are easily answered:
4
u/[deleted] 27d ago
[removed] — view removed comment