Live data from Hacker News

A coder considers the waning days of the craft

newyorker.com

591–600 of 1001 posts

Re: A coder considers the waning days of the craft

#591
So, a few months ago I wanted to lose some weight and wanted to count my calories. As a coder would, I thought why not build a swift app that uses the ChatGPT API to count them (instead of doing it the boring way).

I'm a fairly experienced backend dev I built a few toy websites and I am casually interested in frontend stuff (like watching Fireship) so I thought I'd give it a try.

Long story short, it worked well. I have my app it has all the features I need I used it every day (till I lost 10kg) and I didn't write a single line of code.

However, the coding itself was unlike anything I had done before. I felt much more like a manager/Slave driver.

The core thing was structure structure structure. As soon as the task gets too large, GPT will produce something kind of right that is difficult to understand and impossible to extend. So your task is to split it up, and split it up. Also to apply judgment (it started out using objective-c haha). You have to ask it for alternative libraries. For reference. I relied a lot on something like: "In Python/C#/Rust I would do it like this".

But yes, my overall experience is that I think we are in for an exciting new time, but we are lacking a new coding paradigm.

Re: A coder considers the waning days of the craft

#592
post #458

Earlier quoted context omitted.

That's the point.. "revenge of the so-so coder".

so-so? Thats a problem too basic to ask in a coding interview, almost.

Yea, he says multiple times that he's not a good coder but that his friend is even worse. However, his worse friend + GPT combined can build whole apps.

Re: A coder considers the waning days of the craft

#593
I know we're all biased here, as coders, but I don't see this as the end, but rather the beginning of something.

In the article, the non-coder was able to produce code with an AI's help, and therefore, coders are doomed.

But in fact what happened is it enabled two "developers" to offload the menial work and focus on the product itself.

The development of electric workshop tools didn't make woodworkers obsolete, it just enabled them to do the work of 5 people, and do it easier and faster.

We are moving from the era of hand-tools in coding.

The real risk is that we're going to see a lot of cheap shitty furniture made by people with no skills, but at least ChatGPT isn't going to chop anyones fingers off.

Re: A coder considers the waning days of the craft

#594
post #523

I have a simple front-end test that I give to junior devs. Every few months I see if ChatGPT can pass it. It hasn’t. It can’t. It isn’t even close. It answers questions confidently but with subtle inaccuracies. The code that it produces is the same kind of non-sense that you get from recent bootcamp devs who’ve “mastered” the 50 technologies on their eight page résumé. If it’s gotten better, I haven’t noticed. Self-d…

I tried for 2 hours to get ChatGPT to write a working smooth interpolation function in python. Most of the functions it returned didn't even go through the points between which it should be interpolating. When I pointed that out it returned a function that went through the points but it was no longer smooth. I really tried and restarted over multiple times. I believe we have to choose between a world with machine lea…

That's weird to read. Interpolations of various sorts are known and solved and should probably be digested by chatgpt in training by the bulk. I'm not doubting your effort by any means, I'm just saying this sounds like one of those things it should do well.

Re: A coder considers the waning days of the craft

#595
> Ben told GPT-4 what he wanted and got code that ran perfectly

"perfectly"? I mean this sounds dubious. ChatGPT gives interesting suggestions and advice when it comes to coding but I've never been able to get any close to a perfect solution.

I don't think coding AI assistant's are meant to be used in that way anyway...

I think this is just another fluff piece about how coding is now dead (long live coding). That's basically not true. LLM have gave us a leg up but they haven't removed the need for a competent programmer.

Re: A coder considers the waning days of the craft

#596
I'll be concerned if I see an LLM create a secure, functional SQL schema and API with users, roles, subscriptions, products, MFA, and all the other basic requirements of modern-day apps. We're not even close to the required level of complexity yet, and I'm not holding my breath either.

Re: A coder considers the waning days of the craft

#597
I’ve always saw computers as a means to an end. Even in the bladerunner movies no one is sitting around pecking at a phone or a pc keyboard, it’s just holographic AI they talk to and interface with. And that’s the future of technology. Eventually you might do some sort of brain interface and be a cyborg. Who knows but the truth is, we nearing the end of humans needing to sit down and actually write code.
Post reply on HN