Why program in C#?

B

Brett

What is the reason to do a project in C# rather than VB.NET and vice versa?
Please exclude any differences in syntax and C/C++ background. Consider if
you know VB and C/C++, why go one way or the other with the .NET languages?

Basically, the languages appear to be the same. What can't I do in C# that
I can in VB.NET and vice versa...on the project level.

You may find this interesting:
http://www.ftponline.com/vsm/2003_06/magazine/features/salarysurvey/. Not
sure if it is still valid given the date. Does some one have an updated
version or reference?

Thanks,
Brett
 
S

Scott M.

This has been an ongoing question since .NET first came out. It all boils
down to your preference and skill set. The performance and capabilities of
the 2 languages are essentially the same. Sure, there are a few things that
VB.NET does that C# doesn't and vice versa, but these are trivial. They
both share the same IL, the same CLR and the same base class library.
 
R

Robbe Morris [C# MVP]

For 99.9% of all applications, it is strictly a matter of preference.
I prefer C#. There is a "perception" that C# developers have a
higher skill level. You may find getting a new job easier if
you do most of your development in C#.
 
S

Scott M.

I think the people that have that perception ARE C# developers. Getting a
job programming in VB .NET could be just as easy if not easier that
programming in C#. It all depends on the "shop" you are interviewing with.
 
C

Cor Ligthert

Scott,
I think the people that have that perception ARE C# developers. Getting a
job programming in VB .NET could be just as easy if not easier that
programming in C#. It all depends on the "shop" you are interviewing with.

Nice short and to the point answer,

:)

Cor
 
M

M. Posseth

This is Cool

I just read an article on the codeproject website

see this :
http://www.codeproject.com/useritems/CSharpVersusVB.asp

And I guess that the thoughts I always had about C++ , JAVA and DELPHI
programmers is really true They are frustrated !!!

They can`t stand it that there is a programming language ( VB ) that is as
powerful (in the right perception even more powerful ) as they're language
and that is so easy to learn .

C# VS VB in my opinion as a programmer who uses both i can tell you
that the difference is not so big , in my projects i mix both ( oh god i
love the framework :)
just because in some situations there are examples available in C# that are
not available in VB.NET or vice versa

Learn C# if you are going or already work for a Boss who thinks that C++
, JAVA and DELPHI is the real thing , and VB just Childs play .

Learn VB.NET

1. if you want to code in a fraction of the time to accomplish the same
thing
2. if you want to code in a language with the biggest community
3. if you want to code in a language that is easy to learn
4. if you want to code in a language with a huge history ( witch can also be
explained as a disadvantage , however i see this as a big advantage )

etc etc etc etc

On the real programming side i can name so many things that VB can and C#
can`t , however honestly needs me to say that i can also name things that
C# can and VB can`t
( however there is always a workaround for these problems for both VB and
C# )


In the end it is just your own feeling with the language as i started
programming Basic from thirteen years of age ( i am now 31 ) so VB will
always be my "home" language however if you are a starting programmer with
a academic background C# might be more "home" for you .

to be more specific lets take the OO keywords

a.. C# has virtual, VB has Overrideable
b.. C# has static, VB has Shared
c.. C# has abstract, VB has MustInherit
C# uses actual academic OO terms as keywords while VB uses the "friendly"
normal english definition as keywords

And here comes the frustration :) if you are a starting programmer
without a Academic background , but with good knowledge of the English
language ( before anyone starts to review this story an points me to the
mistakes i might have made , I am not a Native English speaker !! , before
you criticize lets have this discussion in Dutch, my native tongue and see
where you go :)
VB is much easier to learn , once you know VB.Net and see the light (
learn the counterparts of the keywords in C# Vs VB put behind every line a
; , learning some JavaScript will give you a boost for sure ) and
understand that it is one framework you program to ( so how can one
language me more powerful as the other ?? ) you will see that making the
switch to C# is not such a big step


just my 2 cents ( dollar cents as they are cheaper as they're euro
brothers :)

Happy coding :)

Michel Posseth [MCP]
 
O

OHM \( Terry Burns \)

The article you provided a link to in my humble opinion does little to help
make the choice, it is more subjective than one would have liked. To add to
this, the author was offesnive to VB programmers without any real source of
the statistics he used to make his claims.

--
OHM ( Terry Burns )

http://TrainingOn.net




M. Posseth said:
This is Cool

I just read an article on the codeproject website

see this :
http://www.codeproject.com/useritems/CSharpVersusVB.asp

And I guess that the thoughts I always had about C++ , JAVA and DELPHI
programmers is really true They are frustrated !!!

They can`t stand it that there is a programming language ( VB ) that is
as
powerful (in the right perception even more powerful ) as they're
language
and that is so easy to learn .

C# VS VB in my opinion as a programmer who uses both i can tell you
that the difference is not so big , in my projects i mix both ( oh god i
love the framework :)
just because in some situations there are examples available in C# that
are
not available in VB.NET or vice versa

Learn C# if you are going or already work for a Boss who thinks that
C++
, JAVA and DELPHI is the real thing , and VB just Childs play .

Learn VB.NET

1. if you want to code in a fraction of the time to accomplish the same
thing
2. if you want to code in a language with the biggest community
3. if you want to code in a language that is easy to learn
4. if you want to code in a language with a huge history ( witch can also
be
explained as a disadvantage , however i see this as a big advantage )

etc etc etc etc

On the real programming side i can name so many things that VB can and C#
can`t , however honestly needs me to say that i can also name things
that
C# can and VB can`t
( however there is always a workaround for these problems for both VB and
C# )


In the end it is just your own feeling with the language as i started
programming Basic from thirteen years of age ( i am now 31 ) so VB will
always be my "home" language however if you are a starting programmer
with
a academic background C# might be more "home" for you .

to be more specific lets take the OO keywords

a.. C# has virtual, VB has Overrideable
b.. C# has static, VB has Shared
c.. C# has abstract, VB has MustInherit
C# uses actual academic OO terms as keywords while VB uses the
"friendly"
normal english definition as keywords

And here comes the frustration :) if you are a starting programmer
without a Academic background , but with good knowledge of the English
language ( before anyone starts to review this story an points me to the
mistakes i might have made , I am not a Native English speaker !! ,
before
you criticize lets have this discussion in Dutch, my native tongue and
see
where you go :)
VB is much easier to learn , once you know VB.Net and see the light (
learn the counterparts of the keywords in C# Vs VB put behind every line
a
; , learning some JavaScript will give you a boost for sure ) and
understand that it is one framework you program to ( so how can one
language me more powerful as the other ?? ) you will see that making the
switch to C# is not such a big step


just my 2 cents ( dollar cents as they are cheaper as they're euro
brothers :)

Happy coding :)

Michel Posseth [MCP]








Brett said:
What is the reason to do a project in C# rather than VB.NET and vice versa?
Please exclude any differences in syntax and C/C++ background. Consider if
you know VB and C/C++, why go one way or the other with the .NET languages?

Basically, the languages appear to be the same. What can't I do in C# that
I can in VB.NET and vice versa...on the project level.

You may find this interesting:
http://www.ftponline.com/vsm/2003_06/magazine/features/salarysurvey/.
Not
sure if it is still valid given the date. Does some one have an updated
version or reference?

Thanks,
Brett
 
C

Cor Ligthert

Michel,

There are a lot of Dutch speaking people active in these dotNet newsgroups.

And before somebody not Dutch or Scandinavian speaking thinks "why not in
Dutch newsgroups?

Because we are used to read most of all our documentation in English and
often have troubles when that is in Dutch.

Cor
 
H

Herfried K. Wagner [MVP]

Robbe Morris said:
For 99.9% of all applications, it is strictly a matter of preference.
I prefer C#. There is a "perception" that C# developers have a
higher skill level. You may find getting a new job easier if
you do most of your development in C#.

I think you have the best chances to get a job if you don't restrict
yourself to one of both programming languages only.
 
H

Herfried K. Wagner [MVP]

Scott M. said:
I think the people that have that perception ARE C# developers. Getting a
job programming in VB .NET could be just as easy if not easier that
programming in C#. It all depends on the "shop" you are interviewing with.

Well put.
 
M

M. Posseth

Well even better

I have everything on my computer installed in English

English Windows , English development IDE etc etc

The English documentation is much better ( so many translation errors in
Dutch documentation ) and also not to be underestimated Service packs for
English versions are much sooner released
 
M

M. Posseth

Well ofcourse it doesn`t , it made me angry ,, that is why i spend so much
lines in my response :) but it does reflect how most C# programmers think
(" they use the reall thing ")
that is why i provided the link ...

regards
Michel Posseth





OHM ( Terry Burns ) said:
The article you provided a link to in my humble opinion does little to help
make the choice, it is more subjective than one would have liked. To add to
this, the author was offesnive to VB programmers without any real source of
the statistics he used to make his claims.

--
OHM ( Terry Burns )

http://TrainingOn.net




M. Posseth said:
This is Cool

I just read an article on the codeproject website

see this :
http://www.codeproject.com/useritems/CSharpVersusVB.asp

And I guess that the thoughts I always had about C++ , JAVA and DELPHI
programmers is really true They are frustrated !!!

They can`t stand it that there is a programming language ( VB ) that is
as
powerful (in the right perception even more powerful ) as they're
language
and that is so easy to learn .

C# VS VB in my opinion as a programmer who uses both i can tell you
that the difference is not so big , in my projects i mix both ( oh god i
love the framework :)
just because in some situations there are examples available in C# that
are
not available in VB.NET or vice versa

Learn C# if you are going or already work for a Boss who thinks that
C++
, JAVA and DELPHI is the real thing , and VB just Childs play .

Learn VB.NET

1. if you want to code in a fraction of the time to accomplish the same
thing
2. if you want to code in a language with the biggest community
3. if you want to code in a language that is easy to learn
4. if you want to code in a language with a huge history ( witch can also
be
explained as a disadvantage , however i see this as a big advantage )

etc etc etc etc

On the real programming side i can name so many things that VB can and C#
can`t , however honestly needs me to say that i can also name things
that
C# can and VB can`t
( however there is always a workaround for these problems for both VB and
C# )


In the end it is just your own feeling with the language as i started
programming Basic from thirteen years of age ( i am now 31 ) so VB will
always be my "home" language however if you are a starting programmer
with
a academic background C# might be more "home" for you .

to be more specific lets take the OO keywords

a.. C# has virtual, VB has Overrideable
b.. C# has static, VB has Shared
c.. C# has abstract, VB has MustInherit
C# uses actual academic OO terms as keywords while VB uses the
"friendly"
normal english definition as keywords

And here comes the frustration :) if you are a starting programmer
without a Academic background , but with good knowledge of the English
language ( before anyone starts to review this story an points me to the
mistakes i might have made , I am not a Native English speaker !! ,
before
you criticize lets have this discussion in Dutch, my native tongue and
see
where you go :)
VB is much easier to learn , once you know VB.Net and see the light (
learn the counterparts of the keywords in C# Vs VB put behind every line
a
; , learning some JavaScript will give you a boost for sure ) and
understand that it is one framework you program to ( so how can one
language me more powerful as the other ?? ) you will see that making the
switch to C# is not such a big step


just my 2 cents ( dollar cents as they are cheaper as they're euro
brothers :)

Happy coding :)

Michel Posseth [MCP]








Brett said:
What is the reason to do a project in C# rather than VB.NET and vice versa?
Please exclude any differences in syntax and C/C++ background.
Consider
if
you know VB and C/C++, why go one way or the other with the .NET languages?

Basically, the languages appear to be the same. What can't I do in C# that
I can in VB.NET and vice versa...on the project level.

You may find this interesting:
http://www.ftponline.com/vsm/2003_06/magazine/features/salarysurvey/.
Not
sure if it is still valid given the date. Does some one have an updated
version or reference?

Thanks,
Brett
 
O

OHM \( Terry Burns \)

In my experience, most .NET developers 'Think' in either C# or VB.NET,
switching between the two usually means you stumble on the syntax. Its a bit
like switching between Spanish and English, if English is your native
language and you speak it most of the time, this is the one you will have
least errors in.

Having said that, after a few days, the syntax seems to slot in of most of
the time, but it can still catch you out sometimes.

One of the things that hacks me off about the use of C# is that because its
case dependent, this causes portability problems if coders use the
sensitivity to discriminate between identifiers which when translated to VB
cause multiple definitions. Like 'text' and 'Text'.

From a translation point of view, I usually code in VB first and then
translate it to C#

--
OHM ( Terry Burns )

http://TrainingOn.net
 
H

Herfried K. Wagner [MVP]

Brett said:
What is the reason to do a project in C# rather than VB.NET and vice
versa? Please exclude any differences in syntax and C/C++ background.
Consider if you know VB and C/C++, why go one way or the other with the
.NET languages?

Basically, the languages appear to be the same. What can't I do in C#
that I can in VB.NET and vice versa...on the project level.


I don't think it's possible to answer the question from a technical
standpoint without analyzing syntax differences of the two programming
languages.
 
O

OHM \( Terry Burns \)

It's an interesting point though that quoting statistics can make an article
seem academically robust. However, quoting stats which have numbers with no
decimal point or that sit on a decimal boundary like 80% are often seen as
suspicious. If the author really wanted to convince people with false stats
he should have used anumber like 77.3% and quoted a fictitious source like
'Barns & Stirrup Marketing PLC'

I take your point regarding the way C# programmers might think, but you say
most, yet this is only one author. In the business I am in, I meet a lot of
developers who sit in the VB.NET and the C# camps, and some in both. Some
things in C# are simply a little slicker than the current encarnation of
VB.NET from a coding point of view even though the final code is MSIL and
conversly, VB.NET is easier to use in other areas. Both C# and VB.NET will
get the Job done one way or another, its mainly a case of choice.

--
OHM ( Terry Burns )

http://TrainingOn.net




M. Posseth said:
Well ofcourse it doesn`t , it made me angry ,, that is why i spend so
much
lines in my response :) but it does reflect how most C# programmers
think
(" they use the reall thing ")
that is why i provided the link ...

regards
Michel Posseth





OHM ( Terry Burns ) said:
The article you provided a link to in my humble opinion does little to help
make the choice, it is more subjective than one would have liked. To add to
this, the author was offesnive to VB programmers without any real source of
the statistics he used to make his claims.

--
OHM ( Terry Burns )

http://TrainingOn.net




M. Posseth said:
This is Cool

I just read an article on the codeproject website

see this :
http://www.codeproject.com/useritems/CSharpVersusVB.asp

And I guess that the thoughts I always had about C++ , JAVA and
DELPHI
programmers is really true They are frustrated !!!

They can`t stand it that there is a programming language ( VB ) that
is
as
powerful (in the right perception even more powerful ) as they're
language
and that is so easy to learn .

C# VS VB in my opinion as a programmer who uses both i can tell
you
that the difference is not so big , in my projects i mix both ( oh god
i
love the framework :)
just because in some situations there are examples available in C# that
are
not available in VB.NET or vice versa

Learn C# if you are going or already work for a Boss who thinks that
C++
, JAVA and DELPHI is the real thing , and VB just Childs play .

Learn VB.NET

1. if you want to code in a fraction of the time to accomplish the same
thing
2. if you want to code in a language with the biggest community
3. if you want to code in a language that is easy to learn
4. if you want to code in a language with a huge history ( witch can also
be
explained as a disadvantage , however i see this as a big advantage )

etc etc etc etc

On the real programming side i can name so many things that VB can and C#
can`t , however honestly needs me to say that i can also name things
that
C# can and VB can`t
( however there is always a workaround for these problems for both VB and
C# )


In the end it is just your own feeling with the language as i started
programming Basic from thirteen years of age ( i am now 31 ) so VB will
always be my "home" language however if you are a starting programmer
with
a academic background C# might be more "home" for you .

to be more specific lets take the OO keywords

a.. C# has virtual, VB has Overrideable
b.. C# has static, VB has Shared
c.. C# has abstract, VB has MustInherit
C# uses actual academic OO terms as keywords while VB uses the
"friendly"
normal english definition as keywords

And here comes the frustration :) if you are a starting programmer
without a Academic background , but with good knowledge of the English
language ( before anyone starts to review this story an points me to
the
mistakes i might have made , I am not a Native English speaker !! ,
before
you criticize lets have this discussion in Dutch, my native tongue
and
see
where you go :)
VB is much easier to learn , once you know VB.Net and see the light (
learn the counterparts of the keywords in C# Vs VB put behind every line
a
; , learning some JavaScript will give you a boost for sure ) and
understand that it is one framework you program to ( so how can one
language me more powerful as the other ?? ) you will see that making
the
switch to C# is not such a big step


just my 2 cents ( dollar cents as they are cheaper as they're euro
brothers :)

Happy coding :)

Michel Posseth [MCP]








What is the reason to do a project in C# rather than VB.NET and vice
versa?
Please exclude any differences in syntax and C/C++ background. Consider
if
you know VB and C/C++, why go one way or the other with the .NET
languages?

Basically, the languages appear to be the same. What can't I do in C#
that
I can in VB.NET and vice versa...on the project level.

You may find this interesting:
http://www.ftponline.com/vsm/2003_06/magazine/features/salarysurvey/.
Not
sure if it is still valid given the date. Does some one have an updated
version or reference?

Thanks,
Brett
 
G

Guest

As I understand it, with VB.net 2005, you will have generics and multiple
inheritance in VB. Are there any other advantages of C++ left to include in
VB.Net other than compiling of standalone programs?

That said, I wonder why M'soft even started C# except for people who just
like the ;
 
B

Brett

M. Posseth said:
This is Cool

I just read an article on the codeproject website

see this :
http://www.codeproject.com/useritems/CSharpVersusVB.asp

And I guess that the thoughts I always had about C++ , JAVA and DELPHI
programmers is really true They are frustrated !!!

They can`t stand it that there is a programming language ( VB ) that is
as
powerful (in the right perception even more powerful ) as they're
language
and that is so easy to learn .

C# VS VB in my opinion as a programmer who uses both i can tell you
that the difference is not so big , in my projects i mix both ( oh god i
love the framework :)

This is interesting and I always wondered about it. Do you have any
examples of how that is done?

Are you just calling DLLs written in one language or the other?

Thanks,
Brett
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top