Oddbean new post about | logout
 nostr:npub129gvast08lj986yftn7q5qlnj8yfqufxx0m33s9u5xssjm8c64rsve4kwg I think my complaint here is not that there are too many functions/methods, but more that it's hard to discover and remember which functions to use in which circumstances.  

An easy example: Result<T> has an .ok() method and Option<T> has an .ok_or() method.  I am constantly trying to call .ok() on an Option (or .ok_or() on Result) and then getting really confused when it tells me the function doesn't exist.