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

that forEachProp function... it brings back nightmares of when, before variadics, we used to macro generate up-to N-arity functions (with all the const/non-const permutations(.

Now I use the same trick in our code base to generically hash aggregates, but I limit it to 4 fields for sanity.



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

Search: