This code is really hard to read…

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this code is really hard to understand and that's because it's nested ternary statements but we can use GitHub copilot to clean this up so we can use the new brushes view in copilot labs and click the readable button which will attempt to make the code more readable we like that we can accept it or we can be more specific using a custom brush then we can just sort of tell copilot what we want which is convert this ternary to if statements we like that a whole lot more and if you don't trust that this code Works have copilot generate a unit test for you
Info
Channel: Visual Studio Code
Views: 262,362
Rating: undefined out of 5
Keywords:
Id: gb1Jf1Huxs4
Channel Id: undefined
Length: 0min 34sec (34 seconds)
Published: Sat Jan 14 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.