scoped includes are a deal breaker for me when looking at new programming languages.
ex: non-scoped (everything in foo is added to the global scope)
inport foo
{
bar.do()
}
ex: scoped (everything in foo is added to the local scope, and assigned a name-space)
{
bar = inport foo
bar.do()
}
I find it much easier to manage programs where there are no "hidden" global variables. It's especially hard when the included files also can include files, witch all adds to the global scope.
ex: non-scoped (everything in foo is added to the global scope)
ex: scoped (everything in foo is added to the local scope, and assigned a name-space) I find it much easier to manage programs where there are no "hidden" global variables. It's especially hard when the included files also can include files, witch all adds to the global scope.