r/AskProgramming Mar 24 '23

ChatGPT / AI related questions

Upvotes

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 1h ago

What exact "orchastration" job AI has created so far since 2023 ??

Upvotes

Lot of post making sweeping statements that coding is dead, arch design is the new job in dev field .

Ok where are those jobs, especially entry level ones. Because it's convenient for seniors to be orchastrator ( if that's a thing at all , I will come to that in few lines ) ?

What should be in the resume to get the "orchestrator" job thing ? what is getting asked in interview ??

And one more question, theoretically, if AI understand the requirement and code, why will not they do the orchestration thing too ??

and even better, why can't it do the CEO job ?? Apparently it can sweep out all white collar laptop jobs.


r/AskProgramming 9h ago

Portfolio?

Upvotes

As someone who is working on his CompSci degree currently (second degree, after Sociology bachelor's), I am having to add little projects and stuff from my classes to my portfolio. However, I don't honestly think they'll be of much use... Like I don't see employers wanting to check out my 3 java classes I created for my CS 210 class or whatever.

That said, what are some solid pieces I could add to a professional portfolio that actually matter.

PS I am more adept with python than anything else. But know a little java, C++, and SQL.


r/AskProgramming 4h ago

Other Which languages to learn if I want to make a really cool website (which has simple games on it)

Upvotes

I have no programming knowledge but slowly I've learnt some basics of html and it's actually easier and more understandable than I originally thought it would be. But I dont know how to bring my ideas onto the internet. I know CSS is for designing so I'll have to learn that too. But whats the most fitting language for this role? Or do I have it wrong and all languages be used for it? can they be mixed with eachother and used together?

I wont annoy with more novice questions, Ik, I can just google it, but its always nicer to hear from real people and how they learned / came to be in their own experiences.


r/AskProgramming 23h ago

Other How is the code quality in expensive LLM plans?

Upvotes

I have several years of software experience, following best practices, design patterns, KISS, DRY, BDD, OOP, etc.

For the last 1 year I've been using the Pro subscription for 20$ on Codex and Claude but I find the quality of code subpar many times and I always have to intervene. It doesn't matter how many times you change the AGENTS.md, there's always issues in code readability and the AI missing obvious things and doing overengineered solutions.

Still, I see in many subs about how great a new model does, etc. So I wonder if the more expensive plans actually produce better quality code?

To be specific, high quality code == human readable code and comments and no naive implementations.


r/AskProgramming 14h ago

How do you design REST API - "me" endpoints

Upvotes

Hey, so I am making an app, and I am kinda lost because i can't find any good resources on the internet regarding that topic.
The app consists of two parts: mobile app, and a web admin dashboard that doesn't need to be built for like 3 months from now on.

let's say i have a resource "listings" which returns different dto's
How would you structure this for those requirements:
1. show all listings available for the current user (PublicListingDto[])
2. show all listings that belong to one user by id (PublicListingDto[])
3. show all my listings (OwnerListingDto[])
4. show all the listings paginated for the admin dashboard - just admin role (ListingDto[])

my inital thought was to just have it like this
/listings - 1
/listings?sellerId - 2, 3 based on the JWT id == sellerId
/admin/listings - 4

given the REST standard it should probably be:
/listings - 1, 4 based on the user's role
/listings?sellerId - 2, 3 based on the JWT id == sellerId

the setup that makes the most sense for me:
/listings - 1
/listings?sellerId - 2
/me/listings - 3
/admin/listings - 4

the app will have a lot of those scenarios, should i just make a separate resources such as "me/listings" and "admin/listings"
The problem i have without /me endpoint is that on frontend you have to constantly worry that the userId need to be defined which doesn't sound appealing to me.
On the other hand I don't know whether that is really following the REST standard.


r/AskProgramming 15h ago

Help understanding Mascarpone

Upvotes

I found this esolang Mascarpone and want to get a better idea of how it's supposed to work. If someone's up for a quick intellectual exercise, could you please help me understand? I vaguely get it from the readme, and chatgpt helped a bit, but I'm still very fuzzy. Also the demo/ directory of the repo doesn't have anything helpful. (EDIT: ah, found examples in the eg/ directory. Still rather cryptic.)

How would you do something super simple like represent a bicycle? I mean

Python

class Bicycle:
    def __init__(self):
        self.speed = 0
    def accelerate(self):
        self.speed += 5
def main():
  mybike = Bicycle()
  print(mybike.speed)
  mybike.accelerate()
  print(mybike.speed)
main()

Prolog

bicycle(speed(0)).
accelerate(Bike,Bike_) :- 
  Bike = bicycle(speed(Speed)),
  Speed_ is Speed+5,
  Bike_ = bicycle(speed(Speed_)).
main :-
  Mybike = bicycle(_),
  Mybike,
  writeln(Mybike),
  accelerate(Mybike,Mybike_),
  writeln(Mybike_).
:- main.

How would you do this in Mascarpone?

Thanks!


r/AskProgramming 15h ago

suggest a great source for DSA prep

Upvotes

Hey everyone, I'm currently in my 3rd year (entering) and starting my SDE/internship preparation.

I'm confused about how to learn DSA and which resources to follow. There are too many YouTube channels and sheets, and don't want to keep jumping between them. Although I've been trying the striver's A2Z sheet lately, but their are mixed opinions about him as well, so wanted to ask the experienced ones

For seniors/students who have already prepared:

Which YouTube channel/course did you use for DSA?

Which DSA sheet would you recommend?

What should my 3rd-year roadmap look like for SDE placements?

Should I focus on DSA + development + CS fundamentals together?

Would really appreciate a simple, practical roadmap based on what actually worked for you

(I can understand c, cpp, and basic programming, including loops and conditional statements etc)

Thanks!


r/AskProgramming 23h ago

How do I survive this bad market and escape cash crunch?

Upvotes

I am unemployed since like 4 months, I am a 2 YoE sde. But since 4 months, forwhatever reason, I am not getting another job .

Tried all sorts of things, emailing, DM to recruiter , resume tweek etc. Nothing worked.

Yesterday I again tried open source contribution, it's not my forte.

I am thinking to develop SaaS to get cash, but how to execute it I have no clue.

By execution means, finding the idea and make people pay for it, developing is the easiest part


r/AskProgramming 1d ago

Other Overuse of AI in companies

Upvotes

I have already seen a lot of posts where managers,CEOs and other upper people encourage and want us to use AI for development.

Is it really just FOMO or why do they push so much on AI. I get it it make stuff faster which is great. But faster is not always better. Right now I am on a project where I had like 3 months to make it and using AI I was really capable of doing it (first I started with using it just as help, explanation) now for a month I have been using obly to generate the code and I do not a lot of programming. And I hate it. The code is just messy, I dont have much of notrol over it. I have already said in a meeting with the manager and upper ones that overuse is not good and we will have a lot of debt, the code wont be maintanable won't be scalable. Yes great I will deliver it in time but the code is terrible. I otherwise wouldn't use AI to generate me code if I wasn't on so little time to deliver the project.

I get a lot of times just use AI it will make you faster. I make a question, I get the answer this is not hard to make just use AI.

I use AI in order to learn, I am still young and I want to learn stuff, but using so much AI I think I dont learn anything.

What do you all think about CEOs managers and others pushing to use AI as much as possible and let it handle everything?


r/AskProgramming 15h ago

I am creating a manual note taking tool for understanding large codebases

Upvotes

Hello everyone, I am using Godot engine to create a note taking program for uderstanding and referencing codebases, possibly also for documentation.

Basically it has different pages that support markdown you can define different types of pages (classes, functions, macros, headers, libraries, enums, structs etc.) and when you take notes you link them together. When you start to write notes for a new class you write a dependency, lets say it is a static function for some system, it automatically highlights it and when you hover it you get a little card that shows the input outpu return type and description you wrote. So you don't need to open the definition again or search for the documentation online. Also there will be a little graph view to link pages. And see classes based on inhertiance and interfaces. I am also planning to add pages for how systems work, rendering pipeline or asset management for example for a game engine.

I do this because I am struggling to understand large code bases. As a game developer I want to understand complex systems more deeply. For instance I study the godot code but many times I turn back to look at same classes and functions to see what they do. Would you also use a tool like this? Are there any tool that achieves this that I am unaware of? What do you think?


r/AskProgramming 16h ago

Other What to do with every new AI Model

Upvotes

Hello. I know this type of question might seem repetitive or familiar, but I am in urgent need of an answer. Every time there is a massive breakthrough in the field of AI, I—as a computer science undergraduate still in the learning phase—am overcome by a sense of apprehension.

I have convinced myself of the importance of building a solid foundation by learning programming and computer science fundamentals, and by trying not to over-rely on code-generation models like "Codex"—viewing AI instead as a tool to accelerate learning and knowledge acquisition.

However, recent updates to ChatGPT (such as "Astra") and statements made by Elon Musk—which might simply be an attempt to boost his stock value—have made me seriously question whether all this effort is worth it.

I am studying C to understand low-level technologies and web technologies to acquire practical skills for the job market; I am passionate about the web and make a point of building software projects by writing the code manually. Although I do use AI to explain certain concepts, I write the code myself, yet I still can't shake the feeling that I am wasting my time.

I would be extremely grateful for any advice from experienced professionals, or even just a simple pointer or bit of guidance to help me navigate this path.

Thank You.


r/AskProgramming 1d ago

What makes an online programming community actually useful to you?

Upvotes

Hi everyone!

We're a small student team doing some early research on how programmers actually use online communities.

We're not promoting a product or looking for feature ideas. We're trying to understand what makes a programming community genuinely useful — and what makes people stop using one.

If you don't mind sharing, please mention roughly how many years of programming experience you have, as I think experience level may affect how people use programming communities.

For programmers who participate in online communities:

- What makes you keep coming back to a programming community?

- What usually makes a programming community feel useless or frustrating?

- Do you prefer communities for asking technical questions, learning, networking, sharing experiences, or something else?

- Do you usually actively participate, or mostly read/search?

- Have you ever stopped using a programming community? What made you leave?

- Is there something you wish programming communities did better?

We're especially interested in real experiences rather than hypothetical feature suggestions.

Thanks!


r/AskProgramming 1d ago

Devs, did your company made their own jira boad ? or own slack ?

Upvotes

At least that was the initial plan/observations when saas stocks tanked, then it was termed 'saas-pocalypse'

So yeah, it's been more than 6 months, did your company vibe coded all the internal tools and ripped off the subscriptions ?


r/AskProgramming 2d ago

I'm stuck after learning express. How do i transition to PostgreSQL?

Upvotes

Hey everyone,

So, am basically stuck after learning express. I planned to learn databases after express, specifically PostgreSQL. But when i finished learning express, i did not know how to continue. Its been 2 weeks i haven't been able to learn anything.

  • How do I actually learn databases(PostgreSQL)?
  • Are there any resources you'd recommend?
  • How do i actually use PostgreSQL in my projects.

Also, i wrote a backend proram for my porject after learning express, you could check it and maybe give advice(code quality, file strucutre, and just advice). Link will be in the first comment(Will link the main project too).

Thanks.


r/AskProgramming 1d ago

Architecture Any local agent models for code to md?

Upvotes

I am looking for a locally running but capable agent solution. Tbh I haven’t done anything like this, I just want to try out what the hype is about. The codebase is mostly VB.NET client applications, with the mssql project attached to the solution. I want the agent to read each project in the solution, and write down how it works, for a user. So eg. “press the green button, to display a msgbox about the selected object”.

What I tried is Codex Sol medium, which gets the result surprisingly well. But since it’s a cloud model I won’t be able to use it for the real codebase since it’s redacted.
Any idea how to get started?


r/AskProgramming 2d ago

Userscript/tool to export claudeCode/claude browser etc to md/txt

Upvotes

<this istn completely programming related but question is likely to perhaps get banned from r_claude or r_chat; surprisingly little seen on this for claude>

Alright so I have seen a few of these threads being made, but almost all of them are 3+ years ago, so it is very likely that most userscripts shown are either patched or can get oneself banned or somethign upon execution

this said what is currently the best way to export chats to a file? it would also be nice to download the added or "pasted" stuff but that isnt required

what do people use for this? same stuff as 3 years ago or are there much more efficient/faster plugins or user scripts?

using tampermonkey/violentmoneky; making thread because I have nott seen a single thread with a lot of replies or traction on this topic?


r/AskProgramming 2d ago

When is it Okay to Use AI

Upvotes

Hi, I'm trying to build an app in nextjs. I don't do and personally dislike frontend development and prefer to do backend development. Right now I'm trying to make the UI for the frontend but I don't know how to/absolutely hate having to develop the frontend. Right now I usually only use AI for debugging code, but I want to use it to vibe code the frontend knowing I have nobody else to work with. Is this okay?


r/AskProgramming 4d ago

GUI or translation theory

Upvotes

I have a serious question. I can pick only one of these two. What will be more beneficial if I want to become a software engineer. I already know C++ and I’m learning python rn and will start ML in December. But I have to chose today what I want from these two. The translation theory is about compilers and how they work.


r/AskProgramming 3d ago

Architecture How to let devs format code as they like but avoid pushing differently formatted code?

Upvotes

I have a config in my repo for the formatter. Dev A uses the default config. Dev B clones the repo, overrides the config with their own config, runs the formatter, creates a large Git diff, and pushes the code. There is a large Git diff, format inconsistency in the repo, and Dev A who liked the default format now sees some other's format.

So, add a Git pre-commit hook to run the formatter with the config in the repo? Is this how this should be handled?


r/AskProgramming 3d ago

Career/Edu How to relearn programming after Vibecoding through Undergrad

Upvotes

I am a Senior in Computer Engineering graduating in December and I have completely lost my ability to program after vibecoding through my last three semesters. I made it past my University's DSA class with minimal AI usage but it slowly ramped up and now I'm pretty reliant, I want to work in Software Development but I feel impostor syndrome creeping up at every corner and feel lackluster compared to peers. So my question is: how do I go about relearning things that I should already know? I feel my understanding is quite good, but when I go to make something, I get completely lost with where to start and syntactically and prompt AI. I have tried Neetcode to refresh the skills I do know and I can find the optimal solution but implementing it is where I get stuck. Any help would be appreciated.

*Edit: Thanks for all the advice, I think the general consensus is of course to not use AI and redo old homework/build projects using docs. I have old homework assignments and will begin building the skills that I need without AI assistance and using Docs/Google/SO.


r/AskProgramming 3d ago

what's the best video abt python i can find to learn?

Upvotes

guys recommend me where can i learn python from step by step with good understanding along with projects


r/AskProgramming 4d ago

Architecture Can I build a programming language that “learns” assembly implementations? (Idea)

Upvotes

Is this dumb idea??

I had this random idea for a programming language and I'm wondering if something like this is actually possible.

Basically, the idea is that I could teach the compiler how to implement things in assembly.

For example, I could write something like:

teach get(x):

asm:

; assembly code for getting input

The compiler remembers that. Then later I can just write:

get(age)

and it knows to use the assembly code I taught it earlier.

So instead of the compiler already knowing what every function does, I'm basically teaching it new things by giving it the assembly implementation once.

The goal would be a really simple language to write, but where the compiler generates native assembly/machine code.

Is this actually possible? And would it be worth building as a project?

I don't know low-level programming or compiler stuff that well, so consider me a complete noob and feel free to correct me if I'm misunderstanding something.


r/AskProgramming 5d ago

Other What is involved when porting a game to a different operating system?

Upvotes

As a longtime Mac user, I've grown used to waiting years between the PC release of a game and its eventual Mac port.

But I've always wondered, how much work it actually is, how many people are involved, why it takes so long, etc.


r/AskProgramming 6d ago

Javascript Seemingly not possible to ask our clients about their issues with my webapp?

Upvotes

HI all,

I work at a company and I develop and maintain a web app made in angular.

I've recently got tasked to make an in-app custom camera that could shot multiple photos and load them all at once, in order to make life easier to our clients.

After the release, the new camera works fine on 99% of devices.
There has been a couple cases though where it has been told me that some clients have problems with said camera, explaining that it "doesn't work" with no particular explanation (our clients are absolutely not tech savvy). My main idea is that the device either uses windows (the app is made to work on android and ios. Even though it's accessible from windows, it's not meant to be used on said OS as it can cause issues) or that it cannot recognize the camera due to maybe an hardware problem?

I've tried to ask our customer service if it could be possible to have our clients' contacts so that I could ask them some more info, like what device they use, I think it could help a lot to understand the problem.

But my CS said it's not possible, and they refuse to ask our clients about said needed info.

I'm pretty new to this stuff, but wouldn't it make life so much easier to just ask the client? Or is it standard practice for companies not to contact customers directly? Asking for more experienced programmers: are there usually ways to fix these kind of problems without any info on which device is actually causing the problem?

EDIT: just wanting to point out that I'm not asking about how to solve this specific problem, but just if it's a standard practice and if these kind of problems do have workarounds in cases like mine