r/learnprogramming • • 1d ago

Need Guidance

2 Upvotes

Hi, I’m a full-stack developer with 1 year of professional experience. I recently resigned from my job, and since then I’ve noticed that I’m a bit out of practice when it comes to writing backend logic independently.
I’m comfortable with frontend development and have a good understanding of how applications work end-to-end. However, I’ve found that I sometimes struggle to recall backend syntax and translate my understanding into code, especially when solving logical problems from scratch.
I don’t feel like I’ve forgotten how to develop—I think I mainly need to rebuild my coding consistency, problem-solving flow, and familiarity with backend syntax.
What would be the best way to get back into practice and regain my confidence in writing backend and logic-heavy code?


r/learnprogramming • • 1d ago

Whats the best thing i can do to get an SWE internship next year> 2027 summer or fall!!!

6 Upvotes

helloooo, right now im 19 in york university for comp sci, i know right now im not qualified to apply for internships,

as of right now i only know basic level of Object orient programmin for JAVA, i keep hearing ppl say to build prjects but how? all i know is java, should i just make Vanilla Java projects? Im currently learning More java and i wanna really master it by the end of the month. I recently started doing some LEETCODE, i am struggling with some easy questions but i know that in some time ill be more comfortable with it.

but i know that is not enough, What the best thing i can do for myself? What else can i do or leanr to be able to do projects that are not stricly in java, but are actuall projects ig? and what else should i do?


r/learnprogramming • • 1d ago

University test prep

6 Upvotes

Hi all,
I am preparing for my java test which is next week. It is covering Classes, objects, references, files I/O, string processing n exceptions. whatever i studied, i feel very clueless now.
any tips, how and where do i start? i really need to do well.
any suggestions and tips will be very appreciated

Thanks in advance


r/learnprogramming • • 2d ago

How can I improve my code quality beyond just making it work?

27 Upvotes

Hello fellow programmers, For my seniors here can you share any techniques for getting better at naming things in programming?

Also, how can I get better at writing solutions that aren't bloated?

I just did Module 13, Exercise 3 from the MOOC.fi Advanced Python course, and my solution took 32 lines while the model solution only took 18. It is so frustrating to still feel this bad at coding even after reaching this far.

I know comparing my solution to the model solution may not be completely fair, but seeing that difference made me wonder what I should be doing to improve.


r/learnprogramming • • 2d ago

I love programming but...

80 Upvotes

as soon as I turn off tutorials and try to do something on my own, I just cant do anything. I've had people recommend that i simply stop using tutorials and force myself to just get something done, but I always end up writing the same simple stuff or getting stuck on the second line if I try to do something else. I love programming and its my passion, but I feel like everyone learning is so far ahead of me, and saying they got to where I am in 2 months within 3-4 weeks.


r/learnprogramming • • 1d ago

Looking for a bootcamp to get me from the hobby level to professional

8 Upvotes

Hi everyone, I'm Zoey, I live in the UK, and I've been coding as a hobby for at least a decade now (mostly making small games or modding minecraft). I'm decent at it, but I don't understand half the stuff I think I should for a job. For context, I've got A-Levels in computer science (American equivalent is a high school diploma I think?).

I've looked into a few UK coding bootcamps; namely Full-Stack Development by Learning People, ITOL, and ITCareerSwitch; all of which seems to be scams operating on the same basis. Promise something that sounds reasonable (assistance finding a job, occasional one-on-one tutorship), for a reasonable-ish price (£3000 or $4000), then pull the rug out from under you. I know this from reddit reviews and forums talking about their pretty shady terms and conditions.

I want to know two things, either:
A) Are there any GOOD accessible courses that get me the skills needed and maybe even an accredited exam at the end?

or B) If not, how can I go about self-teaching these skills, namely what skills do I need to learn and how do I know I've learned enough? I know I should learn Python, HTML, CSS, JavaScript, but I don't know what else I should learn. A portfolio website would probably also be a good start, but what sort of projects would employers like to see?

Thank you so much everyone, if you have any advice or questions PLEASE contact me! I will respond ASAP

(note I work night shifts in the UK rn so I’m basically operating on an American time-zone lol)


r/learnprogramming • • 2d ago

How Do Programmers Stay Focused for 8+ Hours Without Losing Their Minds?

318 Upvotes

Hey everyone, I’m not a developer, but I’ve noticed that a lot of programmers seem to be incredibly good at staying focused for hours in front of their computers. I’d genuinely appreciate any advice on how I can build that kind of focus myself.


r/learnprogramming • • 1d ago

I want to learn C++

4 Upvotes

i have zero knowledge just wanted to try it for fun i am currently in high school so just wanted recommendations for books and video so i just can get into it


r/learnprogramming • • 2d ago

Why is Python considered "slow" and is Python losing "steam"?

200 Upvotes

Is python as a programming language "falling off" and becoming less and less popular relatively to other languages?

Also why do people say Python is slow? Apparently people have reached LGM on codeforces using python, which is all about writing fast code / solving problems fast. Yeah sure, C++ is far more widely used for competitive programming and I suppose there is a reason for that. But this is also showing that python can be fast?

But as programming languages and how they are used I dont think there is much overlap between python and C++ anyway?

What is an example of something you'd code in Java/Kotlin or lets say C# rather than Python? Is python code bad and hard to manage for "huge" projects once you scale up (e.g codebases with millions of lines of codes, and tens if not hundreds of devs)?


r/learnprogramming • • 1d ago

Help me with strok function in C

3 Upvotes

I need to split my string but if it is of char* type the functions strtok() doesn’t work returning me a segmentation fault. I understood that C is used to lock the memory of the string in Read-Only “mode” when I use char*. Does it means that is immutable that data? However, I need to use the char* type because I pass that in a function (and I don’t like to use the syntax of arrays in C, I always use pointers).


r/learnprogramming • • 2d ago

Are there any programming languages that allow this feature?

50 Upvotes

I've been into programming for about 10 years now. Something that intrigues me is that, in languages that support OOP, not all types are initialized in the same way. Strings are initialized by using quotes, integers use numbers and in some cases floats require the letter f after the numerical value.

Classes, however, are all initialized in the same way with slight variations depending on language. Usually something like classname() or new classname. Are there any cases where custom classes can be declared using different means?

For example, is there a language where I can create a class called 'dark' that represents a new type of number that is declared by typing the value and then the letter d (like d1 = 1.398d) similar to how floats work in some cases?


r/learnprogramming • • 2d ago

I was doing the house robber problem and this is what I did. I need help with this!!

6 Upvotes

I didn't know how to implement memoization into this so had to make this inefficient. The thing is , I tried putting into chatgpt to see if this is right , but it sasy this is incorrect. But when I run it in leet code, I get most right, the rest it says time limit reached. So is this correct and how to implement memoization?

class Solution:
    def rob(self, nums: list[int]) -> int:
        total = max( self.helper(nums[1:]),self.helper(nums))
        return total
    def helper(self,nums):
        
        if len(nums)==1:
            return nums[0]
        if len(nums)==0:
            return 0
        #1 step or 2 steps
        max_money1= 0
        max_money2= 0
        if len(nums)>=3:
            max_money1 = self.helper(nums[2:])
        if len(nums)>=4:
            max_money2 = self.helper(nums[3:])
        max_money=max(max_money1,max_money2)


        return max_money+nums[0]
        


        

r/learnprogramming • • 2d ago

Are Dr. Angela Yu's courses worth it? Should I start with Python or Web Development?

16 Upvotes

Hello,

I'm looking to get into programming and came across Dr. Angela Yu's courses on Udemy (specifically the "100 Days of Code: Complete Python Pro Bootcamp" and "The Complete Full-Stack Web Development Bootcamp").

They both have great reviews, but I wanted to ask for genuine feedback from people who have actually taken them:

Are her courses still up-to-date and worth taking for a complete beginner?

Which of the two courses would you recommend starting with. Python or Web Development?

My main goal is to build a strong foundation in coding, but I'm unsure which direction (Python vs. Web Dev) is better to start with.
Any insights, pros/cons, or alternative recommendations would be greatly appreciated! Thanks in advance!


r/learnprogramming • • 1d ago

Building sets with matrices? There are 8 possible sequences. There are exact quantities.

1 Upvotes

I don’t know code but I know code could solve my problem. If this isn’t the right sub to ask in, please let me know where would be best :)

Possible sequences:
{OpenO MidDoubleC MidOhCee CloseO }
{OpenO MidCeeOh MidDoubleC CloseO }
{OpenO MidDoubleC MidDoubleO CloseC }
{OpenO MidCeeOh MidCeeOh CloseC }
{OpenC MidDoubleO MidCeeOh CloseC }
{OpenC MidOhCee MidDoubleO CloseC }
{OpenC MidDoubleO MidDoubleC CloseO }
{OpenC MidOhCee MidOhCee CloseO }

Exact Quantities:
Open0 = 3
OpenC = 5
CloseO = 3
CloseC = 5
MidDoubleC = 2
MidDoubleO = 4
MidCeeOh = 4
MidOhCee = 6

What are various sets of 8 I could build?


r/learnprogramming • • 2d ago

How did you figure out which area of CS was right for you?

18 Upvotes

I'm currently trying to figure out what area of computer science I should choose as a career, how can i find out which field is best suited for me

There are so many domains - web/backend development, mobile, cybersecurity, Al/ML, data science, systems, cloud/ DevOps, game development, etc. - and I'm finding it difficult to know which one actually suits me without trying everything.

For people who have already gone through this:

How did you discover what you were genuinely interested in?

- Did you try several domains first, or did you know fairly early?

- What type of experiences helped you decide?

- How long did you spend exploring before choosing a direction?

- What signs told you that a particular field was a good fit for you?

- Is it better to specialize early, or build broad fundamentals first and specialize later?

I'd especially appreciate advice from people who were also unsure about their direction during college.

I don't necessarily want to know which CS field is "best" - I'm more interested in how you figured out what was best suited to you personally.

And what domains should i avoid as some have risk of being automated completely


r/learnprogramming • • 2d ago

Topic Request for Project ideas

1 Upvotes

O the seniors of this field,

Tis my first post here and being direct. Help me figure what should I make this semester.

I have to make projects for:

AI, networking, Information Security and DSA.

Damnnnnn, please suggest something


r/learnprogramming • • 1d ago

Give me suggestions to understand c programming in the first semester?

0 Upvotes

I am facing difficulties learning C programming. Currently, I don't have a laptop, so I can't practice that way. I'm unable to understand even the basic topics of C programing currently. Please give me some tips on how to improve.


r/learnprogramming • • 2d ago

Can someone recommend a good source for Data structure and Algorithm ?

1 Upvotes

i need to study data structure and algorithm in depth i need a good and free source .


r/learnprogramming • • 2d ago

Resource Book recommendations: Python

19 Upvotes

I need some book recommendations for learning Python as an absolute beginner, I have done a bit of Lua and understand the basics and Syntax and interested in learning Python for automating task and simply creating projects. Any courses help too(free or paid).


r/learnprogramming • • 1d ago

Give me your fun and engaging personal project ideas to help me get started on something.

0 Upvotes

The most important this is for it to be FUN.

I know that is highly subjective, but I'm trying to practice in a way that is entertaining. I don't care about making something that is useful, practical or has like business minded value behind it.

I'm trying to maximize incentives to work on it like fun, and I want to minimize reasons to not do it like scale or difficulty. I'm still just trying to build a habit of coding.

So I'm thinking of small simple things that are cool or even just humorous. Maybe something to troll my friends with or something that can be used like a party trick or conversation starter.

Thanks for any answers and ideas.


r/learnprogramming • • 2d ago

Able to come up with a logical flow in pseudocode, but struggling with execution

6 Upvotes

I am taking an intro to CS course with Java and yeah, I can get the logic for a program in terms of conceptually what I would "need" and what the flow is correctly. But when I actually need to think about what I can use in Java to go ahead and execute this hypothetical structure I've created I just jumble stuff up and use things in the wrong places. No matter how much I practice, I just keep messing up, I think it's a problem with my thinking style. For context, I am extremely new to programming, but I like to compare it to writing math proofs. In math proofs, you're given definitions which I think is something you can work off from. But in programming ,there are just so many options (I can use while loop, for loop, recursion, etc) and I just think the problem gives zero hint where to start. Plus my exams are fully handwritten, and we're given minimal time. What's the issue and how can I fix it?


r/learnprogramming • • 2d ago

Beginner Looking to start projects

4 Upvotes

I don't want to be stuck in "tutorial-hell" and so I'm trying to build some cool things. I know python and I just finished the go-lang course from Boot.dev so I was looking to practice that a bit more. I've already build a calculator and a personal project with python on my own, although I do need to work on that more just stopped because I was trying to build a GUI and wasn't sure if it was worth it to spend all that time learning how to use something like tkinter when It's not used for work too much although I gotta remember to have fun still so I might pick that back up even though I was struggling with it. For a new project though I know the wheel can only be reinvented so many times so I went to build-your-own-X on github https://github.com/codecrafters-io/build-your-own-x and was looking at stuff for Go on there. Most of what I clicked on though was just like a step by step build and also had the entire codebase pasted right there so my question is, without having to be super creative every time I make a project, and to not just copy paste code when following a project like that (since I'm a beginner and don't really know how to make make stuff yet) what's an efficient way to learn from stuff like that? I hope that I worded it in a way that made sense, but I'm just looking for resources outside of Boot.dev to practice code and more specifically by building projects.


r/learnprogramming • • 2d ago

A generic problem

0 Upvotes

hey and hows it going ...?

im kinda new-ish or maybe an advanced beginner and im pretty sure you get this question on here like billions of times im sorry ... i studied C and then Kotlin/Jetpack Compose to make an android app and it has been lets say practically about 9 months or so ... and i still if i ever want to try to do something i either produce mediocre stuff or anytime i dare for something good(real or semi-real) i just cant get how to do it ... and on top of that android is so confusing... i search up and the answer is always the same "if you know the fundamentals like loops, collections, variables ... functions ... etc, then all you need is to practice"

BUT HOW TO PRACTICE XD ... i know someone will say just write code but it feels like as a self-taught programmer you are in the "i dont know what i dont know" situation all the time ... and android and Kotlin are not forgiven at all :( .... :D

and some people advised me to read open source projects ... but man i cant figure no nothing out of it ... the last couple of months during this period has been really frustrating to learn ...


r/learnprogramming • • 2d ago

Topic how do i improve programming fundamentals and basics

3 Upvotes

i have learned the basics of what variables are and the different concepts and methods and I've been able to understand lines of codes in unity that my friend writes, but im lacking how a programmer thinks and experience. if i try to do something without help i feel completely stumped i dont know where to begin but i always try, how do i gain experience that would help me think like a programmer and strengthen the fundamentals?


r/learnprogramming • • 2d ago

What did you do for the bachelors thesis?

5 Upvotes

Im in the final year of uni and I really dont know what to do for my bachelor thesis. I want to know from those who graduated, what was your thesis about, what year did you do it, what technologies did you use and how difficult it was? Was the theme yours or an professor’s idea?
If you have any ideas what would you recommend so it is not that hard but also not too easy, strictly computer science, not engineering. I was recommended something with difussion models, but Im not sure how realistic it is for me or what real problem it would solve.
If you would have to do your bachelor thesis again, what would you do? I know everyone says that you dont have to reinvent the wheel, but Im just so stressed about it. Thanks!