[dba-VB] Recent Discussion from MS on VB.Net and C# in VS 2010

Shamil Salakhetdinov shamil at smsconsulting.spb.ru
Tue Mar 16 01:37:32 CDT 2010


Hi Dan --

You can imagine curly braces as being two open helping hands - 

- left - 

{ 

and

- right - 

}

:)

If you're only starting using VB.NET then try C# instead - you'll never look
back...

I have been programming fluently on VB(A) for 10+ years (and before that I
have used (macro) Assemblers, FORTRAN, PL/1, COBOL, PASCAL, C/C++ etc. in
many projects) - VB(A) and VB.NET look so "weird" for me now...

Thank you.

--
Shamil

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters
Sent: Tuesday, March 16, 2010 2:45 AM
To: 'Discussion concerning Visual Basic and related programming issues.'
Subject: Re: [dba-VB] Recent Discussion from MS on VB.Net and C# in VS 2010

Hi Shamil,

Well - I'm just getting started with VB.  I think those curly braces are
weird and off putting!

I do believe that VB.Net will be preferred over time - all other things
being equal the easy path is the one more trodden!

Dan

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil
Salakhetdinov
Sent: Monday, March 15, 2010 3:52 PM
To: 'Discussion concerning Visual Basic and related programming issues.'
Subject: Re: [dba-VB] Recent Discussion from MS on VB.Net and C# in VS 2010

Hi Dan --

<<<
...because it's easier to read...
>>>
Well what of the following code lines is easier to read/understand/code for
a (beginner) programmer?:

string line = "test";

or

dim line as string = "test"

IMO (just IMO) defining a string variable named 'line' with initial value
equal to "test" is directly translated to C#'s code line:

string line = "test";

but not to a VB.NET one...

And there could be found many samples like that one above, more complicated
samples, which will highlight "one-to-one" correspondence between C# coding
and algorithmic specifications...

IMO (just IMO, I'm not trying to start a discussion here) C# is more
straightforward and laconic, and is expected to become "preferred"
programming language over time...

Thank you :)

--
Shamil

<<<snip >>>





More information about the dba-VB mailing list