[Geany-Devel] [FT-plugins] Proposed "Features"
Lex Trotman
elextr at xxxxx
Wed Aug 31 13:31:51 UTC 2016
> I love Lex's ADL example, C++ can seem just crazy :)
Crazy like a Fox, makes the compiler near impossible, but makes lots
of stuff "just work" :)
So a much simpler example then (using C syntax to explain since we all
know it, but could be any language):
int a;
{
first_piece_of_code_using_a...
float a;
second_piece_of_code_using_a ....
}
For C/C++ the first piece of code will see `a` as an int and the
second piece of code will see `a` as a float, but there are languages
(Julia for one) where both pieces of code will see `a` as a float.
Again you need language specific knowledge to lookup `a` in the first
piece of code.
Cheers
Lex
>
> Regards,
> Colomban
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
More information about the Devel
mailing list