nikgoodley-ibboost / funcito

Automatically exported from code.google.com/p/funcito
0 stars 0 forks source link

null safe chained method calls #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This issue is being split off of Issue 45 starting at the following comment:

http://code.google.com/p/funcito/issues/detail?id=45#c2

The basic idea is to allow intermediate nulls in the chain without causing an 
NPE, but simply to short-circuit return a null (or other default value).  A 
viable and flexible API would have to designed.

Original issue reported on code.google.com by kandpwel...@gmail.com on 19 Jul 2012 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by kandpwel...@gmail.com on 5 Aug 2013 at 3:25

GoogleCodeExporter commented 9 years ago

Original comment by kandpwel...@gmail.com on 16 Sep 2013 at 5:42

GoogleCodeExporter commented 9 years ago
Not only null-safe navigation, but the whole concept of Funcito modes and 
user-defined modes was added in 1.3!

Original comment by kandpwel...@gmail.com on 31 Oct 2013 at 6:18