Le 2014-12-22 15:30, Alex Susu a écrit :
>      Did anybody consider using monads in CIL?

CIL is a large piece of software, relying very heavily on mutation and 
object-oriented paradigm (with the visitor pattern). This is sometimes 
painful, because the nice CIL AST is a leaky abstraction when mutation 
is involved—but that's what we have anyway.

While it could make sense to have a monad-oriented CIL in an 
alternative universe, it is not reasonable to expect the current 
codebase to evolve towards it. It would need to be rewritten from 
scratch, and then second-system syndrom kicks in…

Best regards,
-- 
Gabriel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to