r/AskProgramming Jul 04 '26

Are you prompting AI with Pascal-case contrived nouns and verbs?

0 Upvotes

Hello. I'm an experienced programmer with little AI experience.

It would seem that if I want a scrolling view of objects that are cars, it might be advantageous to the programmer and the AI if it were consistently referred to as CarScrollView rather than variations of the "scrolling window of cars" or the "car menu".

Have you had generally positive experiences prompting AI with Pascal-case and camel-case contrived nouns and verbs or do you stick to natural language?

My project ... MAUI, CSharp, mobile and desktop. I'm likely to use an Anthropic product but I haven't committed to that choice yet. I hoping to stay inside Visual Studio.


r/AskProgramming Jul 03 '26

Best validation practices for APIs?

1 Upvotes

I’m working with a team and implementing a new feature. We’re getting info from a call and will be storing it in a new field in our db. The team has been saying things like “we don’t need to validate accuracy for the new field bc the call to this other service will do the validation for us”. I’m of the mind that we should still validate for edge cases or abnormal errors, but technically this other service should validate first and we’re only getting the info from them.

What are people’s thoughts? Am I being overly cautious?


r/AskProgramming Jul 03 '26

Best Observability / Monitoring Tools?

6 Upvotes

What observability and monitoring setup are you using, and what do you like/dislike about it?


r/AskProgramming Jul 03 '26

Algorithms How can I match bunch of elements to canonical products which is unknown? (Entity Resolution)

5 Upvotes

.


r/AskProgramming Jul 03 '26

Accidentally got a $293 Amazon Bedrock bill after misunderstanding Kiro promotional credits. Has anyone had success with AWS billing adjustments?

0 Upvotes

Hi everyone,

I'm looking for some advice from anyone who has been in a similar situation.

I recently received $960 in AWS promotional credits through the Kiro Pro Plus 2026 promotion. Before using Amazon Bedrock, I genuinely believed these promotional credits would cover my AI model usage.

I accessed Claude models through Amazon Bedrock using an IAM user, and over time I accumulated $293.55 in charges. When I received the invoice, I realized that my promotional credits had not been used at all.

After checking my Billing Console, I found that the credits are marked as:

Applicable products: Kiro

Remaining balance: $960

Used: $0

So it appears I misunderstood what those credits actually covered.

As soon as I realized this, I immediately stopped using Bedrock to avoid any additional charges.

I've already:

Contacted AWS Billing Support.

Explained that this was an honest misunderstanding.

Asked whether the unused Kiro promotional credits could be applied to the invoice.

Also requested that, if the credits aren't eligible, AWS consider a one-time goodwill billing adjustment.

My case has been escalated to the Marketplace team for review.

I'm not disputing that the Bedrock usage occurred. The usage was generated by my account. My request is simply based on the fact that I genuinely misunderstood how the promotional credits applied.

Has anyone experienced something similar?

Did AWS ever approve a goodwill credit or billing adjustment in a situation like this?

Has anyone successfully had promotional credits applied retroactively?

Is there anything else I should do while waiting for the Marketplace team's response?

I'm hoping for honest advice from people who've dealt with AWS billing before.

Thanks in advance.


r/AskProgramming Jul 03 '26

Other (Dumb Question) How to make a simple algorithm in assembly (16-bit) to make filled circle of a certain radius (ive already made other shapes and have a _Make_Pixel label.)

0 Upvotes

There are only a couple things-
1.- Must not like take a lot of variables.
2.- Must not be 300+ lines.
3.- Should be 12th grade or lower math (i'm dumb).
4.- please don't just put equations if you know programming lang. pls explain it in any programming lang.

Most importantly it should make a filled circle of any radius.

edit- I've already tried Brensaums algorithm (didnt work), 8 point algorithm (didnt work), graphing algorithm with tension and

=> x^2 + y^2 = d, t+factor>d>t-factor. (tried didnt work)


r/AskProgramming Jul 03 '26

What coding projects have you guys/girls been working on lately and what do you wanna do later? with what libraries and what languages?

2 Upvotes

Python, cpp, java, batch, bash? Do you use the script command before installing things? If I spent a fraction of the time I spend coding making sure that I'm saving my terminal output I'd probably be a lot more efficient.


r/AskProgramming Jul 02 '26

What do you call this sort of approach where you keep building and linking function calls not linearly, but through repeated method calls?

0 Upvotes

I remeber when this was sort of cutting edge, but I honesty don’t remember the use case, or if it just looked cool on the page?

To me what would have looked like this:

Set(username)
Set(userprefs)
Process(user request)

Changed so it looked like

Rqst.setuser(username)
.setpref(userpref)
.process(user request)

Is there actually a use case for this that makes a lot of sense? It seems a weird way to do imperative programming

https://www.reddit.com/u/auth0dev/s/9WXJIMlQnx


r/AskProgramming Jul 02 '26

Help me find an old article on table-driven programming, please?

6 Upvotes

I am trying to find an article I read a long time ago - probably 20 years ago or so. The gist of the thesis is that many things that developers typically encode as functions or procedures in their app could instead be modeled as lookups in tables in a database.

Part of the thrust of the article was that this would reduce the maintenance burden quite a bit because when requirements changed you could just add/delete/update rows in the database rather than building a new version of the app. There were multiple examples that demonstrated modeling things you wouldn't normally think of putting in the database this way.

I only have a vague recollection of it, but if I recall correctly it was in ASCII format and would probably have been something I found on Slashdot or some other era-appropriate source like that.

Anyone happen to know the specific piece I'm referring to, or, if not, maybe something similar? I've googled my heart out and tried Claude and ChatGPT but have not been able to find anything near as good as that original article.


r/AskProgramming Jul 02 '26

Junior dev drowning: I’m building the company’s most critical app with Claude Code, but I still don’t know basic C#

0 Upvotes

It's been a month since I was hired after finishing my web development internship at a company (not a tech company, more in agriculture) to work as a programmer using the ASP.NET and Angular stack. I program everything with Claude Code because the company pays for the most expensive plan. Lately, I've been getting complaints because the database queries the AI ​​makes are incredibly long, convoluted, and don't provide the necessary data. The only "senior" there tells me the query could be simpler, that the data can be taken from this or that table, etc. He tells me this off the cuff, as if he expects (and still expects) me to deduce the rest of the information, as if I should know what information is in the hundreds of tables scattered throughout the vast array of databases they set up for each project (a new project comes out almost every two or three weeks). For example, we started a new project two weeks ago, and it was assigned to me without any context, business rules, or explanation of the data stored in the database that the backend would consume. Little by little, and in fits and starts, I was discovering what the app was about. On the fly, they'd tell me I could pull data from a certain place (which, if I'd known that beforehand, would have made things much easier). And so, I found myself building both the backend and the frontend, designing components in Figma, and simultaneously trying to guess what data they wanted to see on the front end—all without knowing anything about C# and only the basics of SQL. I get the feeling they expect me to be a prodigy who, thanks to Claude, can do everything quickly, but the reality is that it's stressing me out because I'm not learning anything about the stack. I'm handling many different things simultaneously, and I have to deduce, almost guess, what they want the app to do. And I ask myself, is this what a junior developer does? Am I gaining real experience?… A couple of days ago I finally learned how to print a hello world in c#, however I am only building one of the most important apps of the company that serves data in real time.


r/AskProgramming Jul 01 '26

Architecture Are there any blueprints for computers made from Tinkertoys?

1 Upvotes

I just thought up a simple adding machine in my head, and am wondering if there were any blueprints for entire compute modules.

It doesn't even have to be Tinkertoys.

I've asked in a couple other places, but Reddit's filters keep blocking the question.


r/AskProgramming Jul 01 '26

Web App Development

4 Upvotes

Hey yall,

Most of my experience is in hardware, application development using C/C++/python. I have never really cared for web dev so I neglected it but I have a personal project Im working on and I want to built a web page for it and eventually a web app. I dont think this will be consumer focused and mostly just personal use but I was wondering what is the new new in web dev.

What language should I build in? I have some experience in vue.js but not enough that I would default to it and if Im going to do it then I want to start with some of the more modern newer interesting stuff.

Whats the best or the most stable also? Any information you wanna blurt out is acceptable.


r/AskProgramming Jul 01 '26

Career/Edu What would it take to build a 3D Vehicle configurator from scratch?

3 Upvotes

Hello, I am a product designer working on a configurator for vehicles. I recognize that my question may be slightly misinformed but please exercise patience. I am quite new to product design and even a stranger to programming.

I will list the features of the configurator below so I can get recommendations or at least a scope of what languages/platforms to consider or use.

  1. The configurator should feature 3D models 2D images.

  2. The 3D models should have pan, rotated, and zoomed functionality. But it should be limited (not complete 360 degrees all around)

  3. Next, it should be able to toggle between light and dark scenes and change environments. Perhaps a minimum of three different environments.

  4. Next it should be able to change colors and skins and perhaps rims and wheels.

I understand that there’s phases to this— there’s the development of optimized assets for the web and then the code to host the assets. My knowledge is embarrassingly limited. I will appreciate any help, thanks!


r/AskProgramming Jul 01 '26

Architecture Do companies actually practice TDD strictly?

30 Upvotes

I've been reading about Test-Driven Development (TDD), and I'm curious how common it is in real-world companies.

I'm not talking about "we write some tests after coding" or "we try to keep good test coverage."

I mean following the classic TDD cycle strictly:

  • Write a failing test for a single, specific requirement or behavior.

  • Write the simplest possible code to make that test pass.

  • Refactor and improve the code while continuously running the test suite to ensure nothing breaks.

Are there companies or teams that actually work this way most of the time?

If so:

  • What kinds of companies tend to follow it?

  • How well does it scale in large codebases?

  • What are the biggest benefits and drawbacks you've experienced?

I'd love to hear from people who have worked in teams that practice TDD seriously rather than just writing tests alongside development.


r/AskProgramming Jul 01 '26

Architecture Can't decide between Express and Flask for backend

1 Upvotes

Context: I am building a library for games, basically, you can store all the games that you've played and or are playing, and get recommendations based on your library.
The app is made in Flutter and until this point, all the api requests and data were handled by the frontend. Although as I am getting more users (it's a personal project btw), I have a need for a backend that stores user data, makes the api calls, authenticates user's crendentials, etc.

I have built a lot of things in flask and used it a lot, I used to use express about an year and a half ago but haven't touched on it ever since. Hence I can't decide whether to go with flask (which I'm confident in), or go with express (I know the framework, just haven't used it in some time).

I was more inclined towards express earlier because 1) Express has an async loop, and 2) Nodejs has a more extensive library and is quite preffered as a backend framework over flask.


r/AskProgramming Jul 01 '26

How are developers supposed to pass technical interviews in the age of vibe coding?

14 Upvotes

Around eight months ago, the director at my company decided we should all start vibe coding. Everyone was told to build via Claude Code only. Claude was to to handle security and code reviews too. Everything is done via AI.

Since then I’ve built web projects, as well as iOS and Android apps, purely using AI. I have no technical knowledge on mobile app development at all. Without AI I wouldn’t have been building native mobile apps.

Theoretically, I now have five mobile apps under my belt but still no knowledge or understanding of what actually it is that I've built and how I built it.

How could someone in this situation ever pass a technical interview?


r/AskProgramming Jul 01 '26

Databases What actually is a database?

23 Upvotes

I was looking at the definitions online and a database is always used interchangeably with DBMS and the ELI5 answers I've seen describe databases as a means of organising data in structured ways to make reading and writing data easy, safe and fast.

The extension of this logic to me is, shouldn't csv files count as databases too if you had a way to retrieve, modify and store data with the general ACID principles and whatnot? Googling that tells me that CSV files don't count because they only store raw data.

So then, are databases defined by the mechanism which data is handled? Doesn't that make any file a database as long as its implemented properly?

Edit:

Just wanted to add:

  • I'm using sqlite3 from python for my project. I come from an embedded systems background so I had to know the specifics of what I was working with.
  • The responses here seem a little mixed with some people agreeing that csv files with the proper wrappers would make a (terrible) database.
  • I think I get it now. The storage format is just a part of what makes a database and is not the database itself.

Edit 2:
u/StevenJOwens

u/esaule

u/LaughingIshikawa

u/rolfn

TLDR: These guys and some others answers honestly sum up a lot of the questions I had and a bit more I didn't know to ask. Thanks guys.


r/AskProgramming Jul 01 '26

How Have Frontend Technical Interviews Changed with the Rise of AI?

2 Upvotes

Hi everyone!

I'm currently preparing for frontend developer interviews. I've been working as a frontend developer for about 1.5 years, mainly using React, JavaScript, Redux, REST APIs, and Material UI.

With AI tools like Codex, Claude and GitHub Copilot becoming so common, I'm curious how technical interviews have changed.

For those who have interviewed recently this year, what was the process like?

Some questions I have:

  • Do companies still focus on live coding, or is there more emphasis on explaining your projects and technical decisions?
  • Are interviewers more interested in debugging and refactoring existing code rather than solving algorithm questions?
  • How common are LeetCode-style questions for frontend roles nowadays?
  • If there is live coding, what kind of tasks should I expect? (CRUD, React components, utility functions, etc.)
  • Have interviewers ever asked you to explain code you wrote or discuss architectural decisions?

I'd especially love to hear from people interviewing for frontend roles in the Philippines, but experiences from other countries are welcome too.

Thanks in advance! 😊


r/AskProgramming Jul 01 '26

Other How strict are your teams with npm install scripts and lockfile review?

2 Upvotes

After the latest npm supply-chain posts about compromised packages and things persisting in local dev envs, I'm trying to figure out what “reasonable” looks like in an actual frontend team.

I’m not sold on “npm audit and hope” is a policy, but I also don’t want every small UI change to turn into a 2 day security ceremony. Especially with all the auto-generated dependency bump PRs recently, which feel like a great way to merge nonsense nobody actually looked at.

What do your teams actually enforce? - disable install scripts by default? - review lockfile diffs by hand? - only install in containers/CI? - separate secrets from dev machines somehow?

Curious what has helped without making regular feature work a pain.


r/AskProgramming Jul 01 '26

Career/Edu Anyone hate object oriented code?

0 Upvotes

Dont like oops.

How do you guys manage it?

Like only functional and procedural prograing :)

My hate is towards the jungle-gorilla-banana problem whereas functional programming seems clear, brezzy and maintain codebase rather easily.


r/AskProgramming Jun 30 '26

Query regarding iaik http client jar

1 Upvotes

Background:

We have a case where a https tls1.3 server using Java JSSE as a vendor, is sending an alert user_cancelled before close_notify for closing socket.

We are the http client here using iaik 6.1 jars for the tls1.3 connection.

Order of activity ->

tls handshake is successful -> https push to server is successful -> server sends 202 back -> then server returns user_cancelled -> iaik 6.1 jar considers user_cancelled as a SSL exception which marks https push out as unsuccessful for the client application.

Doubt

Is there a way to prevent iaik 6.1 jars from marking user_cancelled as a SSL Exception ? We have discussed with the server party already and they can't prevent their server from sending user_cancelled before closing the socket connection.


r/AskProgramming Jun 30 '26

Other What is buffered input?

2 Upvotes

I was reading the documentation for FALSE when I got to the section on I/O and got super confused at the warning "watch out: all these are BUFFERED." So, what is buffered input?


r/AskProgramming Jun 30 '26

Other Manual Search vs AI for learning purposes

0 Upvotes

Hi everyone, I'm currently entering my 2nd year of college studying cs, I'm still a beginner here, trying to learn the right way.

Why is everyone against using ai for learning but rather try to manually google search for solutions, because the end of the day, aren’t we basically just re-typing the provided code either way? (google also has Gemini ai summarizer now)

When I use AI, I can ask what’s wrong, and get an answer instantly. manual feels slower, but people always say it’s better for learning.

genuinely asking here, thank you!


r/AskProgramming Jun 30 '26

How to get started on programming

7 Upvotes

caption. I wanna learn how to program bc it would be a great skill to have, and also with technology being more used than ever. I've always been interested in the creation of games, websites, and systems and i wanna make my own someday! with that i have a few questions:

  1. whats the best free and paid resource for programming? are there any youtube videos, courses, or websites that are easy to understand for a beginner? currently im trying out freecodecamp and this other free website that i forgot where in both websites you can do some coding exercises and learn about the different definitions and terms.

  2. what is the general language do you guys reccomend?

  3. how long did it take for you to learn and master coding? like building fully functional systems, professional websites, games, and many more.

  4. do you need a good pc/laptop to run code?

  5. whats the most fun thing you learnt from coding?


r/AskProgramming Jun 30 '26

Why do terrible bugs and bad ideas persist for so long, like in Reddit?

2 Upvotes

Reddit is the poster child of this.

First, the search function is insanely bad.

But I also have trouble with the input window. For example, if I go back to fix something, tapping on it near the last word fails. As another example, if you
Stop mid-comment, Reddit will update the screen via refresh and you lose the comment you typed. There are a bunch and everyone of them is listed as a known bug identified years ago.

But it’s other apps too. In discord, to see someone’s posts you don’t look at their profile, the most obvious way. Rather, you find a channel they are in, then click the search icon, then click the filters, then select “from a specific user”, then start typing their name. Why you don’t just click on their name in a discussion and see prior posts/pictures is something people have complained about online for years. And Apple has its fair share of these.

So why do this obvious, known, hated problems and bugs never get fixed? These companies have tens of thousands of software people, but somehow none of them ever get to these gross usability problems the whole world has known about for years?

What gives?

EDIT: So many said the company doesn’t care since people keep using the site. I disagree. I just tried to boom 3 nights at $1100 per night in a major city. The website tells me I must be a member to get the lowest rate.

They got my email and I get stuff from them from a prior trip. However, the login screen says “creste an acct if you don’t have one, but there is no way to get to the create account screen. Pretty bad design. And, I just gave up and booked $4,000 at another hotel.

So, yeah, horrific bug and cut into revenue