473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1286
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: mikeg | last post by:
Hi, I'd like to explicitly link to the recommended php.ini file. For a long time, this link worked: http://cvs.php.net/co.php/php4/php.ini-recommended (In fact, if you google for "php ini...
1
by: Google Mike | last post by:
I'm considering a Linux/PHP/PostgreSQL app for sale. What do all feel is the generally recommended installer for Linux?
0
by: Bruno Lienard | last post by:
Look at the recommended books about Python, by the IBM developerWorks site: http://devworks.krcinfo.com/WebForms/ProductList.aspx?Search=Category&id=1400&p=OpenSourceProjects So, a lot of...
13
by: Michele Simionato | last post by:
What is the recommended way of generating HTML from Python? I know of HTMLGen and of few recipes in the Cookbook, but is there something which is more or less standard? Also, are there plans to...
4
by: Dave Kuhlman | last post by:
Is there a recommended version of gcc that I should be using to compile Python? I've compiled Python 2.4 with gcc 3.3.4 on Ubuntu Debian GNU/Linux. However, I notice that gcc 3.5 and gcc 4.0 are...
6
by: Peter Jensen | last post by:
Hi! - Which books are good for at comprehensive introduction and further progress, Im currently using "Thinking in C++ 2nd ED"
9
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for...
62
by: Kelvin Moss | last post by:
Hi all, Which is the recommended style in production code for the following - .... fp = fopen("xyz.txt", "r"); if (fp == NULL) { .... }
13
by: Michael M. | last post by:
In Perl, it was: ## Example: "Abc | def | ghi | jkl" ## -"Abc ghi jkl" ## Take only the text betewwn the 2nd pipe (=cut the text in the 1st pipe). $na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;...
0
by: erway | last post by:
Get control of our own life and time is the skills to be successful.This blog is strongly recommended. Recommended:How to get control of you life and time
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.