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

jwcolby jwcolby at colbyconsulting.com
Tue Mar 16 11:05:44 CDT 2010


Drew,

I don't make the rules, I learn the rules and I play by them

The rules say that the compiler needs to be able to know where a block of code starts and stops in 
order to correctly execute the entire group.  You have done this all of your programming life.

If (Some condition) THEN (begins the block of code)

  Do something
  Do something else
  Do some third thing
ELSE (ends that block of code
  Do some other thing
  so something else
End else (ends the block of code)

You have been telling the compiler where to start and stop blocks of code since you wrote your first 
line of code.

Each language has its own syntax for doing that but it always exists, and it is not going away.

John W. Colby
www.ColbyConsulting.com


Drew Wutka wrote:
> First, let me reiterate that I'm no longer a developer, so this is just
> banter.
> 
> With that said, how can you say:
> 
> {
>    Blah blah { blah blah ;}
> }
> 
> Is easier then 
> 
> Blah blah
> 
> ????
> 
> I think this is like automatic vs. manual transmission.  Granted, you
> want to use a manual transmission in a race car, but do you really need
> to use it in everyday life?  The nomenclature of C is just giving the
> illusion of control.  Control over something that just isn't necessary
> anymore.... sort like caring about whether a program takes up 1k versus
> 4k.  Doesn't it really matter anymore?
> 
> Drew




More information about the dba-VB mailing list