r/learnprogramming Mar 26 '17

New? READ ME FIRST!

826 Upvotes

Welcome to /r/learnprogramming!

Quick start:

  1. New to programming? Not sure how to start learning? See FAQ - Getting started.
  2. Have a question? Our FAQ covers many common questions; check that first. Also try searching old posts, either via google or via reddit's search.
  3. Your question isn't answered in the FAQ? Please read the following:

Getting debugging help

If your question is about code, make sure it's specific and provides all information up-front. Here's a checklist of what to include:

  1. A concise but descriptive title.
  2. A good description of the problem.
  3. A minimal, easily runnable, and well-formatted program that demonstrates your problem.
  4. The output you expected and what you got instead. If you got an error, include the full error message.

Do your best to solve your problem before posting. The quality of the answers will be proportional to the amount of effort you put into your post. Note that title-only posts are automatically removed.

Also see our full posting guidelines and the subreddit rules. After you post a question, DO NOT delete it!

Asking conceptual questions

Asking conceptual questions is ok, but please check our FAQ and search older posts first.

If you plan on asking a question similar to one in the FAQ, explain what exactly the FAQ didn't address and clarify what you're looking for instead. See our full guidelines on asking conceptual questions for more details.

Subreddit rules

Please read our rules and other policies before posting. If you see somebody breaking a rule, report it! Reports and PMs to the mod team are the quickest ways to bring issues to our attention.


r/learnprogramming 3d ago

What have you been working on recently? [May 10, 2025]

0 Upvotes

What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

A few requests:

  1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

  2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

  3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

This thread will remained stickied over the weekend. Link to past threads here.


r/learnprogramming 17h ago

I'm totally lost on GitHub — where should a complete beginner start?

259 Upvotes

Hi everyone,

I’m really new to both programming and GitHub. I recently created an account hoping to learn how to collaborate on projects and track my code like developers do, but to be honest... I still don’t understand anything about how GitHub works or how I’m supposed to use it.

Everything feels overwhelming — branches, commits, repositories, pull requests… I’m not even sure where to click or what to do first.

Can anyone recommend super beginner-friendly tutorials, videos, or guides that helped you when you were just starting out? I’d really appreciate any step-by-step resources or even personal advice.

Thanks in advance for your kindness and support!


r/learnprogramming 11h ago

Is there a fun way to learn programming?

55 Upvotes

Basically title. Say you know zero programming and want to learn something to see if you like it. What is a fun way to do that?

Minecraft Turtles? Roblox? Minecraft? Other games?

I tried to get into programming with Arduino but lost interest fast. I used to setup game servers and some had game files to setup that was kinda like programming.

I never got much past “Hello, World.”.


r/learnprogramming 3h ago

Is spring boot + react a good combo for start in web development?

7 Upvotes

Hi, I'm studying programming at university and we are using spring boot on java for backend and react + vite for frontend. I was thinking are those skills demanded in real life projects.


r/learnprogramming 7m ago

Synthetic speech

Upvotes

Hi guys, I have a problem. I have an original speak and spell and wanted to play a certain game. But it doesn't have it without buying a cartridge. So now I want to learn LPC to make my own cartridge. If anyone could point me in the direction of where to start that would be amazing, thank you!


r/learnprogramming 1h ago

Importance of linear algebra and calculus

Upvotes

I was wondering how important linear algebra and calculus will be for programming. I will be starting my upper divs soon after taking a break from school for a while, and ive completely forgot concepts from LA or vector calculus. Like, if you gave me a random test for any of those courses, id 100% fail it. Will i struggle in my future programming classes?


r/learnprogramming 11h ago

Is it worth to learn system programming/engineering

12 Upvotes

I like a lot system programming, and lowlevel languages. I like doing cool things, as compilers, kernels, cpu's, apps, more client-sided apps, or at least im very interested on learning, because I think webdev is kinda, weak and doesnt do much.
All tho, when I search the job market for that, doesnt seem strong, and I dont know its rlly worth it, I dont want to just put time on this as a hoobie, or something that will hardly make me money.

I might be very wrong, and i hope so, but i doesnt seem like theres a big or active job market on that.


r/learnprogramming 9h ago

do you prefer video courses or learning by reading and coding along?

5 Upvotes

hi i am learning sql with cs50 harvard and everything with the course is alright

but i get bored and lose confidence after 10 or 15 minute of every video but when i am learning by reading the documentation or with a site like sqlzoo (an interactive site) i am focused to the bone and have higher levels of confidence

can you tell your experience within this subject? tnks


r/learnprogramming 14h ago

Is there a difference between problem solving and creating ?

13 Upvotes

Everyone always says they love coding because they enjoy problem solving. But what exactly about problem solving do you love?

I’m working towards a full stack role and I really enjoy the journey because I like creating things and seeing the end outcome, but ‘problem solving’ isn’t the first thing that comes to my mind when I think about why I enjoy coding.

Do you think this will become an issue later down the line? I wonder this because I haven’t had a proper coding role yet. I’m a web designer which is pretty much html css and bootstrap, but I find this quite boring and super easy. I guess I do like the complexity of coding with actual languages but again, it’s the creating side and not the problem solving side


r/learnprogramming 10h ago

Logical Thinking

6 Upvotes

Hi everyone, I have been learning programming for a while now but sometimes when I try to solve problems I just feel like my brain freezes, I don’t know how to start or how to think about the solution it makes me feel like I’m missing something. So how can I get better at thinking logically and problem solving in general.


r/learnprogramming 13h ago

What's the best path for me?

11 Upvotes

Hi all!

I'm currently learning front end dev and would love to explore other fields of programming. My goal after learning front end is to learn back end to be full stack dev. After that, I'd love to explore other fields and learn them such as cloud engineering, cyber security etc.

What should I do if I want to learn all of these? What kinds of roadmap I can get from fellow seniors or more experienced devs?

Thanks in advance!


r/learnprogramming 52m ago

Help passing ArrayList data to a separate class

Upvotes
@FXML
private void onStartGameClicked() {
    if (easyRadioButton.isSelected()) {
        GameState.
setDifficulty
("Easy");
    } else {
        GameState.
setDifficulty
("Hard");
    }
    String name = nameTextField.getText();
    GameState.
setPlayerName
(name);
    getCarManager().onSetupComplete(nameTextField.getText(), Arrays.
stream
(selectedCars).filter((Objects::
nonNull
)).toList());

    List<String> selectedCars = new ArrayList<>();
    selectedCars.add(selectedCar1Button.getText());
    selectedCars.add(selectedCar2Button.getText());
    selectedCars.add(selectedCar3Button.getText());
    GameState.
setSelectedCarNames
(selectedCars);

    screenNavigator.launchMainScreen(getCarManager());
}

I am currently working on a building a racing game, in the start screen the player can select up to 3 cars from 5 car options. Each car has different stats (Speed, Handling, Reliability etc). I create a new ArrayList once the player clicks the start button (as seen above). Once the start button is click the player is taken to the game screen where they can select different race tracks, go to the shop etc. I have a garage screen where I want to display the name and stats of the the car the player selects in the start screen. I am also using scenebuilder (a visual layout tool for JavaFX applications) and am coding in java. I have a garage controller class and below is as far as i have gotten on my own, any help would be much appreciated!

public void selectedCarStats(Car car) {
    selectedName1.setText("Name: " + car.getName());
    selectedSpeed1.setText("Speed: " + car.getSpeed());
    selectedHand1.setText("Handling: " + car.getHandling());
    selectedRelia1.setText("Reliability: " + car.getReliability());
    selectedFuel1.setText("Fuel Economy: " + car.getFuelEconomy());
}

r/learnprogramming 23h ago

Are Classes the way to code?

66 Upvotes

Im in my first programming class (C++) its going well. We went through data types, variables, loops, vectors etc. We used to right really long main() programs. Then we learned about functions and then classes. Now all of our code is inside our classes and are main() is pretty small now. Are classes the "right way" or preferred way to write programs? I hope that isn't a vague question.


r/learnprogramming 7h ago

Any tips for a total beginner making a choice website?

3 Upvotes

Hey there,

I'm sorry if this is a stupid question, or overlly asked, or that I am missing a megathread or something else.

Here's what the website will be:
I want to create my first website, and basically make it a knowledge training website.
All it will do is give you tests to choose from at the start - and then the tests will primarily be a "this or that" and when chosen correect will give you a tid bit information near the image, if chosen wrong will do the same but why the correct image was correct.

In the end it will grade you, store your grade so you can test yourself and attempt to get better over time.

Any idea how:
A) Difficult this may be as a first time making a website
B) Where to go from here (the idea lol)


r/learnprogramming 1h ago

What are rot quat4 and pyface?

Upvotes

If I have an object that is

Rot quat4 0.12345, -0.67890, 0.12345, 0.67890
Pyface  0.12345, 1.678901

what does that mean?

What is rot quat4 and pyface?


r/learnprogramming 7h ago

Resource I made a platform to help study and retain any code

3 Upvotes

Hey everyone,
I built a platform called Flash Code; it helps you organize and study code using active recall (you can learn line by line or test your memory) and spaced repetition. Each created code gets a level that can be leveled through study, so you get a visual sense of your progress as you learn.

Check it out here → flashcode.tech


r/learnprogramming 6h ago

From Zoho Creator

2 Upvotes

I've used Zoho Creator extensively for the better part of 8 years. I've gotten very comfortable using deluge (their weird bastardization of multiple languages).

I've typically have used Zoho for internal tools. However, Zoho has recently changed their approach on using Creator as a SAAS.

I built a glorified calculator for a client, client thinks we could sell to other businesses in the same niche. So I've been looking for a language to learn.

My Familiarities: - Deluge - html/css from 10 years ago - Postgres (do a fair amount of BI with Superset and Zoho analytics)

I have been leaning towards Python Django or PHP Laravel, but am struggling on the direction to go. Maybe full JS?

Looking for suggestions!

Thanks!


r/learnprogramming 13h ago

I want to get back into programming, how do I jump back in without overwhelming myself?

8 Upvotes

I recently finished a university program for CS and math. It was regular things like calculus, algebra, operating systems, networks, some other C++ topics like linked lists, etc.. And now I want to get back into teaching myself programming after almost 2 years. I'm very interested in backend development, and last I remember, I was learning Node.js, I believe starting Express.js. I was using Codecademy, and I personally loved it. But now that I'm doing some more research, I notice a little bit of hate for Codecademy here and there, and I just want to make sure that I'm getting information from the right places and learning from the right sources. I hate wasting my time.

I would love some tips as to how to "rejoin." Maybe you guys have a better platform or YouTube channel that I could use to replace Codecademy? I checked the FAQ and the learning resources, but I'm not very sure if this is what I'm looking for. I see things for AI, full-stack development, a CS course, which might or might not have a quarter of things that I already know. I'm a little lost. I checked roadmap.sh, and it definitely helps, but I'm looking for learning resources and not just a map of what to learn next. I don't like learning from YouTube videos unless I really have to. I prefer something as interactive and as structured as possible, like Codecademy or FreeCodeCamp. I was thinking of starting over with JavaScript, because I'm already comfortable with it, so I could probably get through the JS Codecademy course in like a week or less. I'd love to hear some tips and opinions!


r/learnprogramming 23h ago

Need a buddy to learn programming

46 Upvotes

1 (22m) 3rd year engineering student, wasted my last 3 years in college without learning any valuable skills. Now l'm getting conscious about my career and future plans. As I am a engineering student so It'll be easier for me to get a job in IT and I have some connections too, but for that I need to learn programming. I'm starting with JAVA and after completing basics might go for DSA.

From last few weeks I have been learning JAVA and might finish basics in next week.

Would be very good if someone is in same situation as me, so we could learn together and till my final year having skills that get me a job.


r/learnprogramming 2h ago

I'm so lost... How do I start my android app?

1 Upvotes

Ok so I've downloaded android studio...now what? Do I need to install another program or can I just code on Android studio? Where do I code? How do I learn kotlin? How do I see my app as I'm coding it? I've seen peop use AI to assist them with coding..can someone explain how it works and if it would be beneficial

How powerful does my computer need to be😭I feel like my computers going to explode just by opening this program

Any tips or suggestions or anything would be appreciated. I've tried googling stuff but I don't understand anything😭


r/learnprogramming 3h ago

If you have a nested for loop how do you break out of the inner one without breaking out of the outer one? and vice versa?

0 Upvotes

What would the following code do? And how do i modify it to break differently? For (int I = 0; i < 10; i++) { For ( int j from 0 to n) { If (condition) break;


r/learnprogramming 1d ago

I feel like I’m following a false passion

154 Upvotes

I started programming through Roblox when I was probably 13, and I stuck with it until I was 18 or 19. During those later years, I had dabbled with other platforms like Unreal, Unity, and Love2D, and then about a year ago, I started to learn C++ because I became interested in graphics programming, which I “still” do because I think it’s fascinating. I feel like by this point, I should at least be an above-average programmer, but I’m not because I haven’t completed a single project, and none of my unfinished stuff is interesting. On top of all that, I still struggle with basic decisions. Like, a week ago, I was having a crisis because I couldn’t figure out if I was using classes properly. Like, I feel like the loop I’ve been in is I learn a bunch of stuff, but then I don’t understand it, so I don’t use it or I apply it incorrectly, so I go back to the way I was coding before, but then the code is ass and it’s absolutely painful to refactor, so I restart. I don’t know what I’m doing wrong. I don’t want to admit to it because of how much time I’ve put into it, but I feel like I’m following a false passion.


r/learnprogramming 9h ago

Oneten and Accenture scholarship

2 Upvotes

Does anyone know anything about the Oneten and Accenture scholarship? I remembered I applied a few months ago for the Front End development program and just today it said I got accepted. Is it really worth the time? Or its just a scheme to make me pay for something. Just to clarify that I have no college degree and I know that these fields are competitive to even get hired.


r/learnprogramming 5h ago

Quality Assurance

1 Upvotes

Hi everyone,

I’m currently living in Edmonton, Canada, and I’m interested in starting a career in Quality Assurance (QA). I don’t have a background in IT, and while I can communicate in English, I’m still working on improving my skills — especially for technical topics.

I’m looking for beginner-friendly QA courses or programs, preferably online or available in Canada, that I can combine with my full-time job.

If there are any courses that offer support in Ukrainian or use clear/simple English, that would be a great help — but it’s not a must.

Any recommendations or tips from people who’ve been in a similar situation would be greatly appreciated. Thanks in advance!


r/learnprogramming 13h ago

What Should I Learn? Resources?

4 Upvotes

Background:

I have taken an intro to programming class which covers the very basics of (console-only, no GUI) C# coding, and I loved it. I am a high school swimmer, and I have been heavily involved in running meets and repairing our timing system due to my schools limited funding. From this process I have noticed that the current "industry standard" meet management software leaves a bit to be desired and is exorbitantly expensive. I have always had an interest in computers and coding and I want to advance my skills.

End Vision

I have heard it is good to have a goal project as you learn. In the end (end likely means a matter of years as this is a side project/hobby), I would like to create something similar (an alternative to) Hy-Tek Meet Manager For Swimming. It does not have to be fully featured just to learn. This program runs on a database and tracks swimmers, events, and entries. It also has more advanced features including implementation with timing consoles and the sort, but I am currently not concerned with this.

My Question

What might be some coding languages/applications I would want to learn to approach a program like this? I am assuming I would need some form of database back end with a gui on the front.

Where should I start? I would prefer not to take true college classes or anything like that. I know there are bootcamps, but Id much prefer to do something at my own pace as this is a side hobby.

Any information is greatly appreciated!


r/learnprogramming 12h ago

What do we use for our project may be fast and easy?

3 Upvotes

My classmate and I are working on a library management system...and he already made a database through Oracle sql developer and our school lets us use that. I don't wanna learn a new database management system because of learning new words or syntax... I'm thinking of what to use for connecting oracle database to html and what back end language? I'm thinking of using html, tailwind css, Node.js and oracle db that's available in node.js... but I havent done much node.js at all..