4 ms·
My favorite part is when you implement something you could've had running in a minute or so, but instead developed it for hours or days and it's still not as go
by Keyframe 13y ago
My favorite part is when you implement something you could've had running in a minute or so, but instead developed it for hours or days and it's still not as good as the existing solution. I often get that with C and libraries. There has to be a better way to search through existing stuff which is good and proven, not just for C of course.
- philsnow 13y agoHaskell has hoogle [0], that lets you search by type signature. If you already know roughly what kind of function you want, it's a lot easier to sift through a tiny handful of (or even a single) functions that match a given type signature. ISTR Forth had something similar, or maybe I'm just thinking that in Forth, words are almost uniquely defined by their stack annotations. [0] http://www.haskell.org/hoogle/ http://www.haskell.org/hoogle/