




I think the joke is that the Jr. Developer sits there looking at the screen, a picture of a cat appears, and the Jr. Developer types “cat” on the keyboard then presses enter. Boom, AI in action!
The truth behind the joke is that many companies selling “AI” have lots of humans doing tasks like this behind the scene. “AI” is more likely to get VC money though, so it’s “AI”, I promise.


Shorter code is almost always better.
Should you use a class? Should you use a Factory pattern or some other pattern? Should you reorganize your code? Whichever results in the least code is probably best.
A nice thing about code length is it’s objective. We can argue all day about which design pattern makes more sense, but we can agree on which of two implementations is shorter.
It takes a damn good abstraction to beat having shorter code.