this post was submitted on 06 Aug 2023
1767 points (98.5% liked)

Programmer Humor

32464 readers
436 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Blackmist@feddit.uk 6 points 1 year ago (1 children)

I haven't used GPT-4 for that, but it's all dependent on the data fed into it. Like if you ask a question about Javascript, there's loads of that out there for it to look at. But ask it about Delphi, and it'll be less accurate.

And they'll both suffer from the same issue, which is when they reach the edge of their "knowledge", they don't realise it and output data anyway. They don't know what they don't know.

[โ€“] danielbln@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

These LLMs generally and GPT-4 in particular really shine if you supply enough and the right context. Give it some code to refactor, to turn hastily slapped together code into idiomatic and well written code, align a code snippet to a different design pattern etc. Platforms like https://phind.com pull in web search results as you interact with them to give you more correct and current information etc.

LLMs are by no means a panacea and have serious limitations, but they are also magic for certain tasks and something I would be very, very sad to miss in my day to day.