3 ms·
That is part of the problem, LLM coding assistants often code out what a human would often use a core library for, only including when required, like importing
by nyrikki 2y ago
That is part of the problem, LLM coding assistants often code out what a human would often use a core library for, only including when required, like importing deque in Python to do a BFS.
An example I helped someone with on AoC last week.
Looking for 'lines' in a game board in Python, the LLM had an outer loop j, with an inner loop i
This is how it 'matched' a line.
if i != j and (x1 == x2) or (y1 = y2):
I am sure you can see the problem with that, but some of the problems in Knuth 4a are harder for others.
There is a lot to learn for many in Knuth 1, but I view it as world building for other concepts.
With LLMs polluting web search results, the point is to have reference material you trust.
Knuth is accessible, I did error on that side rather than suggesting books that are grad level and above that I really appreciate but would just collect dust.
People will need to figure out what works for them, but having someone to explain why you do something is important IMHO.