Re:How Old School C Programmers Process Arguments
by scarface74 on Sunday January 28, 2018 @04:33PM
(#16253665)
What's clever about this? It's a little obtuse and overly permissive. How do most developers parse arguments? I suspect it would be a for loop with nested if statements - since you can't switch on strings. If you expect a value to follow the flag you increment the counter in your if block and 'continue'.
[ Parent
| on HN ]
There are no comments on this comment yet.