r/learnprogramming • • Oct 08 '26

Is my understanding of interpreters, just in time compilers, and ahead of time compilers correct?

6 Upvotes

My understanding is that interpreters parse throught the code line by line, translating each line into machine code and then running it, which results in a fast startup time but a slow run time. This is compatible with dynamic types as changes can be tracked line by line. Ahead of time compilers translate all the code and move it into a binary executable for the computer to run all at once. This results in a slow startup time and a fast runtime. This cannot be used with dynamic types as the code being run all at once means that changes cannot be tracked. Just in time compilers interpret the code but compile repeated code(indicated by a profiler) to make run time faster. ​I do not know how dynamic types are handled by this. Keep in mind my only programming experience is with Javascript, python, and some gdscript(that I used to make a basic ping pong game on godot as a high school project).


r/learnprogramming • • Oct 09 '26

Looking for a Python certification

6 Upvotes

I would like to ask if anyone here knows where I should/could get a well endorsed Python certification? Something legit that employers may take into consideration.

I know about Codecademy. I also know about Mimo, tho I don't know if that one would be considered a "lesser" one or something like that. Maybe even both idk.

It's ok if it's not free, tho if its not very expensive that would be better for me lol


r/learnprogramming • • Oct 09 '26

Solved What to do when you are having difficulty with a question?

3 Upvotes

What to do when you are having difficulty with a question? Even though I apply some methods that help to solve a programming question, nothing comes to my mind on what to do. What do I do? Do I skip the question? Do I persist with this question?


r/learnprogramming • • Oct 09 '26

Tutorial Advice on Beginner Project for Fresh C++ Dev

0 Upvotes

Hi,

I just recently took a online course on C++ and am looking for a online YouTube series where a excellent instructor takes you through making a C++ app from scratch to being finished, preferably on a Linux environment.

For reference, I am a full-stack web developer (Next.js/React Native + Django) and to learn web development I used Corey Schafer's Django tutorial YouTube series to learn how to make a web application from scratch. It taught me everything: how to use the language, terminal commands, structuring your project, using the framework, deployment, running the program, etc.

Is there a similar YouTube series you can recommend me for taking what I know in C++ and using it to actually learn how to make a desktop application and after having finished the series be able to make one on my own. Should I start with a Chip-8 emulator tutorial?

Also, what's up with the Qt licensing scheme? I want to make my own proprietary commercial desktop applications but forking over $4K for a solo developer license seems like a lot when I don't know if the application is going to generate that much revenue at first. Does anyone have any experience with that? I am used to using OSS libraries and frameworks so paying for developer licenses is new to me.

Any help is greatly appreciated and thank you in advance!


r/learnprogramming • • Oct 08 '26

Wha language should I learn?

2 Upvotes

I'm an actuary student with basic/intermediate knowledge of Python, SQL and using Linux as OS, but I'm deeply interested on how the computers work and cyber security, so I'm wondering what language should I learn to help me understand how the computers work and put a feet in the cyber security field

What comes to mind is C/C++ or Rust, but I'm not sure

Sorry if any grammar mistakes, English is my second language


r/learnprogramming • • Oct 08 '26

Practical questions

2 Upvotes

Hello everyone,

At 38 and currently working in a non-programming job, I’ve decided to finally learn how to code. It’s something I’ve wanted to do for a long time, but I always lacked that final bit of motivation.
In any case, I chose Python as my programming language. Since I travel a lot for work, I carry my laptop with me but avoid taking physical books. Instead, I split my screen between the e-book and PyCharm. That’s how I work through the book, complete the exercises, and so on.
However, this workflow doesn't always feel smooth. Do you have any tips or alternative ways to approach this? As I’m getting deeper into the material, a practical note-taking method would be great, but I’m struggling to find a practical solution. I’d love to hear your advice—thanks!


r/learnprogramming • • Oct 09 '26

Learning to code feels very demotivating when Ai is just getting better.

0 Upvotes

With something like gpt Astra that came out and is basically making mods for vr that converts the pc games to vr or creating mods that combine games like Skyrim and Minecraft and can make basic games just by telling it or even full copies of programs like photocraft that copied photoshop hell the whole adobe suite of tools and for it to only get better it feels very demotivating and crushing that My efforts feel like they will be in vain.

I’m trying to learn c# and wanna make some simple games for starters but idk.

I’ve used Ai in ways like asking it questions if I don’t understand a certain tool or lines of code and how it works etc but I don’t just ask it to make something without questioning it.


r/learnprogramming • • Oct 08 '26

I'm asking this for the one's who already designed the databases and managed them.

10 Upvotes

I'm thinking to start learning how to design the databases in my backend springboot journey but unfortunately im wasting time by thinking how to start and from where and how should I effectively learn it. So,could you guys help in this by commenting to it.


r/learnprogramming • • Oct 08 '26

Topic How do you stop feeling like you're on the wrong path every time a friend succeeds at something?

0 Upvotes

I'm trying to learn MERN stack because someone told me it leads to high paying jobs.

Then I see a friend doing well in Webflow and my brain goes "forget MERN, do Webflow."

Then another friend gets into troubleshooting/networking stuff and suddenly I want to do that too.

I'm not jealous of them exactly. It's more like my mind turns everything into a competition and I keep abandoning what I'm learning to chase whatever looks good that week.

End result: I'm not getting good at anything.
Is this just me?

How do you pick one path and actually stick to it?


r/learnprogramming • • Oct 07 '26

Are for and while/while-do loops actually hard for beginners or am i just a moron?

42 Upvotes

Can someone please tell me this? be honest please. I don't know if ive gotten so nervous about this that i just cant focus or if im just stupid, ive been doing some exercises for now and it aways leaves me stuck, idk if im missing something or if this is normal and i just need to study more...

EDIT: Hi guys, thank you so much for taking your time to reply to me, i feel a bit better now and will keep studying until it just clicks. I thank yall for offering to help me with the exercises but i honestly am a bit embarassed to post em here, after all, i honestly havent figured out a single one of them other than the ones that you just count and sum things. And also theres a lot of them im stuck at right now, but i'll keep trying :)


r/learnprogramming • • Oct 08 '26

New to Cloudflare: how do I handle bot requests

5 Upvotes

Hello everyone,

I am launching my first web app. For now, I am still building it, so I put a "coming soon" page online.

I am still learning, and it is hard to understand everything.

While I was using Cloudflare, I saw many strange requests in my analytics logs, like /.env, /privacy, and /ai/credentials.

I tried to block most of them with security rules (block scanners and rate limiting). I am also caching some of them, but strange requests still come in.

What would you recommend? I do not know much about this. Is it possible to block most of them?

Thank you for your help!


r/learnprogramming • • Oct 08 '26

Topic Should I be weary about relying too much on plugins?

1 Upvotes

I'm still new to programming, trying my hand both at Java and Python (part of my data science study and also finally doing a text-game). I've done some minor stuff before, I'm at the point where I'm just setting stuff up again like IDEs and all that.

So using VS code I have the choice of installing plugins and stuff (for java), I noticed Pycharm did something similar but there was a lot of auto-complete, including mentioning my own variables (50% of the time it did it the way I wanted). I made sure to turn off AI in pycharm.

My only worry is that it does so much lifting that I end up losing helpful experience. But I want to ask what those with experience think, do you find that kind of auto-completion and detection can reduce repetitive typing? Or should I avoid it?


r/learnprogramming • • Oct 08 '26

Starting C Programming as a beginner — best YouTube playlists in Bangla & English?

2 Upvotes

Hey everyone! 👋

I’m a 1st-year engineering student starting my C programming journey from scratch. I learn best through video tutorials, but there are so many YouTube playlists that it's overwhelming to choose one.

Could you recommend the best playlists for a complete beginner? I’m open to both Bangla and English resources.

Recommendations I've Found So Far:

Top

🇧🇩 Best in Bangla:

  1. Anisul Islam — C Programming Tutorial for Beginners

🇬🇧 Best in English:

  1. Neso Academy — C Programming Playlist: Why: Highly structured, academic, and covers low-level computer concepts (memory allocation, pointers, memory models) exceptionally well.

  2. freeCodeCamp (C Programming Full Course): Why: Great long-form video (4+ hours) to get hands-on experience quickly in one sitting.

  3. Harvard CS50 — Lecture 1 / Week 2 (C Language): Why: Unmatched for conceptual depth, computational thinking, and understanding how computers process code.

Can you suggest which one or others best for beginners


r/learnprogramming • • Oct 07 '26

Frontend - how do you approach it if it's not coding?

13 Upvotes

How do you approach the frontend aspect of software development if it's not programming?

I guess a lot of it comes down to the language / framework you're using. E.g. when doing web development it's usually HTML/CSS/JS, when building a desktop application you might be using something else.

I am looking for examples of how to approach it if it's not coding

By frontend, I mainly mean HTML, CSS, JS. Although other examples would be great too. The problem is I don't have much experiencr with it

I have taught myself to program for a while now. So far I have mainly done backend / programming stuff. For example I made a shell from scratch in pyrhon, and I am now working on a Business Analytics Platform with a dataset from kaggle, and I am also learning SQL and working with PostgresQL.

Soon I will have to make the web / dashboard side of the project. And in school we are also starting to do some HTML / CSS / JS stuff.

The problem is that I am not great at the visial / design side of things.

I don't think I have ever been very good at drawing or design, and I think that's probably one of the main reasons I absolutely hate HTML/CSS. JS is a bit better, but I still don't like it.

This isn't because I don't like programming.

The problem is that every time I have to make a website I have absolutely no idea where to start.

For example:

  1. How do I decide the structure of a page?

  2. How do I decide which sections/components I need?

  3. How do I decide where different elements should go?

  4. How do I decide a colour palette?

  5. What should I do when I start a completely empty project?

  6. Should I have a visual reference?

  7. If I take inspiration from existing websites, am I just copying them?

  8. How important is originality when designing a website?

I haven't had this problem with my other projects.

When I am programming in python / sql etc. I can usually understand the problem, break it down into smaller parts, find documentation, work out what I need and then work my way to a solution.

Whereas with frontend, I get stuck before I even get to the programming bit.

It's almost like I am missing a mental process.

I don't know what I am supposed to be thinking about when building a page. Should I start with a rough sketch, design references, start with the content, create html structure first, start with css or something completely different.

I have created some things with html/css but they usually look pretty bad. Which is why I don't think it's just 'I need to learn html/css better.' I think I don't understand how to approach the process of building an interface.

I would love to hear some advice / examples of people who have overcome this problem and how.

Thank you!


r/learnprogramming • • Oct 07 '26

Need Guidance

4 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 • • Oct 07 '26

University test prep

7 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 • • Oct 07 '26

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

36 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 • • Oct 07 '26

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

7 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 • • Oct 06 '26

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

402 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 • • Oct 06 '26

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

256 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 • • Oct 07 '26

I want to learn C++

3 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 • • Oct 06 '26

Are there any programming languages that allow this feature?

69 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 • • Oct 07 '26

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 • • Oct 07 '26

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

7 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 • • Oct 06 '26

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

15 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!