A quick and dirty test

Photo by Artturi Jalli on Unsplash

I found myself in the position of writing a small command line Python tool for one of my colleagues. Something pretty simple. Get a contacts list from a Google Sheet and create Lead objects on Salesforce. 

Easy stuff. It should not require more than a couple of hours, testing included.

I decide to take a test with this.

I would not write a single line of code.

I describe every single function in the application as a comment and let GitHub CoPilot do the coding for me.

Well, It took twenty minutes to have the application up and running—a few tweaks here and there, mostly on prompts and error messages.

The exciting thing is that those functions are written using my programming style. Honestly, I would have written those functions in the same way. It must be said that GitHub CoPilot has access to all of my private repositories, most of them coded with Python, so it is pretty easy to guess my (not so pythonic) programming style.

0 0 votes
Article Rating
Subscribe
Notify of
guest


0 Commenti
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Parole Sparse - Il podcast di Corrente Debole

Getting file data...

Parole Sparse - Il podcast di Corrente Debole         Parole Sparse - Il podcast di Corrente Debole        
Getting file data...           Getting file data...          
More
Speed: 50% Speed: 75% Speed: Normal Speed: 125% Speed: 150% Speed: 175% Speed: Double Speed: Triple
Back 15 seconds
Forward 60 seconds
More
more
    Speed: 50% Speed: 75% Speed: Normal Speed: 125% Speed: 150% Speed: 175% Speed: Double Speed: Triple
    Back 15 seconds
    Forward 60 seconds
    Currently Playing
    0
    Would love your thoughts, please comment.x
    ()
    x