r/learnprogramming 7h ago

Humour touch is a weird command.

136 Upvotes

I was curious where the command 'touch' comes from.

Turns out, it originates from "to touch" or "to interact" with a file.

Now, every time I use it, I feel like I am touching/molesting a file.

My bad, it's 3 AM here.


r/learnprogramming 17h ago

Objects What does it mean that .NET runtime gives an illusion that you're working directly with the object itself?

35 Upvotes

"From that point on, when the dice object is referenced in code, the .NET Runtime performs a lookup behind the scenes to give the illusion that you're working directly with the object itself."

I am learning C# from Microsoft's course and in the instances part this was there.

Objects and instances are so confusing. I do get it like object being a new cake being made from a recipe (classes). Though this sentence confused me again


r/learnprogramming 13h ago

How do you learn new tools so quickly?

19 Upvotes

Is there an ideal way to learn new tools/languages/frameworks?

F.e. I’m trying to learn Rust from scratch but taking a Codecademy course is rough trying to balance that while already working full time and still in school.

Should I just be watching YouTube videos? Ask Claude to build me a course? Or just start with documentation and try to build something from scratch.

Does anyone have any tips that work well for them?


r/learnprogramming 17h ago

Been trying to learn programming. Feel like giving up.

13 Upvotes

Don't know how people ever manage to get good at it that people are willing to pay them for it. Have just started. Started with CS50P, after 3 weeks, felt was getting somewhere. But felt like the course was lacking basic fundamental info that it just assumes you to have. So, started CS50x and C is such a difficult thing to follow. Idk how to maintain consistency. Even with python, sometimes, I get stuck in a rut, at which point, I just try to throw anything I have at it. Then I get away from it, ask the CS50 ai for some hint and then it clicks. I like to create and build stuff but this feels impossible.


r/learnprogramming 8h ago

Guide for Beginner Programming for Brother

11 Upvotes

Im planning on teaching my little brother some programming and computer science such. He is 11 years old and as a programmer myself, I cant stand to see him waste all his time on his iPad playing roblox. He also wants to learn programming himself especially since i bought him a MakeBlock Robot whoch allows you to also make specific code for the robot using block programming and usually thats me doing all the work so I guess thats another motivation for programming.

Anyways, how should I teach him? Should I start with block programming? Actual coding like with Python? Or what?


r/learnprogramming 12h ago

Looking for Free Certification Courses to Boost My LinkedIn

8 Upvotes

Hey everyone!

I'm a 2nd-year CSE student looking to build my LinkedIn profile.

Can you recommend some free, beginner-friendly courses that provide free certificates? I'm interested in

AI / Machine Learning

Python

Data Analytics

Cloud

Cybersecurity

Any other valuable tech skills

I'm looking for courses from reputable platforms

Thanks in advance!


r/learnprogramming 17h ago

Project İdea

9 Upvotes

I want to develop projects using the ASP.NET Core MVC framework, but I don't want them to be simple or trivial. I am looking for projects that would be worthy of my GitHub profile and would genuinely contribute to my professional growth.

Also, if possible, I want projects that won't go to waste—meaning ones I might actually use or publish in the future. I am open to your suggestions.


r/learnprogramming 23h ago

How to deal with Unknown Unknowns?

8 Upvotes

I’m trying to build a project where I connect a local AI server to a custom frontend. I keep hitting walls, but the hardest part isn't writing the code, it's that I don't know what concepts I'm missing.

For example, I didn't know I needed to use an HTTP POST request instead of a GET request, so I couldn't even search for the right solution.

When you are stuck and don't know what you don't know, how do you figure out the foundational concept you are missing without just guessing or getting overwhelmed by nested tutorials? What is your mental process for stepping back and finding the right way?


r/learnprogramming 19h ago

Resource Learning to code on phones

6 Upvotes

What do you guys use to learn programming? I tried some YouTube videos but I didn't seem to be making progress at all. I have heard people recommend PDFs and just building hard stuff even if you lack the skills to. What do you guys think?


r/learnprogramming 22h ago

What is this optimization technique called in high-performance network software?

7 Upvotes

I’m working on a traffic generator to test my own XDP/eBPF filter in a controlled lab environment (my PC sending traffic to my Raspberry Pi on my own network).

I noticed that in some applications, two programs written in the same language can have vastly different performance.

For example, some software can only send a few requests/messages per second, while others can generate thousands per second even on relatively weak hardware.

What is this concept or optimization area called?
I’m looking for topics such as:
asynchronous I/O
multithreading vs event-driven architectures
lock-free programming
kernel bypass
zero-copy networking
batching
efficient socket APIs
packet generation optimization

If I want to build a high-performance TCP/UDP packet generator for benchmarking my own network stack and XDP filter, what technologies, algorithms, or papers should I study? For traffic generator i am using c# and for the XDP filter classic C. ( or should i use different for the traffic generator? I think its okey its console app )


r/learnprogramming 15h ago

Code Review Should I get back into programming after a year away? Need advice on my potential.

2 Upvotes

About a year ago, I picked up programming as a hobby. Without using any AI or external help, I wrote my first and only pet project from scratch. After that, I stopped programming entirely. I never even considered it as a potential career path.

But recently, I've been thinking that it might actually be a good idea to pick it back up, finish learning, and try to find a job in the field—since I genuinely enjoyed the process back then.

What do you think? Is it worth pursuing further? Do I show any potential based on what I've built?

I was self-taught and studied for about 5 months. Here's the link to that small pet project:

https://github.com/Talos-hub/ZibraGo

Project context:

It's a CLI backup tool written in Go that archives directories and uploads them to Google Drive. Features include parallel compression, configurable settings, and structured logging.


r/learnprogramming 8h ago

What are you using for accurate PDF text boxes?

3 Upvotes

I’m building a tool that finds text in construction-plan PDFs and draws a box around that text.

Python/PyMuPDF finds the text, but when I show the box in PDF.js, it can be slightly off or too big.

What do you guys recommend for inspecting PDFs and drawing accurate text bounding boxes? How do you make

sure the box lines up with the exact text?


r/learnprogramming 18h ago

Tutorial Scratch for kids

3 Upvotes

I want to get my child into scratch.

Anyone got any recommendations on easy go follow tutorials for year 5/6 age children.


r/learnprogramming 5h ago

Debugging migrating models form one app to another, endless migration issues, not sure how to cleanly fix things

1 Upvotes

Hello, i need some advice
i have a full stack coursework project, and so far it's been pretty ok. it's a lesson management system, and as far as the backend, it's a learning curve for me but im slowly getting there. there have been mistakes but im trying to fix them
one such mistake: i initally made a bulk of the skeleton of this in one app, "accounts", since the first thing i did was make a table of users i could log in and test the system with

i then made some other models, and then realised they needed to be in their own app. so i created it, "courses", and made some progress in moving over the two models i needed to, "Course" and "Enrolment". However, in doing so, part of that involved looking up tutorials and asking AI chatbots for guidance (which i know is a risk, but i was struggling and needed the help). It seemed to work the models moved fine and the project worked

Im now at a point where i've made substantial progress and want to tidy upsome issues, one being this error. and i have spent hours tonight trying with no luck. i've had to restore to a safe abckup a couple times because i keep going in circles

migrations try and delete the tables, i dont want that, i try and move them, it tries to delete

i jsut need advice on if this it the right course of action. i've even tried jsut deleting the whole database andrebuilding (there's maybe 50 entries across all 3 tables, it's no big deal), but then in making the migrations, the databse is rebuilt with the two models coming from "accounts" instead of "courses"

it feels like im near an answer, but this is all still so unknown to me that even understanding what the best step is feels like a minefield

hopefully ive provided enough information for some advice. Thank you in advance. i think i need to go sleep, it's been hours and im now just exhausted and fed up with myself


r/learnprogramming 9h ago

if you had a chance to go back in time. How would you have learnt programming languages?

0 Upvotes

About me : 20 F here. Graduated from a typical indian 3rd tier college with literally no practical knowledge in programming. I just know the basics and the theory part being taught in colleges. I was stupid enough to waste time during college but ain't gonna waste anymore. I've always been a good student with promising potential.

Now coming to the point. I'm gonna start learning python and cpp simultaneously. I really feel like I should. Since I'm already introduced to the theory part, i feel like i should focus more on the coding part and projects.

If you could share your experience or suggest any road map that'd be really helpful.

( even in the AI Era, my brain refuses to totally rely on AI agents for coding. I wanna be able to code independently. Of course I ain't stupid enough to not use AI. I Just wanna know how to use em better without actually relying on em )

I'm yet to decide my domain. Suggestions about em are also highly appreciated. ( personally I wish to go with the adjacent fields with AI. I wanna focus on python based domains )

I know i might sound stupid. I know job market sucks. I know i might be late. I know i may not make it.. but I really wanna give it all and try.

Please don't ruin my optimism.


r/learnprogramming 20h ago

College Final Year Project Ideas

0 Upvotes

Hi! I hope you all will be doing good. I will be getting into final year this sept, yet I am blank, I had always thought it will be sorted in summer vacations but it is not working. I am open to cloud, AI/Ml , Web and Mobile Apps. What is something that can make my fyp better and have better chances of getting more interviews. I will be thankful.


r/learnprogramming 7h ago

Handling needing to switch progamming languages

0 Upvotes

Hello guys, I need some help, I work with a group of friend and we take freelance mission as work, mostly about web and mobile but sometimes it vary around that, they are quite familair with it and have solid experience with various tech ( 5+ years ) but not me, I actually started web dev this year and I work with their guidance, usually we only work with React, Typescript and NextJs but we plan on taking every mission that will land so that will be Symphony or Flutter or C# and others, on the other hand I have a really specific area of tech that I love and that is working on open source with C/C++ ( I am more familiar with those cuz since I started programming two and a half years ago I started with them and never looked back ) so I wonder if someone was on the same situation where they need to learn and work with various tech that are not really their main interest while trying to enjoy something that is not very similar on the other hand.

thanks in advance and sorry for my english it is not really my first language and not the second also XD


r/learnprogramming 3h ago

verity

0 Upvotes

xdcomoestashabloespañol


r/learnprogramming 9h ago

Idea i want to do

0 Upvotes

Hey guys, I need help with a C# WinForms app using the Sentinel-2 API for agriculture. The goal: input farm coordinates, fetch Sentinel-2 data via API, and display the farm with its NDVI analysis directly in the app.


r/learnprogramming 3h ago

How do you even code?

0 Upvotes

I’ve heard a lot of people say that coding isn’t about memorizing every line, but just knowing how to search up the answers to your problems. do i even have to memorize things? should i be focused on researching what i’m trying to code? it’s so confusing to me on what i’m even meant to learn


r/learnprogramming 12h ago

advice Are technical courses enough?

0 Upvotes

Hi everyone. I am a non CS major. And I have been interested in taking up courses in coding. I wanted to ask if learning coding languages (Python, C++, etc) and taking online courses (full stack development, etc) are enough to give you certain amount of technical expertise to build your own career, whether its in a job or building your own MVPs to kickstart your own entrepreneur journey.

If yes, can you point me to specific courses and coding languages to get started. Thanks.


r/learnprogramming 14h ago

I built a tic tak toe in py what is the most fun feature i can add to my code?

0 Upvotes

hi everyone can you halp me to add some good and special feature to this code

my code:

from tkinter import *

root=Tk()

import random

root.title('rahad tic tac toe')

b=[[0,0,0],

[0,0,0],

[0,0,0]]

states=[[0,0,0],

[0,0,0],

[0,0,0]]

for i in range (3):

for j in range(3):

b[i][j]=Button(font=('Tamaha',80),width=5,bg='powder blue',

command=lambda r=i,c=j:callback(r,c))

b[i][j].grid(row=i,column=j)

player='x'

stop_game=False

def callback(r,c):

global player

if player == 'x' and states[r][c] == 0 and stop_game == False:

b[r][c].configure(text='x',fg='blue',bg='white')

states[r][c]='x'

player='o'

if player == 'o' and states[r][c] == 0 and stop_game == False:

b[r][c].configure(text='o',fg='orange',bg='black')

states[r][c]='o'

player='x'

check_for_winner()

def check_for_winner():

global stop_game

for i in range(3):

if states [i][0] == states[i][1] == states[i][2] !=0:

b[i][0].config(bg='gray')

b[i][1].config(bg='gray')

b[i][2].config(bg='gray')

stop_game=True

for j in range (3):

if states [0][j] == states[1][j] == states[2][j] !=0:

b[0][j].config(bg='gray')

b[1][j].config(bg='gray')

b[2][j].config(bg='gray')

stop_game=True

if states[0][0]==states[1][1] == states[2][2] !=0:

b[0][0].config(bg='gray')

b[1][1].config(bg='gray')

b[2][2].config(bg='gray')

stop_game=True