Hacker News new | past | comments | ask | show | jobs | submit login

getopt still results in imperative argument parsing

That's one of the reasons I use it, actually. For simple utilities it may be adequate to set flags and store values for command-line parameters, but sometimes you need the flexibility of being able to run whatever code you need when an option arrives.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: