Hacker News new | ask | show | jobs
by baz00 1073 days ago
I have gone past the point of giving a shit. Unless it's something I really care about the minuscule details for I'll get ChatGPT to write the main chunk of code and then fix the bugs. It's no different than having a junior dev working for you, except it's quicker and doesn't piss off to lunch or go sick when you need them.
3 comments

I never need this. Just the work to get the code out of ChatGPT correctly is usually more effort than writing it. And besides - most of the time there is a huge amount of context and ChatGPT knows nothing about it. I touch dozens if not hundreds of files every day. Doing a little tweak here or there which rarely takes more than a few seconds to do. And the rest of the time I spend thinking and designing.
> It's no different than having a junior dev working for you

In my experience it's completely different.

A junior dev who wants to produce a PDF automatically will have to spend a few hours evaluating all the library options and learning their usage. But the code will certainly be free of syntax errors and will produce not-obviously-wrong output before they send it for code review.

ChatGPT will select a library and know how to use it instantaneously - and yet, might call methods that don't exist. Which any human developer would have caught on the very first test run.

They do have certain things in common though - ChatGPT certainly comments code like a beginner programmer :)

GPT4 is like 100:1 hits to misses for me.

Recently I switched to a different case for my home NAS. The drive caddies had a tiny cutout for a label, like 0.75 inch x 1.5 inch.

I decided to see if Chat GPT could take care of it. I asked for it to write LaTeX that would produce rectangles of that size with a light gray border, with the serial number of each drive in the rectangle.

On the first pass it got it basically right. Rectangles all the right size, right border, and all the right serial numbers.

The rectangles were all touching each other so I asked it to put a half inch between each and it did that. Then I decided I wanted fixed width font, and it accommodated that as well.

Then just for fun I asked it to draw a dinosaur using LaTeX. It advised me that this isn’t a good use of LaTeX and then used shape primitives to draw a plausible looking dinosaur.

…and the library might be obsolete, unmaintained, or outright a wrong choice for the task at hand.
> doesn't piss off to lunch or go sick when you need them

It doesn't until it does I think.

I'll worry when it starts a union :)