No really, what were they thinking?

No really, what were they thinking?

It's no secret that Copilot doesn't like me. It insults me, and it makes stupid suggestions. It also offers poor quality code.

Today it outdid itself. I added a static class to hold the VAT rate, and it offered me two methods to calculate VAT-related numbers. The suggestions looked quite reasonable at first glance, so I accepted it.

OK, stop laughing, I know I should have known better. It put the two methods outside the class!

Note the extra closing brace it threw in at the end for good measure.

At least I don't need to worry about my job security. With AI like this, my job is safe!

Comments

No approved comments yet.

Leave a comment