[Haskell-cafe] Collections
David House
dmhouse at gmail.com
Tue Jun 19 19:23:38 EDT 2007
Andrew Coppin writes:
> Maybe it's just a culture thing then... In your typical OOP language,
> you spend five minutes thinking "now, what collection type shall I use
> here?" before going on to actually write the code. In Haskell, you just
> go "OK, so I'll put a list here..."
The design stage of any Haskell program should include a lot of time thinking
about your data structures, type classes, and how they all interact. If anything
this plays a larger role than in OOP.
--
-David House, dmhouse at gmail.com
More information about the Haskell-Cafe
mailing list