debouncing on the code

shall i still use capacitors for ripples if I use RS-485 or a fiber optic link?