
19 Jun
2007
19 Jun
'07
11:23 p.m.
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@gmail.com