30 ms·
When I find myself writing comments of this style I see, I usually ask myself if this thing would be better extracted into a function. These comments are primar
by ilikehurdles 4y ago
When I find myself writing comments of this style I see, I usually ask myself if this thing would be better extracted into a function. These comments are primarily stating the obvious.
If I find myself writing a 200 line function with nested or repetitive loops I expect to hear from colleagues about how I should refactor it.
I feel that the solution to writing boring, repetitive boilerplate shouldn’t be to automate writing more of it, but to reduce or remove it entirely. Seeing things like this just reinforces my preconception that Copilot acts in low quality code environments to produce fittingly low quality code, or with languages like Java where the language is married to boilerplate.
- mistercow 4y agoThis reply feels pretty bad-faith. But you know, feel free to open a PR if you have something concrete you feel can be improved.