News for hackers. Stuff that matters.
Re:Spider Programming Language by joshuacc on Monday November 17, 2014 @02:59PM (#8620135)
You can also handle problems like this via libraries. For example, underscore-contrib [1] does it this way:

    var x = _.getPath(a, "b.c.d");
There are definitely advantages to having this pattern baked into the language, though.

[1] http://documentcloud.github.io/underscore-contrib/

There are no comments on this comment yet.