Long posts often suggest alternatives to avoid overusing "but" [7, 8, 15]:

Developers often post about the "but then it works anyway" phenomenon, where deployment stages throw errors but still successfully go live [32].

Only use a comma after "but" if it is followed by an "interrupter"—a non-essential phrase like "of course" or "in my opinion" [6, 10].

Many were taught in school that this is a "sin." However, linguists and style guides generally agree it is perfectly acceptable for emphasis or to create a sharper contrast [4, 23]. The Comma Rule: