473,387 Members | 1,542 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,387 software developers and data experts.

Choosing a programming language for use in the future...

I currently am programming apps using the vb.net language and haven't
seen to many problems with it, since migrating from vb6. I love the
enviornment, and the ease of use but wonder could my apps be better in
c#? I have studied vb6, vb.net, and c++, and am currently learning
alot about c#, and will be doing quite a few more applications in the
future. Technically i could learn any programming language and stick
with it, but is that one the right one is the question. I will be
buidling quite a lot of custom controls, windows applications, and web
development projects and was wanting to know if anyone else has any
insight on why i should stick with vb.net, and not move to c# and
dedicate all future development in that language. In my mind c# looks
as if it complies to less code, and the apps use less memory, but on
the other hand vb.net code is easier to look at on the eyes, and
navigate around. I know there are many other differences in statemnt
blocks, variable declaration and other dark aspects of it, but im not
aware of them. Any insight on this subject would be great.

Thanks,
Murl
Nov 15 '05 #1
18 1308
mu**@cbsmemphis.com (murl) wrote in news:a11c4534.0401261406.4a527555
@posting.google.com:
enviornment, and the ease of use but wonder could my apps be better in
c#? I have studied vb6, vb.net, and c++, and am currently learning


No. With .net everything is the same. Language is now just a personal
preference.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 15 '05 #2
Murl,

If you are comfortable with VB.NET and find yourself most productive
with it, then I couldn't say that you should go to C#, only because the
benefits that you are going to gain are not much, considering that
everything compiles down to IL code. While the code that IL code that C#
spits out and VB spits out is not the same, it is close enough that you
don't see perf issues (for the most part).

Also, with the return of edit and continue in the next version of
VS.NET, I imagine that a lot of VB'ers will be very, very happy.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"murl" <mu**@cbsmemphis.com> wrote in message
news:a1**************************@posting.google.c om...
I currently am programming apps using the vb.net language and haven't
seen to many problems with it, since migrating from vb6. I love the
enviornment, and the ease of use but wonder could my apps be better in
c#? I have studied vb6, vb.net, and c++, and am currently learning
alot about c#, and will be doing quite a few more applications in the
future. Technically i could learn any programming language and stick
with it, but is that one the right one is the question. I will be
buidling quite a lot of custom controls, windows applications, and web
development projects and was wanting to know if anyone else has any
insight on why i should stick with vb.net, and not move to c# and
dedicate all future development in that language. In my mind c# looks
as if it complies to less code, and the apps use less memory, but on
the other hand vb.net code is easier to look at on the eyes, and
navigate around. I know there are many other differences in statemnt
blocks, variable declaration and other dark aspects of it, but im not
aware of them. Any insight on this subject would be great.

Thanks,
Murl

Nov 15 '05 #3
lear C# !

jc

"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in message
news:Xn*****************@127.0.0.1...
mu**@cbsmemphis.com (murl) wrote in news:a11c4534.0401261406.4a527555
@posting.google.com:
enviornment, and the ease of use but wonder could my apps be better in
c#? I have studied vb6, vb.net, and c++, and am currently learning


No. With .net everything is the same. Language is now just a personal
preference.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 15 '05 #4
Not really. There's one thing why I prefer C#, though I hardly ever use it :
unsafe code.

Try manipulating the bits of a bitmap in VB.Net and you will notice what I
mean. But unless you're interested in graphic stuff like that (and maybe
some advanced math routines), unsafe code doesn't really have that much use.

Yves

"Chad Z. Hower aka Kudzu" <cp**@hower.org> schreef in bericht
news:Xn*****************@127.0.0.1...
mu**@cbsmemphis.com (murl) wrote in news:a11c4534.0401261406.4a527555
@posting.google.com:
enviornment, and the ease of use but wonder could my apps be better in
c#? I have studied vb6, vb.net, and c++, and am currently learning


No. With .net everything is the same. Language is now just a personal
preference.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Nov 15 '05 #5


Excuse me, but I had never wrote code in VB, what you mean with "...edit and continue..."?

Thanx in advantage.
Nov 15 '05 #6
Isn't Edit & Continue already in VS.NET 2002?

Tools...Options...Debugging....Edit & Continue...Allow Me To Edit VB Files
While Debugging
Also, with the return of edit and continue in the next version of
VS.NET, I imagine that a lot of VB'ers will be very, very happy.

Nov 15 '05 #7
Hector,

Edit and Continue was a feature in VB6 (and previous versions, although
I forget which ones) which allowed you to stop code execution at some point,
edit code, and then continue from that point on without stopping the program
and recompiling.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Hector Martinez" <an*******@discussions.microsoft.com> wrote in message
news:FA**********************************@microsof t.com...


Excuse me, but I had never wrote code in VB, what you mean with "...edit and continue..."?
Thanx in advantage.

Nov 15 '05 #8
Scott,
That does not cause the line you change to be dynamically recompiled...
VS.NET 2002 & VS.NET 2003 will force to stop, compile & then rerun your
program.

Edit & Continue is the VB6 feature that when you stop at a break point you
can modify the source, and the modification is immediately reflected in any
statements that you then execute.

Hope this helps
Jay

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Isn't Edit & Continue already in VS.NET 2002?

Tools...Options...Debugging....Edit & Continue...Allow Me To Edit VB Files
While Debugging
Also, with the return of edit and continue in the next version of
VS.NET, I imagine that a lot of VB'ers will be very, very happy.


Nov 15 '05 #9
Hi,

I should use whatever feels most comfortable to me to get the job done.
That's why your boss (or at least most of them) is paying you in the first
place, to get the job done in time.
Unless you are your own, of course. But then again, you still might have
some deadlines to meet.
Don't hesitate to learn C# if you've got the time. IMO the cleanest .NET
language (oops, might be my C/C++ background here).
It was build from scratch to take full advantage of .NET (while looking at
other languages C++, Java, Delphi, ... leaving the bad things out and the
good ones in).
As mentioned by others, assemblies produces by VB.NET will be virtually the
same as those produces by other .NET languages, unless you are doing some
low level language-specific stuff. I suggest putting as much code as
possible within libraries. This way you can always reuse it in the other
..NET languages.

Greetings,

Bram.

"murl" <mu**@cbsmemphis.com> wrote in message
news:a1**************************@posting.google.c om...
I currently am programming apps using the vb.net language and haven't
seen to many problems with it, since migrating from vb6. I love the
enviornment, and the ease of use but wonder could my apps be better in
c#? I have studied vb6, vb.net, and c++, and am currently learning
alot about c#, and will be doing quite a few more applications in the
future. Technically i could learn any programming language and stick
with it, but is that one the right one is the question. I will be
buidling quite a lot of custom controls, windows applications, and web
development projects and was wanting to know if anyone else has any
insight on why i should stick with vb.net, and not move to c# and
dedicate all future development in that language. In my mind c# looks
as if it complies to less code, and the apps use less memory, but on
the other hand vb.net code is easier to look at on the eyes, and
navigate around. I know there are many other differences in statemnt
blocks, variable declaration and other dark aspects of it, but im not
aware of them. Any insight on this subject would be great.

Thanks,
Murl

Nov 15 '05 #10
Ok, thanks Jay.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Scott,
That does not cause the line you change to be dynamically recompiled...
VS.NET 2002 & VS.NET 2003 will force to stop, compile & then rerun your
program.

Edit & Continue is the VB6 feature that when you stop at a break point you
can modify the source, and the modification is immediately reflected in any statements that you then execute.

Hope this helps
Jay

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Isn't Edit & Continue already in VS.NET 2002?

Tools...Options...Debugging....Edit & Continue...Allow Me To Edit VB Files While Debugging
Also, with the return of edit and continue in the next version of
VS.NET, I imagine that a lot of VB'ers will be very, very happy.



Nov 15 '05 #11
piddie <av*********@dine83kdk.net> wrote:
"... so it shouldn't matter, in theory, which one you choose. However,
the theory doesn't work in practice. All .Net languages do compile to
IL, but not to the same IL. The performance and efficiency of the IL
each language generates depends on how well that language's compiler
optimizes the output." --- Visual Studio Magazine.

Apparently this is expected to become more pronounced in the future.


Who expects it to become more pronounced? I'd expect it to become
*less* pronounced, personally.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #12
From what source do you get this:

"... so it shouldn't matter, in theory, which one you choose. However,
the theory doesn't work in practice. All .Net languages do compile to
IL, but not to the same IL. The performance and efficiency of the IL
each language generates depends on how well that language's compiler
optimizes the output." --- Visual Studio Magazine.

Apparently this is expected to become more pronounced in the future.

Nov 15 '05 #13
Recently some spisode of .NET ROCKS! show discussed how they enabled this
feature in the whidbey.

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:ev**************@TK2MSFTNGP09.phx.gbl...
Ok, thanks Jay.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Scott,
That does not cause the line you change to be dynamically recompiled...
VS.NET 2002 & VS.NET 2003 will force to stop, compile & then rerun your
program.

Edit & Continue is the VB6 feature that when you stop at a break point you
can modify the source, and the modification is immediately reflected in

any
statements that you then execute.

Hope this helps
Jay

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Isn't Edit & Continue already in VS.NET 2002?

Tools...Options...Debugging....Edit & Continue...Allow Me To Edit VB

Files While Debugging

> Also, with the return of edit and continue in the next version of > VS.NET, I imagine that a lot of VB'ers will be very, very happy.



Nov 15 '05 #14
On Mon, 26 Jan 2004 23:42:12 +0100, "phoenix" <pa******@skynetWORK.be>
wrote:
Try manipulating the bits of a bitmap in VB.Net and you will notice what I
mean. But unless you're interested in graphic stuff like that (and maybe
some advanced math routines), unsafe code doesn't really have that much use.


You can still get pretty decent performance with safe code if you
access stuff on a scanline basis (which is what you usually do when
doing stuff like that). And no im not talking about Get/SetPixel

- Asbjørn
Nov 15 '05 #15
piddie <av*********@dine83kdk.net> wrote in news:ewjRb.12671$iC6.11066
@newssvr16.news.prodigy.com:
"... so it shouldn't matter, in theory, which one you choose. However,
the theory doesn't work in practice. All .Net languages do compile to
IL, but not to the same IL. The performance and efficiency of the IL


There is a lot of debate over that. And while there are some differnces, in
99% of the cases in the end it wont make any noticable difference because of
other factors.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 15 '05 #16
Cor
Hi Nicholas,

That was the answer, can add nothing.

The discussions had result.

:-))

Cor
Nov 15 '05 #17
Jax
>but on the other hand vb.net code is easier to look at on the eyes, an
navigate around


After you use c# for a little bit it's way easier on the eyes and far easier to navigate the VB. To be honest looking at VB code makes me feel ill


o

Su
End Su

i choose {} anytime, you can see the scope way better

Nov 15 '05 #18
Chad Z. Hower aka Kudzu wrote:
mu**@cbsmemphis.com (murl) wrote in news:a11c4534.0401261406.4a527555
@posting.google.com:
enviornment, and the ease of use but wonder could my apps be better
in c#? I have studied vb6, vb.net, and c++, and am currently learning


No. With .net everything is the same. Language is now just a personal
preference.


It is also an employer / client preference. How much money can you get
*paid* for knowing various languages? If you want more money, follow the
trendy buzzwords.

--
Cheers, www.indiegamedesign.com
Brandon Van Every Seattle, WA

20% of the world is real.
80% is gobbledygook we make up inside our own heads.

Nov 15 '05 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
20
by: James++ | last post by:
Hi all, I have been recently assigned the responsibility to conduct a survey, the aim of which to find the most popular programming language. I know that many of you program only in C#, but will...
42
by: Kevin Spencer | last post by:
Is it just me, or am I really observing a trend away from analysis and probem-solving amongst programmers? Let me be more specific: It seems that every day, in greater numbers, people are coming...
20
by: murl | last post by:
I currently am programming apps using the vb.net language and haven't seen to many problems with it, since migrating from vb6. I love the enviornment, and the ease of use but wonder could my apps...
5
by: KimmoA | last post by:
Does C have a future? I'd like to think so, but nobody seems to agree with me. Of course, I don't use C in my profession, and maybe I wouldn't be using it if I had the pressure to actually produce...
38
by: ifti_crazy | last post by:
I am VB6 programmer and wants to start new programming language but i am unable to deciced. i have read about Python, Ruby and Visual C++. but i want to go through with GUI based programming...
28
by: Rico Secada | last post by:
Hi. First let me start by saying, please don't let this become a flame-thing. Second, I need some advice. I am a 35 year old programmer, who program in C/C++, PHP and Bourne Shell almost...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.