Hacker News new | past | comments | ask | show | jobs | submit login

Point one seems to be an API naming issue. I would not anticipate getFeatureFlag to increment a hit counter. Seems like it should be called something like participateInFlagTest or whatever. Or maybe it should take a (key, arbitraryId) instead of just (key), use the hash of the id to determine if the flag is set, and idempotently register a hit for the id.



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

Search: