Fun with GitHub Copilot #1 (RxJS)

1 min read Original article ↗

RxJS from, pipe, map, and filter

Michael D. Callaghan

What is GitHub Copilot?

Press enter or click to view image in full size

GitHub Copilot

Note: This article is an except from my book, P-AI-R Programming: How Al tools like GitHub Copilot and ChatGPT Can Radically Transform Your Development Workflow.

I just started my paid subscription to GitHub Copilot, after using it in Beta for the better part of the year. I mentioned this to some of my coworkers, many of whom had no idea what I was talking about. So, before I begin, let me give you a brief introduction to what GitHub Copilot is.

GiHub bills Copilot as “Your AI pair programmer,” and that’s exactly what it feels like. In a nutshell, it’s an AI that watches what you type in your source code editor and makes intelligent suggestions about what to type next.

So far, it seems to predict what I’m doing more than 75% of the time. In those instances where it’s wrong, it’s usually close enough that I can fix it quickly.

However, sometimes it’s a bit too aggressive, making suggestions before I’ve had a chance…