Until you go to lay out your circuit board. There's a reason microcontrollers are used for tasks like debouncing switches.

I said uninteresting and inelegant. No one disputes that brute force is functional.