[nem-en] ManagerClass.Instance == pain!

Igor Tkachev it at rsdn.ru
Sun Nov 19 01:57:57 CET 2006


Hello Kamil,

> The need to pass context around is quite disturbing in my opinion...
> Every time you would like to create simple  Location or PExpr object
> you need to have ManagerClass at hand... Of course we could force
> users to do this and fix all code in nemerle sources, but the question
> is if it is really worth all the costs?

ManagerClass has a project context. We can have multiple project
solution and as Vlas mentioned, we can create new instance of Manager
class every time we need it. For example, to parse files which are not
included in any project, to created temporary invisible projects, etc.

-- 
Best regards,
 Igor                            mailto:it at rsdn.ru





More information about the devel-en mailing list