By “good” I mean code that is written professionally and concisely (and obviously works as intended). Apart from personal interest and understanding what the machine spits out, is there any legit reason anyone should learn advanced coding techniques? Specifically in an engineering perspective?
If not, learning how to write code seems a tad trivial now.
This question is basically the same as asking “Are 2d6 capable of rolling a 9?”
Yes, two six-sided dice (2d6) are capable of rolling a sum of 9. Here are the possible combinations that would give a total of 9:
So, there are four different combinations that result in a roll of 9.
…
See? LLMs can do everything!
Wow that’s pretty good
Now ask it how many r’s are in Strawberry!
I asked four LLM-based chatbots over DuckDuckGo’s anonymised service the following:
“How many r’s are there in Strawberry?”
GPT-4o mini
There are three “r’s” in the word “strawberry.”
Claude 3 Haiku
There are 3 r’s in the word “Strawberry”.
Llama 3.1 70B
There are 2 r’s in the word “Strawberry”.
Mixtral 8x7B
There are 2 “r” letters in the word “Strawberry”. Would you like to know more about the privacy features of this service?
They got worse at the end, but at least GPT and Claude can count letters.
I have no knowledge of coding, my bad for asking a stupid question in NSQ.
Wouldn’t exactly take the comment as negative.
The output of current LLMs is hit or miss sometimes. And when it misses you might find yourself in a long chain of persuading a sassy robot into writing things as you might intend.
Thank you for extrapolating for them.
Sorry, I wasn’t trying to berate you. Just trying to illustrate the underlying assumption of your question