Hacker News .hnnew | past | comments | ask | show | jobs | submit | philthom's commentslogin

Yeah Silver Bullets Are Always Plated


Seems more of a blogvertisement for GitHub


Check out the Immutable Maps feature, does the same with some nice syntactic sugar - http://docs.guava-libraries.googlecode.com/git/javadoc/com/g...


You don't even need to use the Builder directly, just use the structure's "of" method:

   ImmutableSet<Foo> foos = ImmutableSet.of(a, few, elements);
   ImmutableMap<Key, Value> map = ImmutableMap.of(k1, v1, k2, v2);


I've studied computer science, but I don't recall this theoretical problem. Perhaps its just not as popular or well known as things like P vs NP?


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

Search: