Earlier quoted context omitted.
The use of LLMs will lead to homogeneous, middling code.
I'm not sure if that's a criticism or praise - I mean, most people strive for readable code.
Using go fix to modernize Go code
11–20 of 97 posts
Re: Using go fix to modernize Go code
#12I really liked this part: In December 2024, during the frenzied adoption of LLM coding assistants, we became aware that such tools tended—unsurprisingly—to produce Go code in a style similar to the mass of Go code used during training, even when there were newer, better ways to express the same idea. Less obviously, the same tools often refused to use the newer ways even when directed to do so in general terms such a…
Re: Using go fix to modernize Go code
#13I really liked this part: In December 2024, during the frenzied adoption of LLM coding assistants, we became aware that such tools tended—unsurprisingly—to produce Go code in a style similar to the mass of Go code used during training, even when there were newer, better ways to express the same idea. Less obviously, the same tools often refused to use the newer ways even when directed to do so in general terms such a…
The use of LLMs will lead to homogeneous, middling code.
Maybe the best way is to do the scaffolding yourself and use LLMs to fill the blanks. That may lead to better structured code, but it doesn’t resolve the problem described above where it generates suboptimal or outdated code. Code is a form of communication and I think good code requires an understanding of how to communicate ideas clearly. LLMs have no concept of that, it’s just gluing tokens together. They litter code with useless comments while leaving the parts that need them most without.
Re: Using go fix to modernize Go code
#14Earlier quoted context omitted.
I'm not sure if that's a criticism or praise - I mean, most people strive for readable code.
LLM generated code reminds me of perl's "write-only" reputation.
Re: Using go fix to modernize Go code
#15I really liked this part: In December 2024, during the frenzied adoption of LLM coding assistants, we became aware that such tools tended—unsurprisingly—to produce Go code in a style similar to the mass of Go code used during training, even when there were newer, better ways to express the same idea. Less obviously, the same tools often refused to use the newer ways even when directed to do so in general terms such a…
The use of LLMs will lead to homogeneous, middling code.
Re: Using go fix to modernize Go code
#16Earlier quoted context omitted.
I'm not sure if that's a criticism or praise - I mean, most people strive for readable code.
LLM generated code reminds me of perl's "write-only" reputation.
Re: Using go fix to modernize Go code
#17I really liked this part: In December 2024, during the frenzied adoption of LLM coding assistants, we became aware that such tools tended—unsurprisingly—to produce Go code in a style similar to the mass of Go code used during training, even when there were newer, better ways to express the same idea. Less obviously, the same tools often refused to use the newer ways even when directed to do so in general terms such a…
The use of LLMs will lead to homogeneous, middling code.
Re: Using go fix to modernize Go code
#18I really liked this part: In December 2024, during the frenzied adoption of LLM coding assistants, we became aware that such tools tended—unsurprisingly—to produce Go code in a style similar to the mass of Go code used during training, even when there were newer, better ways to express the same idea. Less obviously, the same tools often refused to use the newer ways even when directed to do so in general terms such a…
And then you point out issues in a review, so the author feeds it back into an LLM, and code that looks like it handles that case gets added... while also introducing a subtle data race and a rare deadlock.
Very nearly every single time. On all models.
Re: Using go fix to modernize Go code
#19I really liked this part: In December 2024, during the frenzied adoption of LLM coding assistants, we became aware that such tools tended—unsurprisingly—to produce Go code in a style similar to the mass of Go code used during training, even when there were newer, better ways to express the same idea. Less obviously, the same tools often refused to use the newer ways even when directed to do so in general terms such a…
The use of LLMs will lead to homogeneous, middling code.
Re: Using go fix to modernize Go code
#20I really liked this part: In December 2024, during the frenzied adoption of LLM coding assistants, we became aware that such tools tended—unsurprisingly—to produce Go code in a style similar to the mass of Go code used during training, even when there were newer, better ways to express the same idea. Less obviously, the same tools often refused to use the newer ways even when directed to do so in general terms such a…
The use of LLMs will lead to homogeneous, middling code.