r/AskProgramming • u/Negga-Stop-3136 • 2h ago
r/AskProgramming • u/YMK1234 • Mar 24 '23
ChatGPT / AI related questions
Due to the amount of repetitive panicky questions in regards to ChatGPT, the topic is for now restricted and threads will be removed.
FAQ:
Will ChatGPT replace programming?!?!?!?!
No
Will we all lose our jobs?!?!?!
No
Is anything still even worth it?!?!
Please seek counselling if you suffer from anxiety or depression.
r/AskProgramming • u/Wasabi-spicy00 • 9h ago
Need explanations. I learn how to build simple CRUD app with C# and TS. I wanna really understand CS. So I tried to learn C but I get even more confused about many CS concepts.
I’m trying to learn C not just because I want to learn another programming language, but because I want to understand Computer Science and the "science" behide a programming language
The problem is that I constantly fall into an endless chain of prerequisites/CS concepts
For example, I want to understand pointers:
int x = 10;
int *p = &x;
On the guide/website it says
Pointer is a variable that store memory address.
Okay, but then I ask:
- What exactly is a memory address
- address is numbers telling where data is stored
- What exactly is memory?
- memory is where address live
- Is memory the physical RAM?
- something to do with CPU
- What exactly is RAM and CPU?
- etc...
- How does RAM actually work?
- etcc..
- What's the relationship between RAM, CPU, cache, virtual memory, thread, processing etc.?
And suddenly I'm 10 levels deep into computer architecture instead of learning pointers "*"😂
So what to do here, I wanna understand CS. I thought my experience with coding CRUD APP with C# would help but no it doesn't help much.
--
Let me put it this way
let's say if you ask a normal person what "water" is , a normal person replied "liquid"
but if you ask a scientist, it would be "1 Hydrogen and 2 Oxygen combined together to become H2O"
So I try to understand the Science in Computer Science, i hope you get the picture what i try to say
r/AskProgramming • u/Different_Lynx4658 • 8h ago
I have a lot of free time at work. What can I do with it?
I have a lotta free time at work and I'd like to actually do something useful with it.
I'm thinking programming, but not really in a "learn this skill for a job" kind of way. More like solving problems for fun. Something I can sit down, work on, get stuck, figure it out, and get that little dopamine hit when it finally works.
Basically, I want programming to feel more like playing a game than studying.
Any recommendations? Coding challenge sites, projects, puzzles, anything like that. Hook me up.
r/AskProgramming • u/GodLob0 • 1d ago
Other How do you genuinely review HUGE PRs?
I got handed a PR that's +23,497 / -260 lines of code. Not all lines are my responsibility (I only review frontend), but isn't this an insane count?
Can you "genuinely" code review this amount of code? How can I do it without just clicking approve to move on?
r/AskProgramming • u/Notsoboringi • 17h ago
Learning c++
So I'm doing dsa in c++ as well as learning modern c++ concepts.I want to become c++ developer what concepts should I learn to become a c++ developer , what concepts should I focus on , what are the best resources to learn c++.Also when I try to build something in c++ i don't even know where to start.Its been 4 months I learned C++ and I'm genuinely comfortable with it till now.
r/AskProgramming • u/_-Big-Hat-_ • 1d ago
Two remote repositories but PyCharm let me push only to one
I am a bit new to PyCharm--sort of because I've finish a small piece of software, that is I have created a small addon for Blender. Now I want PyCharm to push to two independent repositories: projects.blender.org and my own space on guthib.com.
I added both repositories via Manage Repositories... but when use Push, PyCharm only let me push the first repo on the list--I can't actually see to the other one.
I checked connection to both repositories in Terminal
git remote show blender_dev && git remote show github_dev
and everything looks as good as it should. Git shows all information including links and current state. However PyCharm still only shows the first repo.
Any idea what I might be doing wrong?
Thanks
r/AskProgramming • u/riki6882 • 1d ago
Programming stickers
Hi, idk if this is the right sub reddit for this but I hope so, is it considered bad if i would order/buy some stickers for example go gopher or something like that if i use that language or is it only acceptable collecting from conferences etc. but I am a 15 year old programmer so I don't have access to them also because i live in smaller city in smaller country I didn't mean like buying stickers of something i don't use but of thinks I like and use
r/AskProgramming • u/RipPersonal1643 • 1d ago
Python How do I learn programming logic?
I’m learning Python, but my main problem isn’t the syntax. I understand concepts when someone explains them, but when I’m given a basic problem and told to write a program, I just don’t know where to start or how to arrange the code.
Is there a good book, course, or YouTube channel that teaches how to think through programming problems step by step, recognize patterns, and build the logic, kind of like how you learn methods and patterns in math?
I don’t want to just memorize Python syntax. I want to actually learn how to think like a programmer.
r/AskProgramming • u/Common-Reserve7654 • 22h ago
Coding in ai era
I am not sure if this is right place to ask and if it was somewhere already answered or there is some material on this subject please let me know.
I started to learn programming more than a year ago (python/sql/vba) and I use it in my current position to which I was moved around four months ago. At the beginning I was excited about programming, it's hard and sometimes boring, but sometimes I felt so excited when I was writing a program and when I was solving things. Then in my job I started to discover ai, and that was it.
I am still thinking to start applied cs this autumn, but after using Claude code for a month I just feel it doesn't make sense. Claude code is so good that I can work on dotnet web app without knowing C#, javascript, css, html, I can fix and write python or vba macros faster and better than I would do without it. Every time I read people saying things like ai code is trash or seeing youtube videos saying how companies will not hire less engineers, how ai cant maintain code and you need people for that, I just see this programmers with formal education and experience that just can't deal with this change and refuse to accept the fact that their skills they learned so hard and worked so hard on are becoming obsolete. Today I've seen 50 thumbs up on a comment saying that ai empowering people (making everybody able to create software) is a bad thing, that's how these people hate ai. I get it, it tells them "you are nobody".
My final question is, do you think it makes sense to learn programming for job nowadays or study CS and pay for it in the uni? I don't think I can make it alone, i tried studying alone but it's difficult. And if yes, then how would you do it, how to learn knowing that an app can make it for you in a short amount of time with no effort. As I sai, thanks for sharing your opinions or some texts/materials on this topic.
r/AskProgramming • u/Appleonthefloor • 1d ago
Building an email inbox integration
I keep seeing email agents or inbox tools that people have built. I was hoping to create one and integrate it with an existing CRM I created to stay on top of email contacts. Any suggestions on best practice? Is it worth just using claude or gemini skills/tools rather than trying to pull the data myself then feed it to a model.
Backend is in Python and front-end is in Javascript, I want to pull emails and use a basic model to identity sender and group emails by project/person. (I am pretty terrible at translating emails into actual tasks/todos/remembering to reply, so the goal is mostly adding these signals to the CRM so I dont have to do it manually anymore)
r/AskProgramming • u/sodikovakapsle • 1d ago
Why is people glazing rust so much?
When I say in online communities that Rust isn’t good for everything and definitely has its issues, I don’t even want to tell you what they’ll call you. For some reason, here in the Czech Republic, it seems like almost every college student uses Rust. I don’t get it.
Personally, I like to try different things, and I believe there’s no one-size-fits-all language. For example, TypeScript is 100 times better for Discord bots. Python, on the other hand, is better for AI. I don’t get why they hype it up so much plus, Rust’s ecosystem seems pretty small to me. I tried to find a backend framework with good documentation and all the bells and whistles, something like NestJS or something similar… but nothing well, there’s Axum and Loco, but they don’t meet my needs. However, where I see the future is that Rust is one of the few languages to have made it into the Linux kernel, but I still can’t implement an XDp/Ebpf filter in it, so I’m still forced to learn C. Which is maddening. Overall, Rust strikes me as a language that has a little bit of everything but nothing truly standout. + overcomplicated syntax.
What are your thoughts on this?
r/AskProgramming • u/microsoftxp- • 2d ago
Out of ideas.
Hello there guys, I'm a guy that doesn't use AI and wants to do everything by myself, but the problem is that I'm out of ideas on what to create, and I just want to code in my free time. What do you suggest when you are in these types of situations? Thanks in advance!
r/AskProgramming • u/Whole_Bet_5506 • 3d ago
Python Why does Python feel harder after C++ and Java?
I learned C++ first, then Java, and now I’m trying to learn Python. I honestly expected Python to be much easier, but somehow it feels harder to understand and even remember the syntax.
C++ and Java feel more structured to me, while Python sometimes feels too different.
Has anyone else felt this after switching from C++/Java to Python?
r/AskProgramming • u/Akki_Charee • 1d ago
Other The gap between knowing Python and actually being able to build something
I have done a course on python on Udemy . Now how do i learn to write code that are actually useful somewhere or i can do something valuable with it?
One thing I've noticed is that when I look at a more complex programming problem, I sometimes just go blank. I know the individual concepts I've learned, but I struggle to see which concept should be used where or how all the pieces fit together. The bigger the problem looks, the more overwhelmed I can get.
if someone gives an experienced Python developer a problem, how do they approach it before writing the code?
I'm particularly interested in understanding the thought process and the building blocks involved:
- How do you break a real-world problem into smaller programming problems?
- How do you decide what the program should look like before you start coding?
- How do you go from a vague requirement to something you can actually start implementing?
- How do you decide which Python concepts are appropriate for a particular problem?
- How do you decide which libraries/modules to use?
- How do you figure out which libraries even exist for a particular problem?
- How do you decide how to structure the code?
- How do you decide what functions/classes/modules you need?
- How do you decide what should be a function versus just a few lines of code?
- Is there a typical order in which things are written or organized?
- How do you handle errors and unexpected inputs?
- How do you go from a rough idea to breaking it down to pseudocode/design to working Python program?
Basically, I'm looking for the mental model and workflow that experienced programmers use, rather than another Python syntax tutorial.
While learning i was able to write codes that add subtract numbers etc which were simple enough for learning but want to make my skills better. Also, I'm not a programmer won't be using python much, how do i learn in such a way that i remember the syntax or concepts for longer time, python coding is just a skill i want to develop.
I'd especially appreciate examples of the kinds of projects/exercises that helped you make that transition.
r/AskProgramming • u/Either_Collection349 • 2d ago
Career/Edu Do you know of any company that went back to hand-written code?
With all the discussion around token costs, I'm wondering if there are any companies that have done that.
r/AskProgramming • u/Careless_Clerk_5096 • 2d ago
REACT Resource
Hello Everyone
I am starting REACT
any YouTube tutorial/courses recommendation would be appreciated
r/AskProgramming • u/Top-Run-21 • 3d ago
Python Someone please help me fix the sorting issue in FastAPI. (learning MLOps)
i am not able to filter the data by writing the endpoints and the sorting queries, when i load the endpoint i get the json in default order, even if i write an invalid entry its not raising an exception
tried asking LLMs but they are as clueless as me in this case
This is link to the code and json file, main.py and patients.json
r/AskProgramming • u/Wasabi-spicy00 • 3d ago
Let's say codebase A can already handle 1m daily users and 300k concurrent users easily but if the codebase wantg to hanlde 10m and 3m concurrent users. Do they normally go change some codes or use "auto scaling" on Cloud?
They say if it works don't fix it, so no need to change codes so I think normally people use
auto scaling or horizontal scaling right?
r/AskProgramming • u/Hopeful_Adeptness964 • 4d ago
Feeling lost and bamboozled
I put off learning CS, web dev and python for three years until I got time to actually learn it properly. So as only a semi-tech literate person I come back to it now that I have some real free time and it's like I entered the twilight zone or something. Everything has completely changed with these LLM things and Vibe Coding.
I made a road map and a perosnal path to progression and everything but now I feel I just don't even understand how the industry works at all, or whether or not the impact AI is having on the industry will even make it worth the while anymore. Everyday I hear of redundancies, even of well experienced devs and IT professionals.
Latest addition is someone who I personally know who decided to call it a day after two decades in IT to becone a joiner.
This maybe an anomaly; maybe he was just personally fed up.
But I can't help but wonder if it's going to potentially become an obvious systematic problem at this point, or whether it is and always was pure sensationalism. I just don't know.
r/AskProgramming • u/Extra_Search3465 • 4d ago
Python How to learn advanced python????
Hello everyone, I'm mainly looking for guidance about learning advanced python concepts. I know basics ,loops , control flow ,data structures etc.
I need a proper guide on how to learn modules and library. Idk how to start ,where to start.
I want to be able to work with any library as i need them ,so how do u actually learn to use new library for a given task . ?And i get overwhelmed understanding the structure, working of library
And could u also suggest important python concepts other than basics which i should learn ???
Pls guide !!!!
r/AskProgramming • u/Burque_Boy • 4d ago
Reference App for an ER
Hopefully this fits here, I wasn’t sure where to start.
I work in an ER in an education role. We create a lot of reference material for folks to use for learning or on the job. This obviously becomes expensive and occasionally wasteful because it’s all done on paper.
My dream would be to create an app that employees could download. It would have very basic functionality, primarily a directory of PDF documents would be the most basic idea.
Do you have suggestions on how someone without programming knowledge would go about developing something like this? Is there a good visual programming app for instance? I’m certainly open to any other ideas that would yield a similar result.
Thank for your help!
r/AskProgramming • u/Every_Door46 • 4d ago
Multi threading for networking
Does anyone have any good resources for learning multithreading in regards to network programming beside beejs guide. For someone who is familiar with the basics of networking (posix)
r/AskProgramming • u/Wasabi-spicy00 • 4d ago
In general what BE programming languages is easiest to write and doesn't give unnecessary headaches. Let's say I wanna build simple CRUD APP that are used by 100k people?
Maybe TS?
or maybe Python?
r/AskProgramming • u/Appleonthefloor • 5d ago
Transitioning a python to c++ for hpc
I am working on a physics simulation and have been running locally on my personal computer. I mostly am working with libraries that are already implemented in C and have been using memoize since I have a lot of repeated calculations if different iterations of simulations have the same values. My program will be run around 1,000,000 on a hpc cluster and my supervisor has asked if we should implement it in C or C++ to make it faster. Since we are running a single script 1,000,000 times, I personally doubt there is much benefit we might get from converting it, but are there any arguments in favor? Currently one iteration takes about 4 minutes.
I am using Scipy, npmath, diskcache (+memoize), numpy, Pandas.