On Thu, Feb 15, 2018 at 12:03 AM, Romain Manni-Bucau <[email protected]> wrote: > > 2. default properties = env + system properties: this is what all config > libs do (spring config, tamaya, deltaspike, microprofile-config, ...) so it > is very comfortable and sane for end users. It enables ops (env) and dev > (system properties) to feel comfortable for free with this and avoids us to > have N entry points which has the nice side effect to consolidate the > overall consistency of the framework/lib. >
Can you link to the docs for these examples? I'm sure we'd like to learn from them. > 4. support null: I'd like to support null as a valid valid for properties. > The rational here is to make it neat for end user and support: > fromProperties(loadProps()) with a loadProps in the user codebase which can > return null. We just default to create(). For us it iss pretty much nothing > but it enables end users to not care about it. Concretely one null check > versus millions (or thousands at least ;)). > https://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare Kenn
