3 ms·
That could be it. My first glance lead me to think it could all be replaced with an enum rather than 7 switch statements (or, better yet, a library function).
by MAGZine 13y ago
That could be it. My first glance lead me to think it could all be replaced with an enum rather than 7 switch statements (or, better yet, a library function).
"data" is ambiguous, too. I think that perhaps there are a few errors to demonstrate his point.