GitHub Copilot code is often amazing and sometimes terrifying. Let’s take a O(N^3) mergeArrays implementation and turn it into a sleek O(N) ES6 near one liner, step by step.
Code:
I have a book out on TypeScript that gets updated with a new chapter every time I add a new No BS TS episode. Check it out!
👉 What’s my theme? Night Wolf [black]
👉 What’s that font? MonoLisa
👉 I’m a host on the React Round Up podcast:
👉 Don’t forget to subscribe to this channel for more updates:
👉 Discord server signup:
00:00 Introduction
00:18 Copilot’s Take
02:27 Initial cleanups
05:57 Using array methods
07:22 Finding ...
#JackHerrington #github_copilot #github_copilot_jack_herrington #github_copilot_code #github_copilot_code_cleanup #copilot_code_cleanup #Cleaning_Up_Copilot_Code #github_copilot_Human_vs_AI #github_copilot_vscode #github_copilot_review
20211115
HbSvuxr2kzA