4 ms·
It's possible that you don't roll your own custom trees and other data types because your language of choice doesn't make using your own data structures easy.
by dons 14y ago
It's possible that you don't roll your own custom trees and other data types because your language of choice doesn't make using your own data structures easy.
- cageface 14y agoPerhaps, but demonstrating a custom binary tree implementation in Haskell is not the right way to lure blub programmers. Show them how Haskell makes it easier to solve the problems they face in their day-to-day work and you might start to make some converts.
- lobo_tuerto 14y agoLanguage of choices appart, maybe it's because: "I've encountered no occasion where I'd implement CS classics like linked lists and binary trees. My understanding goes as far as sort of vaguely recognising them."
- jlarocco 14y agoMy languages of choice do make creating custom data structures at least as easy as Haskell, and I still rarely do it. In most cases I've found it's faster in implementation time, testing time, and running time to just use built in data structures when possible. Even in Haskell.