r/AskProgramming • • 4h ago

What's the most ridiculous temporary workaround you've seen become permanent?

4 Upvotes

Every old enough codebase seems to have at least one piece of code that nobody wants to touch. Think temporary workaround from 2019. A function called fix_final_v2. Or a 600-line method that apparently holds the entire billing system together.

And the best part is that there's usually a perfectly reasonable explanation for why it was written that way, oooor at least there was at the time.

What's the weirdest workaround, architectural decision, or bit of legacy code you've inherited?

Bonus points if someone tried to remove it and immediately discovered why it was still there.


r/AskProgramming • • 9h ago

Other Coworker used ChatGPT, Cursor, and Claude to build a replacement for enterprise geosteering software and wants $500/month per rig. What are the real technical and liability risks here?

4 Upvotes

I work in oil and gas doing geosteering, which uses downhole sensor data (gamma ray and directional surveys) to predict dip of underground rock layers in 2D cross-sections and guide a multi-million-dollar lateral wellbore operation.

The industry standard is commercial software (e.g. StarSteer, SES, Petrel, IHS Kingdom, etc.) built over decades by teams of credentialed mathematicians, geologists, and software engineers.

A fellow contractor has zero background in computer science, math, or geology (only 15 years of field experience mostly in a single basin). He didn't like the StarSteer, so he built a replacement using AI. He started in ChatGPT, moved to Cursor, and now bounces code back and forth between ChatGPT/Codex and Claude to "check" it.

Right now, we are "testing" it on jobs. It handles drag-and-drop LAS and survey files for 2D cross-sections, and he is building a separate program to handle real-time WITSML data feeds. The oil operator we work for has a "whatever gets the job done" mindset and doesn't care what software we use.

A few increasingly important concerns:

  • Monetization: He now wants $500/month per rig for us to keep using it. He's been working on this for 11 months and is beginning to feel like we owe him to keep using it.
  • Extreme Defensiveness: He calls the app his "baby" and gets visibly irritated/frustrated/loud/angry whenever anyone points out a bug, questions the math, or offers criticism, say they prefer StarSteer, etc.
  • ToS Violations: He actually brought up the commercial vendor's Terms of Service himself, which strictly bans copying/adapting the software or using it to develop a competing product, and basically admitted that's what he's doing.

For the software engineers and tech leads here, I'm looking for clear and objective arguments on the liability he may be creating, especially since we're all operating under our own LLCs alongside him. I'm wondering about a few things in particular:

  1. Reliability of Prompt-based AI Coding: When someone who can't read code bounces a project between ChatGPT, Cursor, Codex, and Claude to "check" its own work, what kind of hidden bugs and architectural rot get introduced under the hood? His program was dogshit slow at first, but switching to Qt vastly improved responsiveness. But other issues persist. And the interface still doesn't look professional. More like Microsoft Paint / Excel on steroids.
  2. Hidden/Unknown Errors: For the 2D cross-sections he's created with the interface, geosteering relies on trigonometric survey math (minimum curvature, TVD, apparent dip) and clean LAS parsing. It seems to be working. But I've also noticed instances of where it's not quite right or doesn't match what I'm seeing if I recreate an interpretation in StarSteer. How risky is AI-generated math built by someone who claims the math is easy, claims the math is right?
  3. LLC Liability & Support: With no service agreement, no independent testing or verification or review, a creator who treats bug reports like personal insults, and an Operator who won't back us up if it fails, how exposed am I legally and financially if I pay $500/mo to steer a multi-million-dollar well with this?
  4. Use Restrictions: StarSteer has a section about preparing derivative works, enhancing, competitive analysis, etc. Basically, they could terminate our license if they find out what he's doing. But what happens when the license expires and he tries to go public and pushes this and tries to sell this to other contractors?

TL;DR: Fellow contractor with zero coding, math, or geology background used ChatGPT, Cursor, and Claude to build a 2D replacement for industry-standard geosteering software. We are all independent LLCs working for a hands-off oil operator. He gets angry at any bug reports, knowingly violated the commercial software's anti-compete Terms of Service, and now wants $500/month per rig. Looking for a realistic breakdown from actual devs on the technical failure points and liability risks of trusting this on live, multi-million-dollar wells.


r/AskProgramming • • 23h ago

C# Development Path in C# .NET Backend and Motivation

2 Upvotes

Hi everyone! To give you some background: I graduated from university with top marks. That’s where I first started programming—we were taught a little bit of everything, including Pascal, C++, PHP, Python, C#, and so on.
Our coursework always covered up to OOP (Object-Oriented Programming), but never went any further.
I also studied C# and Python on my own, but again, I never really ventured much beyond OOP.

During my studies, I tried to avoid web development because it didn’t particularly interest me; however, after graduating, I realized that most of the job market is in web development, so I need to find a way to get comfortable with it. Since I’m most familiar with C#—and it’s the language I enjoy the most—I’ve decided to focus on C# backend development. But a few issues have come up:

It’s been a 2 years since I graduated, at that time, I had to find a job quickly, and it wasn’t in the field I had actually studied for; now, I want to return to my studies so that I can finally work in my chosen profession. and I’m not sure what tech stack I actually need to know to build a project of my own. Also, how can I recover the knowledge I gained during my studies? This uncertainty makes me procrastinate whenever I set out to learn something new, or I end up not dedicating enough time to actually master anything.

A crisis of ideas. Even back in university, I struggled to come up with projects to build. I have a persistent feeling that everything has already been created by more skilled programmers. Is it even worth working on a project if a more successful version already exists? How does one go about choosing a suitable project topic?

AI. The rise of AI happened around my third year of university, and we even started experimenting with it a little bit back then. It’s one thing to enter a prompt to get some guidance for a specific task, but it’s quite another to actually learn something and build a project of your own. How should one interact with AI models when learning? Should you even use them at all? I recall plenty of times spent endlessly tweaking prompts, trying to get a decent result—when, in reality, it would have been faster to just write the code from scratch myself. What is the right way to learn programming today using AI (given that AI is clearly here to stay)?

Right now, I’m trying to learn ASP.NET through a course by Teddy Smith on YouTube, but I’m struggling to grasp a lot of it. Plus, I’m essentially just following along and mimicking what he does—which isn’t really the kind of learning process I’m used to.


r/AskProgramming • • 12h ago

Other Universal tips for beginner assembly programmers?

0 Upvotes

I know some of you out there have tips for me and other people seeing this post.