Phobos examples and auto

Tobias Pankrath tobias at pankrath.net
Tue Nov 8 11:28:05 PST 2011


Jonathan M Davis wrote:

> It's bad practice on both counts. Creating an unnecessary alias
> (especially for a built-in type) just serves to obfuscate code and confuse
> other programmers. Regardless of the name chosen, it shouldn't be done.
> And as cool as it may be to be able to use unicode in a .d file, unicode
> characters are not typeable on most keyboards, so using unicode characters
> for anything outside of strings is generally a bad idea.
> 
Exactly what I mean. My point was, that unicode names wouldn't be bad 
practice if everyone could easily write them, which is not the case :-( 

I fully agree on the "no alias of build-ins" thing.


More information about the Digitalmars-d mailing list