3 ms·
Embedded uses such HAL's extensively. There is no such nested ifdef mess mid-level devs love to create. Linux KConfig system is also properly designed, leading
by rurban 5y ago
Embedded uses such HAL's extensively. There is no such nested ifdef mess mid-level devs love to create. Linux KConfig system is also properly designed, leading to properly seperated features.
Never mix compile-time logic with runtime logic, you get lost. No need for a study to verify this.
#ifdef is not considered harmful, only stupid usage of it.