6 ms·
Anecdote: After 12 hours of programming, I still had to implement some easy string search. I could not think straight at that stage and several imperative solut
by whatever12981 11y ago
Anecdote: After 12 hours of programming, I still had to implement some easy string search. I could not think straight at that stage and several imperative solutions failed. Then I thought "dammit, let's use a functional approach with recursion". It was faster to write, tail recursive, and correct the first time.
- eterm 11y agoWhich environment are you working in that doesn't have a string search as part of the standard library?
- whatever72163 11y agoINTERCAL. Seriously, what does it have to do with the point I made?