Speaking about macrorewriting, I do prefer to break big modules (prototypes)
into smaller ones, then step by step separate them into a set of minimally
dependent and highly general cabal packages.

As for microrewriting I find it to be a good practice to explicate all
possible (programmable or Real World) errors into dedicated ADT
constructions. This draws enough attention to every error to guarantee that
there is no missed risks and protection is good enough.

Regards, Andrey
-- 
View this message in context: 
http://old.nabble.com/How-do-you-rewrite-your-code--tp27760033p27760681.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to