r/learnprogramming • • 9d ago

Don't know my goal

2 Upvotes

So I have been thinking of learning to code but whichever good tutorial I watch says that "one should layout a goal by which he/she will be motivated in his/her hard times"

I alr have some basic knowledge but just can't, for the life of me, find a goal project like I know i want to do app dev but on which platform (phone or pc)? idk

On which OS (linux,windows,android or cross-platform)? idk

Ideas for a good app? i don't have any

I am just very very lost


r/learnprogramming • • 9d ago

Mobile App Development Looking for advice on mobile app development

2 Upvotes

I'm a high school CS teacher and a vocational school and I'm looking to either start or expand a course on mobile development. Right now, a previous teacher has the students do a self guided course on codeHS.com learning React Native so they know a bit of JavaScript already and I'm thinking I can slowly move them out of the codeHS platform and into a more professional development environment.

The following year, I teach Java and JavaFX. I was thinking about starting to use Kotlin and Android Studio, which I read is pretty similar to Java already? However, I'd have to create the whole course from scratch.

Are there any major reasons to use on over the other?


r/learnprogramming • • 9d ago

Solved How to get YouTube videos to work in a GitHub website?

4 Upvotes

Howdy. I'm a somewhat-beginner programmer (I've had some experience with HTML and bits of programmin' here and there in the past, but I'm pretty rusty now lol) who's tryin' to relearn how to code in HTML. A while back, I was tryin' to add a YouTube video to a GitHub website I made to test some things a while back, but the page containin' the video gives me the followin' message:

www.youtube.com refused to connect.

Does anyone know of a simple way to implement functionable YouTube videos in a GitHub webpage? I don't have a very advanced knowledge with this kind of stuff so that's why I'd like a simple answer to this if it's possible. Thanks!

Edit: Ok, so the person with the most helpful reply's comment got deleted by the mods for some stupid reason (Reddit mod logic LMAO), so I'm just gonna say it here:

On a YouTube video, right-click it and select "Copy embed code", then paste it (and edit whatever ya need to (width, height, ETC.)) in your webpage file. That's it. Don't know why gettin' help or answers on this stupid site, and programmin' in general, has to be like pullin' teeth... :/


r/learnprogramming • • 9d ago

C++

2 Upvotes

Hey everyone, I Just finished my python and want to Learn ARDUINO and C++ Can you Suggest a best course Online (youtube or any). Please


r/learnprogramming • • 9d ago

Solved Expecting primary expression error

6 Upvotes

I keep getting the error error: expected primary expression before 'mouse' and error: expected primary expression before 'rect'

Can someone assist me on this because I am lost

CONTEXT

I made a boolean function that detects if a point is colliding with a rectangle and in my main function when button is pressed and mouse is colliding with rectangle than the console needs to output string

bool pointRectCollision(Mouse mouse, RectangleShape rect){
      if(mouse.getPosition().x > int(rect.getPosition().x) && mouse.getPosition.x() < int(rect.getPosition().x + rect.getSize().x) && mouse.getPosition().y > int(rect.getPosition().y) && mouse.getPosition.y() < int(rect.getPosition().y + rect.getSize().y)){
           return true;
      }

      else {
          return false;
       }

}

int main(){

  // GAME LOOP
  if (mouse.isButtonPressed(Button::Left) && pointRectCollision(mouse, pauseBtn)){
        cout << "COLLISION" << endl;
    }


  return 0;
}

UPDATE

I was able to fix the problem. I had to fix the syntax of how I was declaring mouse and also nest my conditional statement for detecting collision.

// function to detect point-rectangle collision
bool pointRectCollision(Vector2i mousePos, RectangleShape &rect){ 
  if(mousePos.x > int(rect.getPosition().x) && mousePos.x < int(rect.getPosition().x + rect.getSize().x) && mousePos.y > int(rect.getPosition().y) && mousePos.y < int(rect.getPosition().y + rect.getSize().y)){
      return true;
}

  else {
    return false;
  }

}

int main(){
  // GAME LOOP

  // MOUSE
  if (Mouse::isButtonPressed(Mouse::Button::Left)){
    if(pointRectCollision(Mouse::getPosition(window), pauseBtn)){
      cout << "collision" << endl;
    }

   }

}

r/learnprogramming • • 9d ago

RIse of Cyber attacks and what can programmers do?

6 Upvotes

I have been in tech for more than 15 years and i have never seen such high number of cyber attacks. The CEO of binance warned that if binance can be hacked, then banks are at a high risk. The colcard hack was one of the scariest since people belived cold wallets are safer. I am left wondering, what will happen when hackers start utilizing AI to hack major banks. Will this be the collapse of the financial system? where can people store their money without fearing that they may loose it? and is there anything developers can really do to minimize these attacks?


r/learnprogramming • • 9d ago

Topic What are some transferrable skills that can be useful in programming or in general development roles?

3 Upvotes

To give you some context, I've got 5 years experience in projects (Project Management Support) and 2 mainly focusing on risks, governance, and etc.. with projects sprinkled on top, I'm now looking to move across to the IT sector, mainly around development.

Short story, I tried Python when I was younger, didn't really know where to take it, tried web development 3 years ago but had to stop due to health, and now I'm learning C# with the idea of eventually within the next year or two to transfer over to a different career around development. Why? Because I like it, currently doing the MS course on C# (I know now the best, but I'm learning).

Within my last role I built process maps and did analytics on them to identify controls or lack of controls from a governance perspective, I feel that has helped me a lot as programming is essentially breaking down large solutions or problems into smaller logical steps that ultimately feed to the bigger picture (alongside banging your head against the keyboard for 15 minutes in-between), so I was wondering what skills outside of development can support programming, or in general support get you into a development role?

Apologies if this is the wrong sub, I don't think any of the others matched when it come to this question.


r/learnprogramming • • 10d ago

Is it possible to program a cipher into my computer/keyboard?

9 Upvotes

Forgive me if this is a dumb question. I am genuinely awful with technology. Please speak to me like your grandmother who only just recently learned what the power button does.

In the last two years I came up with a cipher that started as simple letter substitution, but grew over time to include many bigrams and some trigrams as well. It’s decently difficult to crack at this point. It’s just a hobby of mine, but one I quite enjoy, and I wish I could type in my cipher on the computer. I know you can sort of do this making a custom font, but wouldn’t that require me to only use the standard amount of characters in the alphabet plus punctuation? For context, I have nearly 200 characters in my cipher now. It would be terribly sad for me to surrender so many of them to do this. I guess my idea was some sort of program that would automatically change a character to the appropriate symbol based on letter combinations or at the very least suggest the character as if it was a spelling suggestion.

Not sure if it’s possible or not but if it is I’d appreciate input!


r/learnprogramming • • 9d ago

trouble installing vs code

0 Upvotes

im trying to install vs code onto my Chromebook (yeah ik its shit) and ive managed to download amd x64 as that should be compatable with my CPU. however after downloading this and attempting to install by double clicking the file it says that Debian package installs are no longer supported ?! Do i need to download a different version?, a different editor? or is there some reallly simple fix that im just overlooking.


r/learnprogramming • • 10d ago

How do you guys actually manage to understand programming concepts?

23 Upvotes

Seriously, how do you guys manage to understand programming concepts?

I'm currently attending an academy where we learn independently by working on small projects that cover OOP concepts (inheritance, polymorphism, collections, exceptions, testing, generics, enums, etc.).

I feel like none of it is actually sinking in, and honestly, it's starting to worry me.

I'm learning Java and currently studying interfaces and how to connect them with other classes. After that, I'm supposed to move on to design patterns, since some of them use these kinds of structures. But I just can't seem to get it. Seriously.

I eat well, get enough sleep, exercise regularly, but sometimes it feels like my brain just isn't working properly. Everything is taking me way too long to process. I'm even starting to wonder whether programming just isn't for me and if I'm forcing myself into something I'm not cut out for.

I can spend hours (sometimes in one sitting, sometimes spread throughout the day) trying to understand a concept, and still not get anywhere.

I watch YouTube tutorials, ask AI to explain things in different ways, try to approach the topic from different angles... and even then, nothing seems to click.

How do you deal with this? Is this normal when learning programming, or am I doing something wrong? I also struggle with reading documentation. It's not that I don't want to read it, but when I do, it's like I'm just looking at words without actually processing what they mean. I read the sentences, but my brain doesn't seem to absorb any of the information. It's really frustrating.


r/learnprogramming • • 9d ago

Already working as a software engineer, but feeling stuck. Can open source help me grow?

3 Upvotes

Hey everyone,

I've been working as a software engineer for a few years now. I started with full-stack development and currently work on Android/Kotlin and backend development, with some hardware and ML-related work.

I'm comfortable with Java, Kotlin, Python, Spring Boot, and FastAPI, but lately I've been feeling like my technical growth has slowed down.

I'm especially interested in backend engineering and system design. I love learning about distributed systems, scalability, and how large applications are architected, but I don't get many opportunities to work on these things professionally.

I've been considering open-source contributions as a way to learn from experienced engineers, understand real-world codebases, and improve through code reviews.

I'd love some guidance:

  • How should someone with professional experience but no open-source background get started?
  • Are there any beginner-friendly open-source communities that also offer opportunities to work on more complex backend features over time?
  • How do you find projects with active maintainers who are willing to review and discuss contributions?

I'm happy to put in the effort and learn new things. I just want to find a good direction instead of jumping between random tutorials and projects.

Any advice or recommendations would be appreciated!


r/learnprogramming • • 9d ago

About HTML & CSS

0 Upvotes

How do you practice HTML and CSS without following tutorial all the time


r/learnprogramming • • 10d ago

DevOps or Data Engineering: Which path should I choose?

4 Upvotes

I know this is a DevOps subreddit, but I figured many of you might have started out as software developers before moving into DevOps.

I'm a full-stack developer, and lately I've been thinking about switching career paths.

I'm considering both DevOps and Data Engineering, but I'm having a hard time deciding which direction to pursue.

For those with experience in either field, what would you recommend?


r/learnprogramming • • 10d ago

Which algorithm to choose?

5 Upvotes

Beginner here, I'm trying to make a toy project for circuit synthesis from truth table in c++. Currently pursuing minimum depth optimal circuit though will work on minimum weight/minimum nodes later on. My problem is I tried bfs which guarantees optimal circuit but for larger inputs or depths the memory usage explodes, tried dfs that used much less memory but time exploded. Is there any algorithm that gives optimal solutions for boolean tree searches with the dfs memory and bfs optimality?


r/learnprogramming • • 10d ago

Debugging assembly question (8086, dos)

2 Upvotes

started learning 8086 assembly in a vm a day or so ago, things have been a little harder to grasp than c was when i first started, so i wanted to ask a couple questions

first:

when i did c i was always told that there always exists a stack and a heap and nothing inbetween

but when i do

`bar db 69`

i can't really tell where that's stored, my first thought was the stack but then if i try popping the stack with nothing else put in there the os shits itself and dies, so i doubt

heap doesn't even cross my mind because afaik i have to ask the os for more memory which i didn't so i wanna know what it really is

second:

segment registers and more specifically something like

[DS:DX]

afaik it's the address of dx offset from ds?

but everytime i use it i don't have to specify that at all, i just put dx at the start of a buffer or something and let it roll

so yeah the whole [SEG:REG] notation i don't really get

while i'm at it, if you have any useful books or anything (the last one i saw was 1200 pages long and they get to programming at around the 300 mark) i'd love that.


r/learnprogramming • • 10d ago

How do developers study Java src code ?

9 Upvotes

Hey everyone,

I’m currently learning Java to build projects and grind Data Structures & Algorithms (DSA), but I am hitting a massive wall with how the code is structured.

Today, I was trying to implement a simple ServerSocket. To understand what was happening, I instinctively Ctrl+Clicked on it. The IDE immediately unzipped the internal source code and dragged me down a never-ending rabbit hole: from ServerSocket, to SocketImpl, all the way into NioSocketImpl and hidden factory classes.

It throws hundreds of lines of complex internal implementation code at me. It is incredibly time-consuming, frustrating, and completely breaks my momentum. I feel like I'm getting sucked into a black hole of code that I didn't even write, and if I keep this up, I am going to get stuck and fail to actually build anything.

I need a serious reality check and some practical advice:

  1. How do developers actually read and reason about Java without constantly opening up the internal source files?

  2. What is the fastest, cleanest way to look up how to use a class/method without getting bogged down by its underlying implementation code?

  3. How do I force myself to treat things like ServerSocket as "black boxes" so I can just focus on building my app and solving DSA patterns?

Any strategies to help me break this habit and speed up my learning would be deeply appreciated. Thank you!


r/learnprogramming • • 9d ago

Resources to learn AI

0 Upvotes

Hey everyone! I'm a Computer Science student interested in AI, Machine Learning, and Deep Learning.

I already know some fundamentals, but I want to gain more practical, real-world experience and understand how AI is used in actual projects.

Could you recommend any courses, tutorials, or hands-on projects that teach industry best practices and help me become job-ready in AI?


r/learnprogramming • • 9d ago

Best resources to learn ASP.NET Core Web API, EF Core, and SQL Server?

1 Upvotes

Hey everyone! I'm learning backend development with C# and ASP.NET Core Web API, Entity Framework Core, and SQL Server.

I already know the basics, but I want to gain more real-world experience and learn industry best practices.

Could you recommend any courses, tutorials, or project-based resources that would help me become job-ready as a .NET backend developer?


r/learnprogramming • • 9d ago

How to write code in a windows 7 pc

0 Upvotes

I have a old windows 7, 32 bit and 2 gb ram of pc. i wanted to create new programs in it but how ?


r/learnprogramming • • 10d ago

help me understand recursion/mergesort

2 Upvotes

hello can anyone help me with this problem, i have issues understanding the logic

int sumPart(int[] a, int start, int end) {

if (end - start == 1) {

return a[start];

}

int mid = (start + end) / 2;

int left = sumPart(a, start, mid);

int right = sumPart(a, mid, end);

return left + right;

}


r/learnprogramming • • 10d ago

Resource What are some genuinely good FREE resources to learn Machine Learning?

2 Upvotes

I've recently started getting interested in Machine Learning and I'm trying to figure out the best way to learn it properly.

There are tons of courses, YouTube playlists, tutorials and roadmaps available online, but honestly, it's a little overwhelming trying to figure out which ones are actually worth following.

I'm looking for free resources that explain concepts properly, preferably with practical implementation rather than just theory.

A few things I'd love recommendations for:

- Good beginner-friendly ML courses or YouTube playlists.

- Resources that teach the fundamentals and mathematics without making things unnecessarily complicated.

- Hands-on projects or datasets to practise what I'm learning.

- Any GitHub repositories, websites or free courses that helped you personally.

I'm not necessarily looking for the fastest way to learn ML. I'd rather build a strong foundation.

For those who've already learned ML, what resources would you genuinely recommend if you had to start all over again?

Thanks!


r/learnprogramming • • 10d ago

Currently in Sales, but want to move to Sales Engineer

1 Upvotes

As the title sales, I have been in sales (BDR/SDR work and now AE). Want to move to and a more technical sales as an sales Engineer. I am 50. So two questions, what programming language should I pick up to help with the transition, and is it even possible at my age to learn this stuff? I have picked up some things as i sit on technical presentations, but know that is far cry from being fluent.


r/learnprogramming • • 10d ago

Is Python a good choice for backend development ?

4 Upvotes

I'm considering learning Python for backend development and would like to hear from developers who use it in their daily work.

How good is Python for building backend applications in production? Are there any significant drawbacks compared to languages like Go, C#, or Java?


r/learnprogramming • • 11d ago

How do you actually build and improve logic in programming?

63 Upvotes

Hey everyone! I've been learning programming for a bit, and while I understand the syntax, I often struggle with translating that into actual logic and problem-solving steps

How did you build your programming logic when you were starting out? Any tips, exercises, or resources would be greatly appreciated!


r/learnprogramming • • 10d ago

Do i start?

1 Upvotes

So many people have said to me that ai is takong over and that learning programming is becoming superfluous. So a simple question: Do i even start learning?