I have added a Coding guidelines section to the readme.txt with this comment.

Rafael

-----Original Message-----
From: Kornél Pál [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 13, 2006 18:32
To: Rafael Mizrahi; Miguel de Icaza
Cc: mono-list@lists.ximian.com; Rolf Bjarne Kvinge
Subject: Re: [Mono-list] VBNC in Mono.

Hi,

>> (But we should stick to vbc 7.x behavior in VB runtime to support .NET 
>> 1.x.)
>
>I'm with you. Please commit.
>
>Do you think that we should place a notice on that coding practice, 
>somewhere in the >$mono-basic\vbruntime\readme.txt ?

I think the following should be documented instead: CType (and it's C<type> 
friends for built-in types, a complete list would be useful) is usually 
implemented as calls to VB runtime rather than using IL code so it should be 
avoided when that specific behavior is not required. DirectCast is the 
eqivalent of C# casting.

Because this is something that C# programers may be unaware of.

Kornél 

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to