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

Rich Hickey would say "just use maps" and avoid all this navel-gazing


It does not solve the problem. Would you rather have a function that takes a map and puts additional keys in it (ex. `timestamp`) or a function that takes a map and stores it in a new map alongside the additional keys? In any case, how would you write a generic function that works on those additional keys?




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

Search: