|
|
|
|
|
by SideburnsOfDoom
1985 days ago
|
|
a) Which of those libraries do they use only 2% of the features from? One the template is filled out, won't it be higher. b) There are certain things that look simple, but you _do not_ want to waste your time coding the corner cases yourself when this is a solved problem. e.g. You might think that commandline args is simple, but it is very much not. if you '-file foo.txt' working, how will you handle '-file "C:\Program Files (x86)\bar\foo bar.txt" ' ? If you get `-message hello` ? working, will your code handle `-message "hello, "friend""` ? Having this prebuilt is useful. |
|
(Yes, Windows is complicated by having two different built-in parsers for argv [CRT and shellapi] because the kernel itself doesn't have a concept of argv. But if we're talking about .Net programs then the runtime makes that choice and gives your entrypoint an argv, so again quote-evaluation is not in the program's purview.)