David, el 10 de October a las 16:55 me escribiste: > Am 10.10.2012 07:32, schrieb Namespace: > >And you ask for what namespaces are usefull? Aren't you miss them? I do, > >and so I implement them. You can already write "namespaces" in D, but > >you must use a (mixin) template (so you have these ugly parents) and for > >using you have to write: alias tpl_nspace!().print print or directly: > >tpl_nspace!().print. And that's ugly (because of '!()') and annoying IMO. > > No, I really don't miss namespaces and if I really needed one, I > would use a struct.
Or even better, just use static import. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Sometimes you got to suffer a little in your youth to motivate you to succeed later in life. Do you think if Bill Gates got laid in high school, do you think there'd be a Microsoft? Of course not. You gotta spend a lot of time stuffin your own locker with your underwear wedged up your arse before you think "I'm gona take over the world with computers! You'll see I'll show them."