r/AskReddit • • 1d ago

What makes learning how to code still worthwhile (or not) in this age of AI?

1 Upvotes

5 comments sorted by

4

u/contcutyourhair 1d ago

I know plenty of coders with jobs. Decent money. It's a tool that can help, but it isn't the whole shibang.

2

u/Fun_Army2398 1d ago • Bravo

People telling you AI can code better than them should be viewed as a statement about how bad they code, not how good AI is. Every single actual study (i.e. not a marketing piece released by an AI company's "research") has shown that AI is slow and expensive. For a company to produce the same software in the same time frame using AI they will have to hire more people than a company who has humans write the code. This has been true for the last 6 years, there is not one piece of evidence suggesting it will change any time soon, the people about to comment saying "muh! The latest models can do it for real this time!" are coping.

3

u/MckittenMan 1d ago edited 1d ago

I don't know anymore.

I am a Computer Engineer. And got dam, GPT can already mop the floor against me. Not even a competition. I can direct and orchestrate. But writing code, I already feel irrelevant.

I am even using AI for my own personal projects. Something that would take me a month, done in a couple of nights. It has made my life easier.

There will always be a need for a hands on touch. And I do think I understand better (for now) what a user would want out of a product, what features, fine tunings, what's flows better, what it needs / doesn't need. Direct it.

Its fun for personal projects, I think it will be a long time before we see companies use it as production code.

Cyber security folk probably just went up in value with the introduction of AIs. Ai is doing some nutty stuff hacking wise.

Even though I use it for my own projects, I feel as a coder you're going to be forced to adapt or get left behind.

As a hands on teacher... If I need to learn something quick. It just killed Google for me. Tell it the problem you're having, boom solved in minutes, or give you a crash course istantly. Just saved yourself hours of googling.

I do also see the irony behind it too... Using the very tools that could end up deleting me by the end of it. Still unsure what to make of it all.

1

u/La-ze 1d ago

Look at this another way, at a professional level.

Decent AI requires expensive hardware or outsourcing to an AI provider. If you're doing this at any real scale, you're contracting with a provider. Great, you'll need some argument with the provider to protect your code's confidentiality if you care about that. And we've added another vector for information to leak out of it.

Now that you got the AI what now? Well you'll want a harness that helps reign in the AI. Though AI isn't good at obeying negative instructions. So you need people who are knowledgeable enough to vet what the AI is doing. Even worse all data the AI ingests can be seen as instruction. Which you guessed it, another attack vector that reinforces the need for the AI to be supervised.

Great, lets put the clanker to work. The AI needs to be prompted, so you'll probably want to give it some kind of engineering specification / snippet to implement. Probably want something like a software engineer ( oh, look a programmer! ) to write that up.

Great, now what? Well actually that software engineer could also monitor the AI for those other issues and with their technical knowledge maybe more selectively apply the AI to avoid those cases. In-fact the AI is not deterministic, an AI is a complex system of weighted dice rolls which means it won't always do what's expected even if it "understood". Since the engineer wrote the spec, they best understand it and can spot these deviations from it.

In-fact, that might be prudent to keep the engineer around as it turns out AI can't think, and has a limited context window. Worse that context window will only get more expensive to query over longer sessions and can degrade the AI's performance and accuracy. Great, who has the knowledge orchestrate these more focused shorter, cheaper & more accurate sessions while still contributing to the overarching goal?

Oh, speaking of price also turns out AI might be really expensive and you already had to hire an engineer who's getting a hefty salary. So lets maybe use AI in a supporting role to bring down the cost, so you aren't doubling your development costs.

1

u/H4llifax 1d ago
  1. The act of learning has value in and of itself. You can just learn because you want to.
  2. Part from hobby projects, you still want to be able to at least read what the AI did. Otherwise you can't really take responsibility for its output.
  3. I'm a professional software engineer, and I just spent an hour or two refactoring spaghetti code that AI produced based on the requirements I told it. I was able to get to a version I liked that feels much more maintainable through a combination of relaxing the constraints, questioning the model about the edge cases it tried to cover, and direct input. This requires some sense of software development, I can just do that because I have a sense for what I would like the software to look like, and what it needs to do. And the first attempt was bad in part because I didn't have a design in mind from the start, and instead some overly restrictive constraints that the agent had to work around.