Comment by the-smug-c-one
Comment by the-smug-c-one 2 days ago
Because you're probably writing a much larger program so some ifdefs aren't a big deal :-).
Comment by the-smug-c-one 2 days ago
Because you're probably writing a much larger program so some ifdefs aren't a big deal :-).
This is a silly argument because at the end of the day, once you make your code portable, you've now duplicated 99% of malloc and free, and you've left a mess for the team or next guy to maintain on top of everything else. You've successfully lowered the abstraction floor which is already pretty low in C.