r/learnprogramming • • 1d ago

Has anyone here actually started from zero and made money from programming within 6 months?

0 Upvotes

Hey everyone,

I'm 26 and recently started learning Python through Harvard's CS50 course. I'm going through a difficult financial period and trying to build a better future.

I'm willing to dedicate around 3 hours a day to learning, but I'm curious about real experiences rather than motivational advice.

Has anyone here started programming from scratch and managed to earn their first money within 3–6 months?

If so, what did you learn, what was your first paid project, and how did you find your first client or job?

I'm also curious whether AI tools made that journey easier, or whether the current market has made it harder for beginners.

I'm not expecting to become a professional developer in six months. I just want to know what's realistically possible.

I'd really appreciate hearing your stories. Thanks!


r/learnprogramming • • 1d ago

Advice Software Engineer Role Requirments

0 Upvotes

Finishing my associate in computer systems i have an interest in database and game development so
Im looking towards those industries but i have no clue on how to sell myself in a way my resume list languages i know and learned through college with some projects that i have worked on both in school and at home and i have not heard back and the jobs that im looking to apply seems way out of my league

So im looking for advice on what i can do to really achieve getting my foot in the door

To add im also continuing my education for bachelors with either a pathway in software engineering and or database administration


r/learnprogramming • • 2d ago

hi, i started learning cpp by myself since about 2 weeks ago, and i wrote my first useful simple program. the thing is that cause i learn by myself i don't know where my level is, so i wrote this program as a hope someone can judge me based on the simple first program i wrote.

21 Upvotes
/*
i learned file reading and writing
data types like int, strings
data saving, declaration, initializing, and defining
arrays and vectors
integrating vectors and file reading and writing
enums and the enum class
functions
calling functions and etc

so basically, this simple program asks you to write a password and a username and points you want to save
then it will save them in a text file called "users"
then it will ask you to write the pasword and username
then it will dispaly a comment depending on your points count
and if you run the program again and wrote a new saved password and username, then used the old passwerd and username, it will judge you based on that

and thanks!!
*/

#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <vector>
struct user {
std::string username;
std::string password;
int points;
};

enum class Ranking {
Trash,
Intermediate,
Advanced,
Legendary,
Mr_VIP
};

Ranking getrank(int points)
{
if (points < 250) return Ranking::Trash;
if (points < 500) return Ranking::Intermediate;
if (points < 750) return Ranking::Advanced;
if (points < 1000) return Ranking::Legendary;
return Ranking::Mr_VIP;
}

void addUser(std::string username, std::string password, int points)
{
std::ofstream file("users.txt", std::ios::app);
file << username << " ";
file << password  << " ";
file << points << " " << "\n";
}

std::vector<user> loadUsers()
{
std::vector<user> users;
std::ifstream file("users.txt");
user u;
while (file >> u.username >> u.password >> u.points)
{
users.push_back(u);
}
return users;
}

int main()
{
std::string savedUser;
std::string savedPass;
int savedPoints;

std::cout << "Enter the username you wanna save: ";
std::cin >> savedUser;
std::cout << "\n";

std::cout << "Enter the password you wanna save: ";
std::cin >> savedPass;
std::cout << "\n";

std::cout << "Enter the points you wanna save: ";
std::cin >> savedPoints;
std::cout << "\n";
if (std::cin.fail() || savedPoints < 0)
{
std::cout << "Error!!!\n";
return 0;
}

user u;
u.username = savedUser;
u.password = savedPass;
u.points = savedPoints;

system("cls");

addUser(savedUser, savedPass, savedPoints);

std::vector<user> users = loadUsers();

for (int attempt = 0; attempt < 3; attempt++)
{
std::string iusername;
std::string ipassword;
std::cout << "Enter your username: ";
std::cin >> iusername;
std::cout << "\n";
std::cout << "Enter your password: ";
std::cin >> ipassword;
std::cout << "\n";

bool found = false;
int foundPoints = 0;

for (const user& u : users)
{
if (u.username == iusername && u.password == ipassword)
{
found = true;
foundPoints = u.points;
break;
}
}

if (found)
{
std::cout << "logged in successfully!\n\n";

Ranking rank = getrank(foundPoints);

switch (rank)
{
case Ranking::Trash:
std::cout << "You are trash\n";
break;
case Ranking::Intermediate:
std::cout << "You are intermediate\n";
break;
case Ranking::Advanced:
std::cout << "You are advanced\n";
break;
case Ranking::Legendary:
std::cout << "You are legendary\n";
break;
case Ranking::Mr_VIP:
std::cout << "You are Mr. VIP\n";
break;
}
return 0;
}
else
{
std::cout << "wrong password or username, try again\n\n";
}
}

std::cout << "too many failed attempts!!!\n";
return 0;
}

r/learnprogramming • • 2d ago

Debugging Advice on how to approach projects

6 Upvotes

i actually want to completely hand code a complete internship app.

I mean everything by hand , I will only use AI for research and stuff like that ,

I want to do it in python , use PostgreSQL for the database and use the SQLAlchemy library to convert the python variables and classes into database queries,

For the frontend , I would like to use javascript, css and html ,

So , i humbly ask for guidance tips and how i should approach it , I have coded with python , made a few mini programs that i use for basic stuff such as cgpa calculation , solved a few leetcode problems,

I have learned Object orientated programming as well but I have never taken on such a huge project so anyone sort of tips or advice or what problems I might face or what I should learn throughly before i jump into this will be appreciated

Thank you .


r/learnprogramming • • 2d ago

I need help understanding a particular case of an improved for loop using an array as a parameter. (Java)

5 Upvotes

I am learning Java using Deitel's book. This particular for loop uses and array as a parâmeter but I can't understand exactly how it's supposed to work.

int lowGrade = grades[0][0];

for (int[] studentGrades : grades)
{
    for (int grade : studentGrades)
    {
        if (grade < lowGrade)
            lowGrade = grade;
    }
}

For all I understood, the improved for loop works the same as this other example here:

int total;

for (int counter = 0; counter < array.lenght; counter++)
{
    total += array[counter];
} 

But I don't understand how the first one could work in a similar way with an array as a parameter since in the example in the book, the array grades is a bidimentional array. What is that first for loop doing to the int[ ] studentGrades?

The books says something like: " The external improved for loop iterates through the bidimentional array grades assingning new lines to the parameter studentGrades.". How does that even work?


r/learnprogramming • • 2d ago

Solved Super simple question from a beginner beginner

4 Upvotes

I am following the coding tasks from an old post from here:
https://www.reddit.com/r/learnprogramming/comments/9c380n/heres_a_list_of_coding_exercises_to_help_get_you/?sort=new

and am at the 3rd and 4th Step. I assume I understood what is asked of me but my solution feels a bit too simple? And I am thinking I just found a solution but not necessarily for the question asked. Could someone double check if my code actually does what the task asks of me?

3.
Create a class called "Car" that has 1 variable called "licensePlate". Within the class, create a default constructor that sets "licensePlate" to 'Unknown' and a method/function called "getLicensePlate" that returns the variable "licensePlate".

Code:
class car:

license_plate = "Unknown"

p1=car()

def getlicense_plate():

print(p1.license_plate)

getlicense_plate()

4. Add a second Car constructor to our class that takes 1 input of type String. This is the license plate number. Assign the value of the inputLicensePlate to our variable licensePlate.

Code:
class car:

license_plate = input()

p1=car()

def getlicense_plate():

print(p1.license_plate)

getlicense_plate()


r/learnprogramming • • 3d ago

Topic Am I wrong for not feeling okay with completely surrendering to the AI agents?

108 Upvotes

Maybe this is mine OCD personality, but I just can't develop something if I don't completely understand the code. This makes my work significantly slower, compared to the pace where I would delegate everything to AI and just brute force towards some end goal.


r/learnprogramming • • 2d ago

Failed 4 programming exams in a row – I don't know what I'm doing wrong anymore

30 Upvotes

I started out studying electrical engineering and failed the programming exam there 3 times, even though it was just multiple choice. I switched to an easier university program, thinking it would be different, and I just failed again. This time it was a Python exam on the absolute basics: loops, strings, slicing, lists and simple functions. I got 33%.

The frustrating part is that I didn't just ignore it. I did all the weekly exercise sets, and before the exam I studied with practice quizzes and tracing exercises. When I go through it with explanations, I understand it. But on the actual exam it just doesn't come together.

So now I genuinely don't know what the problem is.

Am I studying the wrong way?

Do I just not know how to learn this kind of thing?

Or am I simply not cut out for programming?

If anyone has been in a similar spot and figured it out, I'd really like to hear what changed for you. How did you actually practice? What made it "click"?

Thanks for reading.


r/learnprogramming • • 2d ago

I want to build a tool to transfer liked songs between YouTube Music accounts but I have no idea how to start ?

5 Upvotes

so i have this annoying problem where all my youtube music liked songs are also showing up in my main youtube liked videos playlist and it's getting pretty messy.

i want to move all my liked songs to a separate google account but doing that manually would take forever since i have thousands of songs. i was wondering if there's any tool that can transfer all my liked songs from one youtube music account to another. something where i can connect both accounts and just transfer everything at once. or maybe select specific songs and playlists to transfer. it'd also be nice to have an option to remove songs from the original account after transferring them.

i couldn't really find anything that does exactly this so i'm thinking of trying to make one myself. if anyone knows something similar please let me know.

i'd also like to add spotify support at some point so people can transfer liked songs between spotify accounts too but that's something for later. for now i just want to figure out the youtube music part.

basically i want the tool to fetch all my liked songs and let me transfer my entire library to another account or select specific songs and playlists. and also remove songs from my liked songs because that's actually the main reason i want to make this. i do have some coding experience but i'm still a beginner so i'm not really sure where to start with something like this and also i know APIs and hosting can cost money but is there a way to make something like this completely free? like can i build and run the whole thing without spending anything? what libraries or technologies should i look into?

i mainly want to build this as a learning project. if i manage to get it working i'll probably put it on github so other people can use it too. just need some guidance on where to start and what approach would make sense.

not looking for anyone to build it for me. just trying to figure out how to get started. any help would be appreciated.


r/learnprogramming • • 1d ago

Topic Refuse to use Ai yet want a career with actual programming.

0 Upvotes

To put it lightly, this is not a conversation that can be solved with "oh you can still learn, you have to coach the ai". To which I say, THAT IS NOT THE REASON I AM WORKING FOR A CAREER IN THIS. If i wanted to correct something's homework for a living, then I would have become a kindergarten teacher.

I refuse to work with ai, saying that ai is a tool for you, is really dismissive towards the people that love the process of coding. I'm talking about the actuall passion within itself. The idea of manual coding. Not it's efficiency, time, etc. If there is no more manual coding in this space, then the career I wanted, is dead and gone.


r/learnprogramming • • 1d ago

Tutorial i want to learn cpp but dont know where to

0 Upvotes

im a 11th student.. i want to be a gamedev and i want to learn c++ and some other stuff before i enter into btech .....so i need videos to learn .....plz dont recommed me learncpp....i want video tutorials


r/learnprogramming • • 3d ago

PROTIP

11 Upvotes

If your C program "works sometimes and crashes other times," it's almost always undefined behavior — uninitialized variable, off-by-one on an array, or using memory after free. Run it with valgrind, it literally tells you the line. Changed my life in first year.


r/learnprogramming • • 2d ago

Resource Best book for learning C++

5 Upvotes

Hello everyone! As the title says, what book for learning C++ would you recommend? Specifically modern C++ 23, but also the general basics.


r/learnprogramming • • 2d ago

Simple Question About AI

0 Upvotes

So Im Still New In Programing, i had some experience on PHP,Python,C#(unity), and newly Native C# dotnet. But After end of 2023s im using ai as a "mentor" to accelerate learning. im not blindly copy paste ai code rather i ask ai how it can be done, like ask the architecture, the base code, example code, etc and writing on my own. usually on first itteration im using 100% my own code and then copy paste it to ai and ask if there was a bug or things that i can do better(for example architecture optimization) and on itteration 2 or so on its had AI on it.

My Question Are:

  1. is this good learing strategy?
  2. is this good for long term?
  3. is this what is referred to as "Vibe Coding"?

r/learnprogramming • • 3d ago

Spent a month learning C# and came out with zero fundamental skills.

80 Upvotes

I've seen a lot of posts about people who understand the concepts of programming after tutorials, but I've spent at LEAST 30 hours trying to learn from all sorts of programs, books, videos, and going hands on, but nothing seems to be working for me.

All I know is:
- If, else, else if,
- do/while loop
- variables

And I at best, only scratched the surface of them. I want to learn program for a career and for personal projects *game development and mod-making*, and this constant loop of looking for a way to learn has been incredibly discouraging and I just cannot grasp how all of these other programmers have learned how to do even the most simple things like arrays and methods. The advice I have gotten from them such as "apply it to your own projects" and "make something simple" have helped me solidify these few concepts, but I still can't move on from them. So this post is my last resort in this ambition of mine that I hold so much passion and ambition, yet no skill for. And if any of you have advice for what I'm doing wrong, I would greatly appreciate it.


r/learnprogramming • • 3d ago

Advice for a young developer?

17 Upvotes

Hi! I'm 16 years old and I'm a web developer. I've learned React and PHP/Laravel, and I'm currently working on improving my skills and building real-world projects.

If you could give one piece of advice to a 16-year-old developer who already has some experience, what would it be?


r/learnprogramming • • 3d ago

Resource Need help to learn something new

6 Upvotes

My Story:

I am a computer science student and my background/specialization is in applied AI. Recently I secured an internship from an AI-Cybersecurity related company. My seniors who have worked as interns over here said learn something related to system design stuff.

What I want to learn?:

This is something called AI + DevOps. Since I have a decent knowledge about AI I wanna start learning DevOps - system design, etc. etc.

How can you help me?:

I want a roadmap on how to start. Your experiences may help me in this. I want to know how you start and how you would start from scratch in this AI economy. From beginner to professional. Now I am planning on focusing on DevOps later on how to combine AI & DevOps.

A few of the basic computer science courses are done by my uni which are - DBMS, computer architecture, Operating systems (which i didn't like coz of my professor and will learn again in general), DSA & Algorithms

I know C/C++, Python, SQL.


r/learnprogramming • • 2d ago

Looking for Open Source projects we can contribute to

2 Upvotes

Hey everyone!

I'm working with a student society at COMSATS University, Lahore, and we're trying to build an open-source community where people can work on each other's projects, contribute, and learn from real development experience.

We're looking for existing projects whose maintainers would be open to outside contributions. We're also interested in connecting with developers who'd like to contribute to projects with others.

The idea isn't limited to COMSATS students. Anyone can participate, whether you're a student, developer, or project maintainer.

If you have a project that could use some contributors, or you're interested in being part of this, we'd love to hear from you.

Beginners are welcome too. We'll help them get started with Git, GitHub, and the contribution process.

Register here: https://rascui.github.io/#submit-proposal

If you're interested, feel free to comment or reach out


r/learnprogramming • • 3d ago

Data analytics or Full stack which one is better .

13 Upvotes

I read a sub on reddit, some IT persons were saying that Data Analytics replaced by AI that it's so so hard to get a job. Every work is done by AI and iam planning to learn Data analytics to get a job. Is Data analytics market really dead and should I shift to full stack.


r/learnprogramming • • 2d ago

Contentful

1 Upvotes

Are there any good resources to use for learning about contentful.


r/learnprogramming • • 3d ago

Should beginners learn one programming language first or try different ones?

16 Upvotes

I'm new to programming and not sure if I should focus on one language or explore different ones. What would you suggest based on your own experience?


r/learnprogramming • • 4d ago

Topic Is it still possible to break into web development as a self-taught developer, or am I too late?

161 Upvotes

I recently finished The Odin Project after spending around two years learning web development on my own.

I’m trying to transition into web development, but with the rise of AI and how competitive the job market seems to be, I’m starting to question whether it’s still a realistic career path.

For those who are self-taught or have switched careers into web development:

- Are companies still hiring self-taught developers without a CS degree?

- Are there still opportunities for people with no professional experience?

- How difficult is it to land that first job?

I’m wondering if there’s still a chance for someone like me to break into the industry, or if I’ve spent the last two years learning something that’s becoming increasingly difficult to turn into a career.

I’d appreciate some honest advice, especially from people who recently entered the industry.


r/learnprogramming • • 3d ago

Languages Want to make an app for Learning and resume project. Kotlin or Dart?

1 Upvotes

My background: C++, Python, Go

My best is c++, i practice DSA in it. Python and Go, i know very basics of it.

I have project ideas for mobile application. I primarily use android, and i feel its easier to get into android instead of ios development.

I see 2 viable options,
0. Kotlin/Jetpack-compose

  1. Dart/Flutter

Note: Never touched either kotlin or dart.

I would like to know which stack is better for my situation?
Which one has long term reliable?

please help me choose one.


r/learnprogramming • • 3d ago

Tutorial PyQT - can I learn it concurrently with Python basics?

5 Upvotes

Hi! I’m looking to expand my skillset into Python, and was recommended by a colleague to look into PyQT for what I do. My basic questions are:

  • Is it ideal to complete a Python tutorial course before even touching PyQT?
  • Could I begin directly with a PyQT course?
  • What are some ideal tutorials/courses for this?

For reference, I come from the background of FileMaker Pro scripting and layout/GUI design with an expert certification. It’s like a combo of SQL and Javascript for those unfamiliar.

Thank you in advance!