2 ms·
At first I thought copilot would be pretty useless until I actually tried it. It turns out that a lot of code is boilerplate and the same simple patterns, even
by armchairhacker 5y ago
At first I thought copilot would be pretty useless until I actually tried it. It turns out that a lot of code is boilerplate and the same simple patterns, even with abstraction. Copilot is not particularly genius, but it fills in simple patterns (e.g. do the same for the Y-axis that you did for the X-axis), and autocompletes typical utility functions (e.g. add 2 2d positions, shuffle an array, setTimeout promise, etc. which I have to write functions for because they are not in the JavaScript standard library.) These may seem like odd scenarios but there are actually a lot of them.