3 ms·
It's a usefull coding tool - but at the same time it displays a lack of intelligence in the responses provided. Like it will generate code like `x && Array.isa
by rafaelmn 2y ago
It's a usefull coding tool - but at the same time it displays a lack of intelligence in the responses provided.
Like it will generate code like `x && Array.isarray(x)` because `x && x is something` is a common pattern I guess - but it's completely pointless in this context.
It will often do roundabout shit solutions when there's trivial stuff built into the tool/library when you ask it to solve some problem. If you're not a domain expert or search for better solutions to check it you'll often end up with slop.
And the "reasoning" feels like the most generic answers while staying on topic, like "review this code" will focus on bullshit rather than prioritizing the logic errors or clearing up underlying assumptions, etc.
That said it's pretty good at bulk editing - like when I need to refactor crufty test cases it saves a bunch of typing.