Re:Generalizing JSX: Delivering on the Dream of Curried Name...
by kbenson on Thursday March 24, 2016 @05:44PM
(#11356710)
Couldn't you get around using eval by just use an object and register methods on it, instead of global functions, essentially using the object as a namespace? Instead of
You would have
And then just build your functions on top of the MyJSX object?
[ Parent
| on HN ]
Re:Generalizing JSX: Delivering on the Dream of Curried Name...
by WorldMaker on Thursday March 24, 2016 @06:14PM
(#11356912)
Yep, that's essentially where I was leading.