News for hackers. Stuff that matters.
Re:Make hard coding your default choice by falcolas on Monday June 08, 2015 @09:59AM (#9679063)
I find the happy medium here is a command line parameter. Hard code the default to something sensible, and have a command line parameter (-v) which overrides the sensible default. No need to recompile, no need to worry about the parameter 99% of the time.
Re:Make hard coding your default choice by reagency on Monday June 08, 2015 @10:06AM (#9679116)
This is how almost everything works now and so it's weird to even have he discussion.
Re:Make hard coding your default choice by jameshart on Monday June 08, 2015 @10:21AM (#9679219)
Great! Now how do I pass a command line parameter to my web application? Or to a mobile app?