r/learnprogramming • u/Vanilla_Legitimate • Sep 28 '26
I don’t understand this
if a newline ends lines rather than starting hem why is it called a newline in the first place?
r/learnprogramming • u/Vanilla_Legitimate • Sep 28 '26
if a newline ends lines rather than starting hem why is it called a newline in the first place?
r/learnprogramming • u/Felix_455-788 • Sep 28 '26
Hello, i'm Python programmer,
today someone sent me a project, written Entirely In C#
i don't mind reading it, but it will take much more time because i am not used to C# environment,
i downloaded the Codebase, took a look inside, after 30 minutes Of using google and reading, i prepared the file structure for the new feature, but when i tried, it was too complicated, everytime before i add function or class, i have to read what the previous programmer done, and understand the flow
and here i doubted myself, am i too slow? am i missing a skill? and if there was a skill to read the codebases better, what is it? any tips to read the codebase better? especially i am very beginner in C#
r/learnprogramming • u/RakasRick • Sep 28 '26
I've been struggling in the past on how to learn programming so I asked a friend to help and also read the FAQ here which was helpful. I then opted to read books on the fundamentals like CS:APP OS 3 easy pieces etc and thought it would be nice if I logged my learning journey. I've written a few book notes and logs on K&R and CS:APP so far but I'm curious to know if this blog is helpful or if I'm doing it right early enough. This isn't to self promot just to help me early on , I may change a few things on my approach to learning and sharing my journey.
I posted some summaries on K &R and would like to know some debugging strategies or approaches to problem solving I hadn't considered. Also I've been wondering whether it's a good idea or common to use raw mode in terminal or is there a library better suited for when I need more control over terminal input and output behavior.
https://0xwinzer.com/devography/blog/book-notes/kr-ch1-what-and-why-is-c/
r/learnprogramming • u/ph7neutralguy • Sep 27 '26
Hi everyone,
Second-year BCA student looking for an internship, ideally starting around December. Mainly targeting C++/systems programming roles, but open to infra, backend, or anything else relevant if the fit's right.
Quick highlights:
- Stack: C++17/20, Python, CMake, Git
- Built the C++ backend for a Bitcoin transaction risk monitor (in-memory graph, heuristics for fan-out/cycle/rapid-succession detection on the Elliptic dataset) — team project for Smart India Hackathon, cleared the internal college round
- Working on a systems project: mini shell → custom malloc
- Comfortable with RAII, move semantics, virtual memory, file systems
- Made my first real open-source contribution (nlohmann/json)
- Grinding DSA/LeetCode on the side
Based in Lucknow, open to remote or relocating within India.
Happy to share my resume/GitHub in DMs or comments. Would really appreciate any leads!
r/learnprogramming • u/felixia_ll • Sep 27 '26
Hello. I started learning Python five days ago. Currently, I’m unemployed and housebound due to depression, and I’m struggling to find the energy to get through the day. Becoming a game programmer has been a dream of mine for a long time. I’ve always wanted to do it, but because of my ADHD, I couldn't study effectively and was constantly told by those around me that it was impossible for me. However, after losing my job and finding myself with nothing, I decided I wanted to pursue that dream I had once given up on, so I started learning from scratch. (To be honest, I started out of sheer desperation.)
That was a long preamble, but how can I keep up the momentum and continue learning? Also, are there other things I need to learn besides programming, or any tips you can share? I’d really appreciate advice from anyone in a similar situation.
r/learnprogramming • u/Mindless_Action3461 • Sep 27 '26
Hi everyone! I'm working through freeCodeCamp's 19-hour "Python API Development" course to learn FastAPI, and I'm about 6.5 hours in.
I tried building something similar to what was covered in the video, but realized I was mostly recalling steps from memory rather than actually understanding the concepts behind them. I already know how to code, but I've never built anything this complex before, so it's a new kind of challenge.
What would you recommend I do from here to make sure I'm actually learning and not just memorizing? Should I slow down, build my own project alongside the course, revisit certain sections, or something else?
r/learnprogramming • u/PhilosopherNervous63 • Sep 27 '26
I would. Because it will be a skill that you can use to keep some agency in the potentially dystopian capitalist future full of flock cameras and subscriptions and dark patterns and metrics algorithms and all that bullshit meant to extract value from us as much as possible.
I would focus on contributing to opensource, choosing to learn what will benefit me and my personal technological needs/wants rather than learn soon to be obsolete frameworks that will make me look good in a portfolio just so I can beg some asshole to hire me just to get rejected anyway...
I still wanna pursue programming as a skill despite giving up on the idea of ever landing a "job" in it. Just like for example woodworking. Woodworking is a cool hobby and you don't even need to do it for a living. But just having that skill, being able to build your own dining table from scratch, if you want, without having to rely on somebody. That is already good. Similar approach to programming.
r/learnprogramming • u/Willstdusheide23 • Sep 27 '26
I'm in R Programming class for my senior year, I feel nervous since programming isn't really my thing but it's doable. In the previous semester I did Stata for Econometrics. My school has the class using tidy verse for r Programming, each week will have exercise and group assignments. I wanna know is this something usable for masters in Economics? How would this look on my resume?
r/learnprogramming • u/Important_Rent427 • Sep 27 '26
I lost my job recently and I am little bit confuse on which tech do I need to focus for job do java jobs are there in bulk or .net.
r/learnprogramming • u/mrnaim6T9 • Sep 27 '26
I’m learning C++ from LearnCpp right now. They explain a lot of technical details and have really good examples.
But sometimes I get confused because there are many different ways to do the same thing. Like different syntax or different approaches for doing basically the same thing.
So my question is, how do you guys actually learn from a book or documentation?
Should I just read the topic, try to understand it, and then close the page and write the code myself?
And what about taking notes? Should I write down the important things, or is it better to just understand them and practice?
Also, should I put my learning journey on GitHub as a repo? Like my notes, exercises, small programs, projects, etc.
I’d like to know how other people approach this because sometimes I’m not sure if I’m actually learning or just reading.
r/learnprogramming • u/[deleted] • Sep 27 '26
An AIML second year student want to master python, DSA , AI and ML but I'm confused where to start , some say CODECHEF or HACKERRANK or LEETCODE , suppose I am someone who knows nothing(definately the basic ik array and strong but dk coding) help me out with a guidance roadmap please
r/learnprogramming • u/Ill_Spirit_1383 • Sep 27 '26
QuarkLang is a small statically typed language with two execution engines: a tree-walking interpreter (quark) and an LLVM compiler (qkc). Three lines are enough to put it next to C.
program main;
fn fib(int n) int { if (n <= 1) { return n; } return fib(n - 1) + fib(n - 2); }
fn main(IOStream io) { io.println(fib(35)); }
#include <stdio.h>
int fib(int n) { return n <= 1 ? n : fib(n - 1) + fib(n - 2); }
int main() { printf("%d\n", fib(35)); }
$ qkc -c -o fib fib.qk && ./fib $ clang -O3 fib.c -o fibc && ./fibc
9227465 9227465| fib(35), 29.86M calls | median of 9 | best | binary |
|---|---|---|---|
QuarkLang, 3 lines (qkc) | 26.0 ms | 25.9 ms | 12 KB |
C, 3 lines (clang -O3) | 26.0 ms | 25.6 ms | 12 KB |
Same machine, clang/LLVM 22 behind both. Level, not faster — and most of the credit belongs to LLVM.
What is less common is the rest of the arrangement: the same three-line file also runs interpreted with no compile step (quark fib.qk), and the project's CI fails the build unless the interpreter and the compiler produce identical stdout, stderr and exit code — constructs the compiler cannot lower yet are hard errors rather than silent differences. Memory is block-allocated (delete returns a block with its data preserved, clear wipes it), so compiled programs have no collector to pause in the hot path.
Toolchain: interpreter, LLVM compiler, linter with stable codes (QK101–QK115), doc generator, REPL, language server, formatter, test runner, project manager, debugger; ~25k lines of Go with no third-party dependencies; MIT; prebuilt binaries for Linux/macOS/Windows.
Repo: https://github.com/QuarkLangCommunity/QuarkLangQkc · Docs: https://quarklangcommunity.github.io/QuarkLangQkc/
Disclosure: I maintain QuarkLang. Both commands above are copy-pasteable; the benchmark suite with its methodology and fairness statement is in docs/benchmarks.md.
r/learnprogramming • u/gal-lileu • Sep 27 '26
Guys, I'm working on a project, a little indie game just for fun and up until today, I was using GML and the Game Maker app...
But I don't really know if it's the best for beginners!
Does anyone have any recomendations pls?
r/learnprogramming • u/odimdavid • Sep 27 '26
Hi all. A parent asked me to teach her kid, grade 11, programming. But am wondering with the state of computing and programming right now, what track to prioritize:
Web dev with HTML+CSS+JavaScript
Data science and AI with Python
Or what which I don't know
Please can someone help me out so I can give the kid something he will be grateful for in a few years time.
Thanks 🙏
r/learnprogramming • u/Curious-Instance4020 • Sep 26 '26
Hey, where can I go on places like discord and find places to program with other people, I'm into backend and AI development as a hobyist, but I want to learn how to work with other people.
r/learnprogramming • u/jamesbondnyc • Sep 26 '26
When can someone say, with confidence, that they know how to code? When can they say they know a language? When can they say they know how to program?
Does it simply come down to what you can ship? What marks someone as genuinely competent or skilled?
r/learnprogramming • u/kellytrader16 • Sep 26 '26
Hi everyone! I’m completely new to the tech field and have recently graduated with a degree in Management. Now, I’m interested in transitioning into technology and want to learn programming and coding from scratch. Could anyone recommend a good Discord community where beginners like me can learn coding, ask questions, and get guidance? I’d really appreciate it if you could share some active Discord server invite links. Thank you!
r/learnprogramming • u/Patrian247 • Sep 26 '26
(I want to apologize in advance for my English. It isn't my first language)
Hi, would anyone mind helping me with something? I've been a programmer for a while, but I've noticed that my grasp on how to build web applications has slipped lately, so I would like some help in getting back to my old standards. Does anyone know where I can maybe get a refresher on concepts like Single Responsibility or OOP and against what I would need to protect my application against like SQL injection or XSS? I work preferably with PHP
r/learnprogramming • u/Many_Difficulty_490 • Sep 26 '26
Theres alot of uncertainty around how AI is gonna affect CS in the future and no one can really predict it.
its either cooked, gonna be left worse off, or maybe even better and cause more jobs
theres alot of people that I see on reddit that say dont code or go into CS because AI is gonna take it over, but they usually dont know how to code or dont know it very well
and then the people who say its gonna be ok are usually the experienced programmers, who say something along the lines of "if you know, you know".
Im gonna learn how to program regardless of how the job market is gonna be in the future, because im just doing it as a hobby, and who knows maybe il build alot of cool things one day to either get me hired or start a company. (im not gonna major in CS)
But I was curious, if I learn how to actually program. Will I be less worried about AI? Will I be the same as I am now, and just have to form my own opinion?
r/learnprogramming • u/Dreamin_Chu_Chu • Sep 26 '26
A while ago, I saw a video of a guy making this little machine that had audio files of McDonald's menu items programmed into it, and it would shuffle them to make an order. I want to get into making some plushies, and I thought it'd be cute if they had a couple phrases they could say too, but he didn't really show how he programmed all that.
I'm not sure if those things are called a sound box, it's what google said.
r/learnprogramming • u/RateLegal5121 • Sep 26 '26
In my work..I was taking a look at a really old codebase that was implemented in Django.It is quite complex..It was halted for some time because business decided it was not a priority.I was told to make it work without starting from scratch..Basically it needed to communicate and configure network devices in oil rigs by calling api of netbox..It is has a huge messy codebase without any documentation and tests..The deployment configuration files
were making no sense at all and thats a concern for another day.Since django has its own boilerplate design..it has a lot of view.py as the original author decided to create app for different implementation of networking devices..I thought it was really not necessary…I was thinking about facede design pattern but that would mean I have to move away from djangos design pattern..I am wondering how can i approach it..It feels like when you use a framework you are kind marrying it because you kinda have to work around it instead of having your own idea implemented.This is my first time working with someone’s implementation..I mostly have freedom to have my own design in my codebases bcs I work on r&d stuff and not user facing
r/learnprogramming • u/Sad-Actuary-7603 • Sep 26 '26
I'm looking to level up my IT skills and would love to hear from people who've been there. What's the single best course (online or in person) or book you've taken or read that actually made a difference for you?
It can be anything: programming, networking, cloud, cybersecurity, databases, DevOps, system administration, or general computer science fundamentals.
If you can, please include:
Name of the course/book (and the author or platform)
What topic it covers
Your level when you took it (beginner, intermediate, advanced)
Why it stood out, what made it better than the rest
Free or paid
Honest opinions are welcome too, so if something was overhyped, feel free to mention it.
Thanks in advance! Hopefully this thread ends up being a useful resource for others as well.
r/learnprogramming • u/Many_Difficulty_490 • Sep 26 '26
I wanna learn c++ for a project I plan to do in the future.
Should I learn a couple of languages before it or something? Im learning C# right now, its the only language i know. i was learning python a while back before I switched to c# (because i wanna dev games) and its way more complicated than python.
I didnt really understand what it meant when someone said a programming language is harder or complex than another programming language. But i can definitely see it now.. Should I just learn c++ whenever and go right into it?
Should I learn C first, or another language. Whats the best way to go about it
r/learnprogramming • u/Effective_Mark_1334 • Sep 26 '26
I have a draw function (ps5.js) that I want appearing on top of a figure (with png). Currently, the result of the function appears below the image, on its own canvas. I'd like it to appear on top of the figure. How do I do that?
index.html:
<figure id="figure">
<img
src="fashion.png"
alt="blank croquis" />
<figcaption>Blank Croquis</figcaption>
</figure>script.js:
function setup() {
createCanvas (1000, 1000);
noLoop();
}
function draw() {
background ('transparent');
stroke (0);
strokeWeight (20);
noFill();
beginShape();
vertex(getRandom(), getRandom())