r/learnprogramming • • 22h ago

Question about AI and code

0 Upvotes

Hello, I’ve got a question. How can you tell if a piece of code was written with the help of AI?

That’s because someone’s had a go at my code, but it doesn’t look the same as it usually does. I’m not sure if I’m making myself clear


r/learnprogramming • • 21h ago

1st sem student, finding hard to practice coding and become pro at it

1 Upvotes

Seniors please help


r/learnprogramming • • 21h ago

How should I be taking notes in C, C++, and Assembly classes?

2 Upvotes

Hello, I am a second year (transfer) CSE university student.

I’ve taken two prerequisite courses learning C this past year and after getting VScode setup and becoming familiar I almost wished that I had been taking notes in class with it instead of writing on paper. Is this something many people do?

I think my classes will be moving on to C++ and Assembly language which I have 0 experience on. Should I look at trying to trying this method next semester? Are there other programs better suited for notetaking? What have yall used in the past?

Sorry if this isn’t the right subreddit for study questions, any sort of experience yall could share is appreciated!


r/learnprogramming • • 23h ago

Help me learn C++

0 Upvotes
I’ve been reading Herbert Schildt’s book on C++ and have reached page 340; is there an easier way, so I don’t have to read another 300 pages?

I’ve been reading Herbert Schildt’s book on C++ and have reached page 340; is there an easier way, so I don’t have to read another 300 pages?

r/learnprogramming • • 16h ago

Loops and sorting

0 Upvotes

Im 1st sem student, currently learning programming basics course.

I find myself confused and lost at 1) nested loops, their logics and algorithmic conditions. 2) in sorting.

Like I was trying to learn sorting algorithm bubble one, when I tried to understand the condition n-1-i I got completely blank, idk if it's normal or not, but I'm really weak here.

Anyone faces the same and got some solution, do share, it will help a lot!!


r/learnprogramming • • 7h ago

Has anybody heard about Cognition?

0 Upvotes

I am an open source dev and have been using AI assisted coding a lot lately (Claude and other OS models). But I always find agents forgetting context really annoying, I do have my own workflow around that. Cut long story short, I found this I dont know what AI memory tool called Cognition that maintains context across agents. Any reviews?


r/learnprogramming • • 17h ago

How would I make a tampermonkey script that creates a button that, whenever clicked, automatically completes the current Lexia power up unit I am on?

0 Upvotes

All I can figure out is how to add the button.


r/learnprogramming • • 5h ago

What to do !

6 Upvotes

I know how to write code, but not in the LeetCode style . I also want to do DSA, and my seniors told me to learn a coding language too i know (I already know C, python ). Tell me what all I should do in this situation first .


r/learnprogramming • • 11h ago

New grad 0 YOE, got a job offer that seems too good to be true. Worried I'm walking into a bait and switch

13 Upvotes

I got a job offer for the title of associate application developer, the salary is 60K a year. The company is very well known (but not FAANG). The role involves Salesforce and the Apex coding language: two skills I don't have yet. They didn't require Salesforce experience, but they listed it as a nice-to-have.

I didn't expect to get an offer. First off, I have no internships or technical experience under my belt. The online technical assessment (HackerRank) had me complete a LeetCode style problem. My solution was not optimal and 3 test cases failed. Then I had to edit a buggy Spring Boot project. It was at that time that I realized that my Java was very rusty. So the solution I came up with would not have run at all.

Then came the online recorded interview, where I stumbled through every question with answers that were barely coherent. After that, I thought it was over, but then I got an invitation to an actual behavioral/technical interview held over Teams, with a quality assurance engineer and a senior mobile developer. It was the first interview I've had with actual people. I prepped for this interview by practicing with an AI assistant, and during the interview I would say my answers were coherent but did not demonstrate any exceptional skills. My lack of experience with GitHub was made apparent during the technical portion, and during the behavioral interview I answered one of the questions with an embarrassing story about how my mom read a story I wrote and didn't like it (couldn't think of anything else at the time).

I didn't even have a referral, I just cold-applied through the website. But I got the offer, my first one ever! I'm very suspicious because surely there were more qualified candidates, with more experience (again, the company is well-known). I wonder if there were red flags that I missed, that caused those qualified candidates to walk away. The job posting has also been up since August.

I looked up both of the interviewers on LinkedIn and nothing stood out to me as suspicious, their profiles seemed consistent with what they told me during the interview. I also tried to search for people who had the job title I was applying for, hoping to ask about their experience at the company, but I didn't find anybody. I'm pretty sure the website I applied through was the official website.

If I accept the offer I will have to relocate. So if the job isn't what it seemed, then it'll be pretty bad for me. I would very much appreciate some advice from someone more experienced than me on red flags and things to look out for before I accept the offer.

I tried to post this in r/cscareerquestions but it got removed due to a karma requirement. If there's a better subreddit I can post in, please let me know.


r/learnprogramming • • 14h ago

Topic How to upskill and stay sane?

17 Upvotes

I have been in the rabbit hole to figure out what to learn and how to progress as a software engineer. The more I am researching the more frustrating it becomes. Majority of what I am consuming is contradictory and just hype to get views.

I came across a talk about how you should not build agents because skills are the new thing. Build skills and one agent can handle everything. Cool. Less work for me. Then I come across Claude ship where there are apparently different agents to review. But I thought anthropic stopped building agents and moved to skills? So it's right when anthropic builds it wrong when everyone else does?

I was watching a talk by Lauren tran where she was mentioning how she doesn't read code anymore. But then she mentioned that if you catch a mistake like pattern you don't like make it a deterministic check such as a lint rule to prevent the agent from making that mistake. But I wasn't reviewing the code how would I catch the mistake?

How are you guys keeping sane and upskilling in this era of hype machine slop content?


r/learnprogramming • • 15h ago

Topic storing plain date strings in sqlite vs full utc timestamps

9 Upvotes

i started building a tiny python cli script to log daily habits into a local sqlite file. every tutorial says to always store dates as utc iso strings and convert on display, so i tried doing that with datetime.timezone.utc.

problem is if i log something late at night around 11pm local time, utc pushes it into tomorrow's date... then my streak counter thinks i missed a day or logged twice on saturday.

since i literally only care about the calendar day in my own timezone and never the exact hour, is it bad practice to just save plain yyyy-mm-dd strings from date.today() instead of overcomplicating it? feels like i'm fighting timezone math for no real reason here, though i defo don't want to pick up terrible habits early on


r/learnprogramming • • 3h ago

Tutorial Which books worked best for you for SQL?

13 Upvotes

I know this is not strictly a programming language fwiw.

I also know this is potentially an FAQ and the common answer will be to point me to a website or a course but I’m in a bit of a tricky situation in that I need to learn SQL for my job but my employer will only fund books rather than courses so I was wondering which books worked best for you guys? Thanks.


r/learnprogramming • • 12h ago

Lengthy post but brainstorming ideas for python project need opinions!

3 Upvotes

Developing an Open-Source Windows Endpoint Performance Manager – Looking for Community Feedback
I’m currently developing an open-source Windows Endpoint Performance Manager designed to give users more control over system performance, resource utilization, and power management.
Rather than creating another generic Windows debloating tool, I want to develop an application that intelligently optimizes Windows based on the user’s hardware, workload, and individual preferences.
Some planned features include:
Gaming, productivity, battery-saving, and custom performance profiles.
Selective Windows service and background process optimization.
CPU, GPU, RAM, disk, and network performance monitoring.
Dynamic power and battery management.
Hardware and driver detection.
Configurable remote access and background service management.
Automatic configuration backups and rollback capabilities.
Advanced developer settings for experimental optimizations.
Performance benchmarking before and after optimization.
A user-friendly graphical interface.
Minimal resource consumption from the application itself.
My goal is to make optimizations selective and reversible rather than permanently disabling Windows functionality or applying questionable registry tweaks.
I’m currently in the planning and initial development phase, incorporating Agile development practices, ITIL change management principles, risk assessment, and technical documentation.
I’m also considering eventually using this project as the foundation for doctoral research into adaptive endpoint optimization and resource management.
I’d love to hear the community’s thoughts:
What features would you want in an application like this?
What problems do you have with existing Windows optimization tools?
Are there existing open-source Python projects worth integrating?
What performance optimizations have you found genuinely beneficial?
Would you be interested in contributing or testing?
GitHub repository:
https://github.com/WWARxHaVoCx/endpoint-performance-manager
The project is still in its early stages, so feedback is welcome before I finalize the application architecture.


r/learnprogramming • • 10h ago

What have you been working on recently? [December 05, 2026]

2 Upvotes

What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

A few requests:

  1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!
  2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!
  3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

This thread will remained stickied over the weekend. Link to past threads here.


r/learnprogramming • • 4h ago

Need advice

3 Upvotes

hiii
I am new to making web applications and all
Ik all basic python fundamentals
There is an upcoming hackathon that I am participating in but needed some advice
Most of my code has python in it , its hard ngl but i am pushing through with AI's explanations - not the best though
I am using python and connecting it to streamlit , and obv i used Github to keep my app's files

But I dont know github 😬😶‍🌫️
I have barely 5 days to figure it out , but i am so busy with my code n my teammates
Could some pls give me info on github , the basics

i m going to show the judges my webapplication thru the link tht streamlit will give me
but will streamlit keep just one fixed link ? does it change every time i make some edits n deploy again ?

the organisers also want me to share the link to the web application a day in advance , which means i will hve to deploy it early on , do i need to pay for all tht time ?

cause its deployed for a whole day , n i m gonna use it for the competition the next day

it has to b deployed for max 40 hours , and will b used for approx 8 hrs overall , not continuous

ik github keeps my code online right there for everyone to see , but if i share just the link to streamlit , will they get my github too?

r there limits to how many apps i can deploy ? on streamli
n any limits to the number of repos , on github ?

sorry , ik i m asking dumb questions , i actually lrn things on my own , n real world coding is new n hard to me
i was used to block coding when i was a kid

thankyou so much !!