468,242 Members | 1,727 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,242 developers. It's quick & easy.

VB for .NET Recommended?

Hi,

I'm considering using VB for .NET development (as opposed to C#). Does
anyone have advice?

Thank You
--
Greg McPherran
www.McPherran.com
Jan 16 '06 #1
22 1138
"Greg" <gm@mcpherran.com> schrieb:
I'm considering using VB for .NET development (as opposed to C#). Does
anyone have advice?


I am wondering what you want to hear from people posting to a VB.NET group.
Personally I use VB.NET and C++(/CLI) when necessary and thus do not need
C#.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 16 '06 #2
I love VB.NET (hence my name). :)

I never use C# and dont need to for anything I do....

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
"Greg" <gm@mcpherran.com> schrieb:
I'm considering using VB for .NET development (as opposed to C#). Does
anyone have advice?


I am wondering what you want to hear from people posting to a VB.NET
group. Personally I use VB.NET and C++(/CLI) when necessary and thus do
not need C#.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 16 '06 #3
It depends on what you are looking for. If you are looking for speedy
development go for VB. If you want slightly more power, spend more time
learning C#. I work with VB and I am pretty happy where I am.

Regards
Cyril Gupta
Jan 16 '06 #4

"Greg" <gm@mcpherran.com> wrote in message
news:E1**********************************@microsof t.com...
I'm considering using VB for .NET development (as opposed to C#). Does
anyone have advice?


Not advice. VB will be faster to develop and cheaper to maintain. YMMV.
Jan 16 '06 #5
Hi,

C# and VB.Net use the same framework. Why do you think that you
have slightly more power with C#?

Ken
------------------
"Cyril Gupta" <no****@mail.com> wrote in message
news:OA*************@TK2MSFTNGP14.phx.gbl...
It depends on what you are looking for. If you are looking for speedy
development go for VB. If you want slightly more power, spend more time
learning C#. I work with VB and I am pretty happy where I am.

Regards
Cyril Gupta

Jan 16 '06 #6
"Greg" <gm@mcpherran.com> wrote in message
news:E1**********************************@microsof t.com...
: Hi,
:
: I'm considering using VB for .NET development (as opposed to C#). Does
: anyone have advice?
:
: Thank You
Both VB and C# are comparable and can do pretty much the same things. The
differences are primarily in the syntax although the two languages bring
different advantages to the table (e.g.: C# supports 'unsafe' code whereas
VB doesn't).
Where do you plan on going with this and what is your background? If you
have no programming experience, you may find the more english like syntax of
VB easier to learn than C#. If you've coded in C/C++ or Java, you'd likely
be more comfortable with C#. It is often alleged that C# programmers are
more likely to demand a higher salary than VB.net programmers. That may be
true (I don't know, personally) and if so, reflects a market bias more than
anything else.
Examples are often given in C# on the web (although ASP.NET seems to have
more examples written in VB). That may be enough to sway you. In any event,
it wouldn't hurt to pick one language as your primary language for .net but
have at least a basic understanding of the other.

Ralf
--
----------------------------------------------------------
* ^~^ ^~^ *
* _ {~ ~} {~ ~} _ *
* /_``>*< >*<''_\ *
* (\--_)++) (++(_--/) *
----------------------------------------------------------
There are no advanced students in Aikido - there are only
competent beginners. There are no advanced techniques -
only the correct application of basic principles.
Jan 16 '06 #7
I think the power of a language goes deeper than what framework it is based
on. How the language is structured also does a lot for it. C# is a fully
object oriented language with advanced features like pointers. That's what
makes it slightly more powerful than VB. Of course you can nearly do in VB
what you can do in C#. But some things, like writing a directX game would be
more efficient done in c# then in VB.

Regards
Cyril Gupta
Jan 16 '06 #8
"_AnonCoward" wrote:
Where do you plan on going with this and what is your background?

My background is C/C++/C# with some pre .NET VB experience. My interest/use
of .NET spans both web and desktop development.

I like to survery the landscape and hear pros and cons as part of my
decision processes. For example if someone could tell me hands down that VB
has a clear advantage for a particular task or area then I consider that
strongly.

The sense I get is that the whole point of .NET is that it is (supposed to
be) language neutral so that if one has a language preference they just use
that as there are no pressing factors. That being the case, and since I find
VB syntax/code format clearer than C-like languages (which I have used for
years) then I switching might be something to consider.

From the responses I've received, I see no pressing reason to switch (and
some potential reasons not to).

Jan 16 '06 #9
Cyril,

All your statements are wrong, except with the DirectX where you can use
unsafe code with C# are all statements wrong. The documentation around
DirectX beside C++ is by the way lousy for Net. For VB.Net there is almost
nothing while there is something for C#.

Using Net program languages is everything done by the CLI wherefore is
created intermediate code in the same way for all the languages.

Although there are some real Net parts which are basically not in C# however
standard alone in VB.Net which can make a VBNet program quicker than a C#
program. But you can import those almost all in C# as well.

Cor
Jan 16 '06 #10
Hello Cor,

Hmm.... I am not contesting the CLI or the framework. I merely believe that
you can use pointers in C#, while in VB.Net you have to make do with
delegates, and that C# supports 100% object oriented features, while VB does
not. Are these statements wrong?

I need to re-study my books then :)

Heh
Cyril
Jan 16 '06 #11
Cyril,

All your statements are wrong,


In the previous message of course

:-))

Cor
Jan 16 '06 #12
> Hello Cor,

Hmm.... I am not contesting the CLI or the framework. I merely believe
that you can use pointers in C#, while in VB.Net you have to make do with
delegates, and that C# supports 100% object oriented features, while VB
does not. Are these statements wrong?

I need to re-study my books then :)

http://msdn.microsoft.com/library/de...legatetype.asp

VBNet supports 100% OOP. However does not do them the same as in the way as
it is done technical in C++. The last is in my opinion more and more a to
time consuming program-language to use for real standard business
applications.

Cor
Jan 16 '06 #13
"Greg" <gm@mcpherran.com> schrieb
Hi,

I'm considering using VB for .NET development (as opposed to C#).
Does anyone have advice?

Read the archives (groups.google.com). It's been discussed 1001 times.

Armin
Jan 16 '06 #14
Hi,

Pointers are only supported by c# in unsafe code blocks.

Ken
------------------
"Cyril Gupta" <no****@mail.com> wrote in message
news:Oc**************@TK2MSFTNGP09.phx.gbl...
Hello Cor,

Hmm.... I am not contesting the CLI or the framework. I merely believe
that you can use pointers in C#, while in VB.Net you have to make do with
delegates, and that C# supports 100% object oriented features, while VB
does not. Are these statements wrong?

I need to re-study my books then :)

Heh
Cyril

Jan 16 '06 #15
"VB Programmer" <do**@emailme.com> schrieb:
I love VB.NET (hence my name). :)

I never use C# and dont need to for anything I do....


My experience with both VB.NET and C# is about 1:1, so I know C# and have
reasons not to recommend its use.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 16 '06 #16
"Cyril Gupta" <no****@mail.com> schrieb:
I think the power of a language goes deeper than what framework it is based
on. How the language is structured also does a lot for it. C# is a fully
object oriented language with advanced features like pointers.
VB.NET is an even more object oriented than C# is (built-in support for late
binding (polymorphism!), declarative interface implementation, ...) and
provides some great features like declarative event handling. For pointers
I prefer C++(/CLI) over C#. No need for C# at all.
That's what makes it slightly more powerful than VB.
This depends on how you define "power". I do not define it as some
nanoseconds faster execution, but instead a more powerful syntax.
what you can do in C#. But some things, like writing a directX game would
be more efficient done in c# then in VB.


Again I'd use C++ for this purpose.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 16 '06 #17
"Cyril Gupta" <no****@mail.com> schrieb:
Hmm.... I am not contesting the CLI or the framework. I merely believe
that you can use pointers in C#, while in VB.Net you have to make do with
delegates, and that C# supports 100% object oriented features, while VB
does not. Are these statements wrong?


The latter statement is wrong. VB.NET is more object oriented than C#. In
/addition/ it supports some non object oriented features which complement
the object oriented features perfectly. It's true that C# provides support
for pointers directly in the language, but there are only rare cases where
this feature is needed and thus I would not base my decision to use C#
instead of VB.NET on this little difference.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 16 '06 #18

"Greg" <gm@mcpherran.com> wrote in message
news:2E**********************************@microsof t.com...
:
: "_AnonCoward" wrote:
:
: > Where do you plan on going with this and what is your background?
:
: My background is C/C++/C# with some pre .NET VB experience. My
: interest/use of .NET spans both web and desktop development.
:
: I like to survery the landscape and hear pros and cons as part of my
: decision processes. For example if someone could tell me hands down that
: VB has a clear advantage for a particular task or area then I consider
: that strongly.
:
: The sense I get is that the whole point of .NET is that it is (supposed to
: be) language neutral so that if one has a language preference they just
: use that as there are no pressing factors. That being the case, and since
: I find VB syntax/code format clearer than C-like languages (which I have
: used for years) then I switching might be something to consider.
:
: From the responses I've received, I see no pressing reason to switch (and
: some potential reasons not to).
Yeah, since you're familiar and comfortable with the C/C++ syntax already,
the move to C# will be very straight forward. Still, here is a URL you may
find useful (Top 10 reasons VB.NET is better than C#):

http://www.vbrad.com/pf.asp?p=source/src_top_10_vb.htm
And of course, there's this for the contrary view (Top 10 reasons C# is
better than VB.NET):

http://www.vbrad.com/source/src_top_10_cs.htm
I find it interesting that the C# listing is less substantial than the VB
list.
Ralf
--
--
----------------------------------------------------------
* ^~^ ^~^ *
* _ {~ ~} {~ ~} _ *
* /_``>*< >*<''_\ *
* (\--_)++) (++(_--/) *
----------------------------------------------------------
There are no advanced students in Aikido - there are only
competent beginners. There are no advanced techniques -
only the correct application of basic principles.
Jan 16 '06 #19
Cyril,

Searching for something else my eye catched this article.

http://support.microsoft.com/default...b;en-us;308470

I thought just what we were talking about.

Cor
Jan 16 '06 #20
Hi Greg,

Most of the .NET learning curve is about its concepts and libraries, being
the language a thin layer on top of all. So, many of us can use both
languages quite fluently. In general, if you have a Java/C/C++ background,
you may feel more comfortable using C# and if you have a VB6 background, you
may like more VB.NET. The capabilities, speed, etc. of both languages are
the same for most projects and the bigger differences are in the IDE
experience with each one.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"Greg" <gm@mcpherran.com> escribió en el mensaje
news:E1**********************************@microsof t.com...
Hi,

I'm considering using VB for .NET development (as opposed to C#). Does
anyone have advice?

Thank You
--
Greg McPherran
www.McPherran.com

Jan 16 '06 #21
Hello Herfried,

Hmm... VB more object oriented that C#? Hmm... That's a new.

I didn't say a thing about preferring C# over VB :)... I am a VB lover as
good if not more than the rest of us. I was just trying to be objective in
my post there...

Cheers!
Cyril
Jan 16 '06 #22
Herfried,

I read some more articles on the topic, and let me tell you. I agree with
you 100%. VB rules all the way. Please treat my earlier post as cancelled :)

Cheers!
Cyril
Jan 16 '06 #23

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by mikeg | last post: by
1 post views Thread by Google Mike | last post: by
reply views Thread by Bruno Lienard | last post: by
13 posts views Thread by Michele Simionato | last post: by
4 posts views Thread by Dave Kuhlman | last post: by
6 posts views Thread by Peter Jensen | last post: by
9 posts views Thread by Tony Lee | last post: by
62 posts views Thread by Kelvin Moss | last post: by
13 posts views Thread by Michael M. | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.