Ayende @ Rahien

Unnatural acts on source code

Binsor: Shove Those Imports To Another File

Because Binsor is strongly typed, you need to specify the imports for all the types you are using. It can get quite long, at times, because you are usually crossing the entire application, so basically every namespace you can think of is there.

I don't like that, it should be clear what is going on, and the imports should go elsewhere where they don't distract me. So I did it.

You can now write:

import namespaces from defaultImports.boo
#real code here

Comments

emperon
01/10/2008 11:49 PM by
emperon

How do you actually use this ? By adding a compiler stet ?

Ayende Rahien
01/11/2008 01:21 AM by
Ayende Rahien

Yes, although this is now built into Binsor

Comments have been closed on this topic.