[nem-en] 0000898: 'int' treated as an identifier even if usedwithout verbatim specifier (@)

Kamil Skalski kamil.skalski at gmail.com
Tue Feb 20 19:15:49 CET 2007


Yap... the question is if we should change the language just because
people have different customs taken from C#
As I've already mentioned, I don't this this is going to cause real bugs, since:
- you get the 'unused' warning
- the 'x' would still have the original type, so user trying to use it
as instance of 'y' would get error
- hey man, this is a different language, and if you are that far to
use complex matching constructs, then you should have seen at least
some examples how to do it

2007/2/20, Vladimir Reshetnikov <v.reshetnikov at gmail.com>:
> On 2/20/07, Kamil Skalski <kamil.skalski at gmail.com> wrote:
> > | x as y =>
> >
> > is not implicit... in fact, you EXPLICITLY state that 'x' should be
> > visible AS variable name 'y'
>
> The fact is this is not obvious for many beginners...
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list