Re: [hackers] [xssstate] Refactor xssstate.c
> does it really simplify the code? I think it makes it less readable
> without arg.h.
I agree it does some, but using strcmp allows matching the flags exactly, and
prevents things like "xssstate -v" being equivilant to "xssstate -vxyz". And
since you would only ever use one flag at a time, arg.h seemed like it was
excessive, but perhaps I was thinking about simplify the wrong way. I also like
being able to use only one switch statement, but that's mostly a personal
preference. Thanks for the input!
Russ
Received on Sun Sep 11 2016 - 22:46:29 CEST
This archive was generated by hypermail 2.3.0
: Sun Sep 11 2016 - 22:48:14 CEST