Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Don't abuse it? That's half the fun! I made a toy library a while back that allows you to call "any" function you want, and it tries to implement and execute it runtime based on the name! You can do stuff like this, where it will map and filter a list of nested objects.

  declaraoids.findNameAndSexAsGenderWhereAgeGreaterThanXAndAddress_CityEqualsCity(persons, {x: 23, city: 'Bergen'});
[0]: https://github.com/Matsemann/Declaraoids


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: