Operator overloading

dennis luehring dl.soluz at gmx.net
Tue Dec 23 13:26:41 PST 2008


> Autocompletion and syntax coloring.

ok one reason - but is the sql syntax not crippled enough using 
operators - better if colored/autocompleted?

what does coloring help here

select
   x,
   y = (select u from b where ... ),
from select( xyz from abc )
left join

in the special case of inner selects, from selects, left/right/inner 
joins...

the ultimate++ solution just works for very very simple statements
the readability is flying away

i personaly whould throw away the idea of getting functional style 
programming like sql into an imperative language using operator 
overloading or better -> i would not ask for more operator overloading 
features based on this need :-)

what about other domain-specific languages like the blade stuff
or an ebnf parser (dparser?) - should these be more operator overloading 
dependend for better coloring and auto-completion? i think operator 
overloding is not the answer here

nothing agains autocompletion and syntax coloring - very much needed
decents smart autocompletion shows how it should be



More information about the Digitalmars-d mailing list