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

„Of” is underused in programming. It’s short, can appear standalone, as prefix, infix and suffix and it’s generic enough that it works in most contexts for types, type functions, functions, constructors, mappings etc.


When Java introduced List.of(1, 2, 3), I was sceptical but now I like it




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

Search: