Better HN
topnewbestaskshowjobs
Log inSign up

me_and

0 karma · joined Jul 10, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

> Things like parsing arguments are best delegated to a function named main, so that any internal variables in that function do not live in the outer scope.

Why a function named `main`? We're not writing C here, there's no need for a function named `main`. Let's call it something that's actually useful, like `parse_cmd_arguments`