Github user ottobackwards commented on the issue:

    https://github.com/apache/commons-lang/pull/311
  
    Sorry @garydgregory I understood you to mean it would be optional.
    
    So, the context of the creation of this idea is I did it for an environment 
where we have optional available 'capabilities', and it is common to check and 
use if present or fail if required but not present.
    
    There is a difference between the logging example and this.  I am familiar 
with logging quick fail ( I implemented my own c++ streams based quick failing 
logger back in the day even ), but the logger is always there, you are checking 
for configuration or optionally enabled functionality ( debug logging ), where 
as I wrote this for an environment where we may not have a watch at all.
    
    I am not saying having a 'singleton' watch, with a 'do nothing' set of 
default interface implementations isn't something to think about.
    
    But things start from where you have a need usually.
    



---

Reply via email to