On 1/1/13 3:18 PM, Ondřej Bílka wrote:
On opposite end of spectrum you have piece of haskell code where everything is abstracted and each abstraction is wrong in some way or another. Main reason of later is functional fixedness. A haskell programmer will see a structure as a monad but then does not see more apropriate abstractions. This is mainly problematic when there are portions of code that are very similar but only by chance and each requires different treatment. You merge them into one function and after some time this function ends with ten parameters.
Hmm, yeah. I've done that, but I've also recognized it and undone it, or added parameters to types and/or reworked the combinators to deal with both treatments. That one is even looking for combinators seems to me to show that the Haskell programmer is inclined to resist functional fixedness...

Marcus
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to