3 ms·
#define IT "I think" // :) >2 IT the swicth/cases are quicker/clearer to grasp than the one with BIGMACROS_X >4 IT you shouldn't underestimate the existing
by makapuf 10y ago
#define IT "I think" // :)
>2
IT the swicth/cases are quicker/clearer to grasp than the one with BIGMACROS_X
>4
IT you shouldn't underestimate the existing neural paths of knowledge of stdlib for C devs. those std functions are read / parsed almost intuitively, unlike cute macros, except for their creator.
I'am ll for "cleaning" C and have a non-completely backwards dependent / improved standard, but I'd much prefer strtof than a custom macro. And those standard C functions are often accelerated to death by compilers (see: memcpy by example).