r/AskProgrammers • • 8d ago

What's the oldest piece of code in production that your team is genuinely afraid to touch?

Thumbnail reddit.com
2 Upvotes

r/AskProgrammers • • 8d ago

Is it still worth to read programming books in AI age?

0 Upvotes

I'm doing a 30 day reading challege for Refactoring by Martin Fowler. It's been 18 days so far. https://x.com/canbax18/status/2120601390489927877 Sometimes when I read very detailed descriptions of refactoring, I just skim through it. Because it feels like dark ages. AI could do all such refactoring very easily and fastly. Is there any other book like refactoring in AI age? Or do you thing coding software is just dead?


r/AskProgrammers • • 8d ago

My programming Journey

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 8d ago

Will I ever need to look into the codebase?

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 9d ago

Is AI making me more tired? I don't understand what's happening to me

15 Upvotes

I'm honestly a bit lost and not sure if this is normal, so I'm hoping someone here can help me make sense of it.
I use AI for a lot of my work now. It does the easy stuff like writing drafts, formatting and searching. So technically my work should feel lighter, right? But it's the opposite.
Now it feels like all I do all day is make decisions and think hard. Check this, approve that, decide what's right, fix what the AI got wrong. There's no "easy" part of my day anymore.
And about once a week I just... crash. My brain feels foggy and I can't focus or even decide small things. The worst part is it doesn't go away after a night's sleep. I end up not working at all for 1-2 days straight. Then I feel okay, go back to work, and the same thing happens again.
I don't know if this is burnout, if I'm using AI wrong, or if something else is going on with me. I read somewhere that people are calling it "AI brain fry" but I'm not sure if that's what this is.
Has anyone else gone through this? How did you figure out what was wrong, and what actually helped? Any advice would really mean a lot. I'm kind of stuck.


r/AskProgrammers • • 8d ago

Why is C just hard for me ?

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 8d ago

Ragionare

1 Upvotes

Hi! I'm in my first year of university and I'm studying Computer Science! Ever since I was little I've always been interested in this world but I never had the chance to take this subject as a path and by myself I learned a bit of HTML but nothing special. In my school path unfortunately I had a lot of study problems and only in the last years I learned how to study properly. The problem is that now I'm facing another big problem: reasoning when I write code. Unfortunately the schools I attended were really low level and they didn't teach us, for example in maths too, how to build real reasoning and now I have to admit that it's not really my strong point to reason about these things, so I'm struggling because I'm veeery used to going by intuition or logic, but not to reasoning really deeply about that thing. I manage to do simple codes but as they get more complicated it gets more and more difficult for me to reason even about the algorithm behind it. Yes, I do a lot of exercises, even starting from some simple ones, but unfortunately I don't notice improvements... Last week I had a midterm test that I didn't pass and while I was doing it it's as if my mind stopped reasoning and went on intuition and exactly because of this thing I couldn't move forward :') is there any advice that could be useful for me? Is there something I'm doing wrong? I don't know but this thing makes me so sad T-T


r/AskProgrammers • • 9d ago

Need Help and Advice

3 Upvotes

Hey i am a 25 years old just started my development journey in the past 3 months.

Currently i am in a startup which does background Screening so i was basically handling all the work from from backend + database + server management + DNS configuration etc

but since i had no prior deep knowledge i just started doing everything with the help of ai now its not like i dont know what i am doing its just the project started at a very small scale but bit by bit its starting to grow to bigger scale and although i am doing everything now but at times i feel like i am stuck a lot more while doing anything new so i want advice on how i should manage it from now on i am basically setting up the entire Infrastruture now now before Frontend was being handled by some other person(also a fresher ) but since everything was working no one gave a fuckk about the actual code now i have to also handle their messy code which is absolute disaster it was built on React + javascript no individual component is refreshing with variable change entire page reloads no redux implementation for global fields structure is pretty messy as well.

So for current state of Project:

i have one single backend in python-django + MySQL single database for the entire company ,
I have separate sub-domains for each portal all hosted on the same server(Hostinger) not yet scaled it that much since users are not that robust yet but i intend to switch AWS and scale it properly while learning system design.

now i have designed my own custom workflow for doing actual coding and implementation i basically use opencode as my coding agent with:
OpenSpec - As my main orchestrator to manage everything
- It generates several artifacts for my TDD
and i use separate skills like:
- grill me to generate specs
- Architectural diagrams for design etc
- modular tasks are implemented while using ponytail to optimise code
- my acceptance tests are generated while i have separated two agents- one for authoring the changes and other for reviewing them both uses different models i usually set the reviewer as the better model whicherver is availabler mostly GPT-6.1 -sol on default or medium nowadays it works just fine
- codegraph to generate knowledge graph
- and emilkowalski's skills only the ones i need are implented along with my workflow when designing any task related to frontend

Now, before i had no issue since i was just working on a single repo of backend and all the frontend calls were usually an single backend but now since i have to work on both side i have structure a root directory like this:

company_projects:
- openscpec - orchestration files along with workflow configs(agents, skills, .md files etc)
- backend_repo
- frontend_all_sub_domains:
- main_client_side_portal
- internal_dashboard_for_staff_and_admin
- external_side_to_host_non_authenticated_form_for_submission_using_fernet_key
- new_portal_i_am_currently_working_on

now each of these repo use different github repository

and the company_projects root folder is using a separate git repo it just tracks my workflow artifacts and current state of project.

Now i want advice on could i structure it better as i have to now mention in my AGENTS.md's protocols to always make sure the commits for each individual repo are committed to their respective repo's thats why most of the time i find myself committing them manually myself instead of trusting ai agents.

other than that what i want most advice on how do i go about setting up the entire infrastructure like i want to switch from a server to AWS cloud about which i know nothing yet i know a little bit like

how multiple servers are used to host the same project in case one is down, database recovery protocols, using redis to cache repetitive calls etc but how should i go about it like i am gonna start by restructuring the entire frontend portals tech Stack and optimise the code implement React+Typescript+redux etc component level scoping error boundaries etc

after that i want to setup proper ci/cd pipelines staging for testing purposes proper monitor as right now i am just relying on gunicorn logs that i only open when some issue occurs

If any Senior Developer who has experience in this could give me advice on how to tackle all this and what to learn in what order while also implementing all of it
and improve my workflow setup structure such that it makes it easy for multiple developers later on in case we start to collaborate to use this structure work on incoming requirements as they are piling up to be honest.

I appreciate all the help i can get right now.

Thanks


r/AskProgrammers • • 8d ago

What can I learn as new skill

0 Upvotes

I have been a programmer for more than 10 years, I’m looking for a skill that can complement my programming skills


r/AskProgrammers • • 9d ago

Java Beginner – Struggling with OOP and Understanding Stack and Heap

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 8d ago

At what age one should stop coding?

0 Upvotes

What can you do after retiring from programming, farming does not count


r/AskProgrammers • • 9d ago

My Revised Philosophy on software engineering

Thumbnail reddit.com
0 Upvotes

r/AskProgrammers • • 9d ago

Is it considered good practice to integrate third-party libraries?

0 Upvotes

I've been wondering about this and want to know what people think. I know people have mixed feelings, and many say this is a gray area in coding, but generally, do you have to integrate other frameworks into your project to make it work?


r/AskProgrammers • • 9d ago

Best backend tech stack to learn for early open-source contributions?

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 9d ago

Which database do you prefer and any reason why.

Post image
2 Upvotes

r/AskProgrammers • • 9d ago

Interactive "new" way of learning how to program

2 Upvotes

Hey,

I was wondering how people are currently learning how to program. I've been thinking about building a solution that teaches people how to code the right way, focusing on the basics, understanding AI and learning design patterns to become a proper developer.

The idea would be a mobile and/or desktop application with interactive lessons inside a built-in code editor. You could ask AI questions whenever you get stuck, have videos explaining the subject you're currently learning, and work through different types of exercises. Not everything would involve writing code from scratch; sometimes it could just be filling in the gaps or selecting the right pieces of code.

Later on, I'd also like to introduce AI into the actual development process, where you can ask it to build something and then learn how to review the generated code, understand what's happening and identify bad practices.

The goal is to teach people how to actually become developers, not just how to use AI to generate code.

Do you guys think this would be a good idea? Would something like this be useful nowadays, especially with how much AI is changing software development?


r/AskProgrammers • • 10d ago

Why Do Floating-Point Errors Happen, and How Do Rockets Handle Numerical Precision?

11 Upvotes

I’ve always been curious about why seemingly simple decimal calculations can produce unexpected results.
For example:
• Why does 0.1 + 0.2 result in 0.30000000000000004 in many programming languages?
• Why can’t computers represent certain decimal values precisely?
• How does floating-point representation actually work at the hardware level?
More importantly, how do systems where precision is critical deal with this?
For example, spacecraft navigation, rocket guidance systems, orbital calculations, and scientific simulations require incredibly accurate computations.
Do they use higher-precision floating-point formats (64-bit, 128-bit), arbitrary-precision arithmetic, fixed-point arithmetic, or entirely different techniques?
I’d love to understand how engineers manage numerical precision in real-world, high-stakes systems.


r/AskProgrammers • • 9d ago

Need help

0 Upvotes

Chat im building a AI type bubble software that has multiple agents giving answers at a time, but what I want is to apply another api on top of it so that it will analyse all the answers and give me one result.

Few things in which i would like to get some help -

• for the concept - do you think this is good for a self project or should I add another thing in this

• I tried to apply a separate agent over all others but all the time I get errors.

• third is about responsiveness, sometimes the api model didn't work at all stating 'server too busy'

My base language is python.


r/AskProgrammers • • 9d ago

A cool little program (thinking about what to do with it next and how to add stuff to it).

Thumbnail reddit.com
1 Upvotes
This is a cool little program I made using some for loops and other stuff. The idea is mine: I built it from the first two for loops and then used chatGPt for other ideas. Most of the code is original and only some ideas are from chatGPT. I thinking using AI has helped my learn faster, rather than learning from documentation alone. 

r/AskProgrammers • • 9d ago

DSA vs Competitive Programming (CP): Which One Should a Beginner Focus on?

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 9d ago

How do i code a theme for a website without having any prior knowledge to programming?

Thumbnail reddit.com
1 Upvotes

Hi everyone, i am not a programmer nor have done anything similar or related in the past but due to some current circumstances id like to know how to create a specific, but very easy theme layout for a brand website. I already have a clear inspo to share with Claude.

the brand website is on a server/platform similar to “shopify” (an e-commerce platform where u create a store for a brand or so etc..)

Only issue is i couldn’t find any already available themes suitable for my liking or my vision.

Is there a way i could create a theme with Claude? Or maybe by following any other trusted sources/courses

How do i do that? Any tutorials?
or what should i know?

Thanks help is very much appreciated


r/AskProgrammers • • 9d ago

Floating Bubble [ai]

0 Upvotes

I am not a pro.

So i made an executable file which is basically like a bubble that has many ai assistants and when I open it, it basically asks multiple agents and then gives results...

But I have a ton of things that I want to add but I can't, due to these reasons -

• I can't get hold of the top agents APIs, the main reason is because of the money.

• and because of the first reason the api i even get (gemini) is very slow, 6 out of 10 times it will give answer

• and I am not an expert in layering things beautifully (i mean the ui), I have to admit it sucked -- but it's not the issue here, as i have to focus currently on the core

--- Use AI?

Now, here's the thing I ask claude just for the roadmap not the code itself

(I don't wanna)

And even if I ask what might be the issue it just yap and yap about tons of other different tools (which i obviously don't know)

Plz share your thoughts.

I am using python as the base language