Mastodon Feed: Post

Mastodon Feed

collinsworth@hachyderm.io ("Josh Collinsworth") wrote:

It also goes right along with me even when I'm doing something really stupid.

Today, for example, I mistyped a comparison as `!a === b` instead of the proper way, `a !== b`.

Copilot happily helped me repeat that mistake as many times as I wanted to, before I eventually discovered the error.

(Technically, `!a === b` is valid code, so Copilot apparently just assumed that's what I wanted, even though it made no sense in the context of what I was doing. Even TypeScript didn't help with that one.)