AI coding assistants can promote libraries and frameworks.

One of the biggest problems with coding is knowing which libraries and frameworks to use. On the other side, if you come up with a really good abstraction, just publishing to npm isn't going to get it to people making apps that would benefit form it.

Some styles are more productive than others.

On the other hand, we really don't want our AI assistants to serve ads.

Here's an example. This is a real Github bot that is installable. It recommends SICP if someone tries to commit Java-style code to your repo.

Install GitHub App
@passive-aggressive-fp-bot13 minutes ago

The Adder class is a classic example of the Command pattern, which is a bit overkill for a simple addition operation. Instead of creating an Adder class, consider using a simple function like const add = (n) => (x) => x + n;. This approach is more concise and leverages the power of closures in JavaScript. For more on functional programming, this is a great place to start: https://www.amazon.com/Structure-Interpretation-Computer-Programs-Engineering/dp/0262510871.

Screenshot of the PR review bot in action

Please don't actually use this at work. It's rude. This is a joke conversation starter, not a way to speak to your colleagues.

Is this good? Bad?

Either way, it's the future! We should figure out what we want from it.

Code at https://github.com/jaredp/passive-aggressive-fp-bot. Pull requests welcome iff funny.