Cowboy coding is when someone designs and writes a computer program all by themselves, without working with a team of other programmers. It usually means they don't plan out their work in advance, and they just start coding without a lot of careful thought or preparation.