Over the years, I've seen a bunch of coding anti-patterns.
I figured maybe I'll share a few.
Today, I'll introduce
what I'm calling the unrolled-switch anti-pattern,
also known as
"Specialization is always faster, right?"
As we all know,
special-case code is faster than general-purpose code.
Instead of writing slow general-purpose code...