Ask a Question related to ASP.NET General, Design and Development.
-
Eric Wise #1
VB .NET vs C#
Does anyone work for companies that actually implement both VB and C#? I
know that you can do this in theory, I just find it hard to imagine that a
company would split its programming technologies like that.
Of course now with the CLR there doesn't seem to be any performance benefit
to using C# over VB, and VB I think is an "easier" language to pick up. I
actually wonder if the salaries between vb.net and c# will balance out a
little now since the language doesn't mean as much anymore.
I personally am a VB developer moved into asp .net / vb .net. I've been
considering going ahead and learning C# as well. I have only academic
experience with C++, but it is enough that I can read c# examples and
convert them to vb so I don't think this is a big deal for me to pick up the
new language. Just more wondering if I should even bother.
Eric Wise Guest
-
Steve C. Orr, MCSD #2
Re: VB .NET vs C#
If you're on the job hunt, you'll increase your chances of landing a job by
being able to say that you know both languages instead of just one.
Then again there's something to be said for being a specialist. There is
only so much time to learn. You may not want to become a jack of all trades
but master of none.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Eric Wise" <NOewise@pica.army.milSPAM> wrote in message
news:exwW275VDHA.2252@TK2MSFTNGP10.phx.gbl...benefit> Does anyone work for companies that actually implement both VB and C#? I
> know that you can do this in theory, I just find it hard to imagine that a
> company would split its programming technologies like that.
>
> Of course now with the CLR there doesn't seem to be any performancethe> to using C# over VB, and VB I think is an "easier" language to pick up. I
> actually wonder if the salaries between vb.net and c# will balance out a
> little now since the language doesn't mean as much anymore.
>
> I personally am a VB developer moved into asp .net / vb .net. I've been
> considering going ahead and learning C# as well. I have only academic
> experience with C++, but it is enough that I can read c# examples and
> convert them to vb so I don't think this is a big deal for me to pick up> new language. Just more wondering if I should even bother.
>
>
>
>
Steve C. Orr, MCSD Guest
-
Bill Priess #3
Re: VB .NET vs C#
I worked recently at a company that dropped VB.NET in favor of C#. We
dropped VB.NET becuase of the amount of code that VB.NET required to do
some amazingly simple things (which, btw, is something that even MSFT has
acknowledged and on the roadmap, have said they will *fix*). Knowing both
has helped me, but given the choice, I would have never picked up VB at
all...
Just in general, I have found that C# is easier to follow and much more
logical and concise than VB is. Not to mention... XML Documnetation...
Plus, as many of us know... never rely on MSFT to actually stick to a
roadmap for anything. Just because one document says that this *feature*
will be in the next version, don't think that there won't be another one
that denies it. ;)
(Just think back to the release of WinME, you know, the revolutionary OS
that was supposed to be entirely 32-bit based and stable? ;) )
Bill P.
On Thu, 31 Jul 2003 16:05:24 -0400, Eric Wise <NOewise@pica.army.milSPAM>
wrote:
> Does anyone work for companies that actually implement both VB and C#? I
> know that you can do this in theory, I just find it hard to imagine that
> a
> company would split its programming technologies like that.
>
> Of course now with the CLR there doesn't seem to be any performance
> benefit
> to using C# over VB, and VB I think is an "easier" language to pick up.
> I
> actually wonder if the salaries between vb.net and c# will balance out a
> little now since the language doesn't mean as much anymore.
>
> I personally am a VB developer moved into asp .net / vb .net. I've been
> considering going ahead and learning C# as well. I have only academic
> experience with C++, but it is enough that I can read c# examples and
> convert them to vb so I don't think this is a big deal for me to pick up
> the
> new language. Just more wondering if I should even bother.
>
>
>
>
>
--
Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
Bill Priess Guest
-
Steve C. Orr, MCSD #4
Re: VB .NET vs C#
VB.NET is a little more verbose if that's what you mean. But that also
makes the code more readable and self documenting. (Although I'm still glad
VB.NET will be getting the XML documentation feature in the next version.)
Just because the code is a little more verbose doesn't necessarily mean you
have to do more typing. The VS.NET editor is more friendly with VB.NET than
C# and will write much of the code for you.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Bill Priess" <no.spam@nospam.com> wrote in message
news:oprs60xlkfcimqky@localhost...I> I worked recently at a company that dropped VB.NET in favor of C#. We
> dropped VB.NET becuase of the amount of code that VB.NET required to do
> some amazingly simple things (which, btw, is something that even MSFT has
> acknowledged and on the roadmap, have said they will *fix*). Knowing both
> has helped me, but given the choice, I would have never picked up VB at
> all...
>
> Just in general, I have found that C# is easier to follow and much more
> logical and concise than VB is. Not to mention... XML Documnetation...
> Plus, as many of us know... never rely on MSFT to actually stick to a
> roadmap for anything. Just because one document says that this *feature*
> will be in the next version, don't think that there won't be another one
> that denies it. ;)
>
> (Just think back to the release of WinME, you know, the revolutionary OS
> that was supposed to be entirely 32-bit based and stable? ;) )
>
> Bill P.
>
> On Thu, 31 Jul 2003 16:05:24 -0400, Eric Wise <NOewise@pica.army.milSPAM>
> wrote:
>> > Does anyone work for companies that actually implement both VB and C#?>> > know that you can do this in theory, I just find it hard to imagine that
> > a
> > company would split its programming technologies like that.
> >
> > Of course now with the CLR there doesn't seem to be any performance
> > benefit
> > to using C# over VB, and VB I think is an "easier" language to pick up.
> > I
> > actually wonder if the salaries between vb.net and c# will balance out a
> > little now since the language doesn't mean as much anymore.
> >
> > I personally am a VB developer moved into asp .net / vb .net. I've been
> > considering going ahead and learning C# as well. I have only academic
> > experience with C++, but it is enough that I can read c# examples and
> > convert them to vb so I don't think this is a big deal for me to pick up
> > the
> > new language. Just more wondering if I should even bother.
> >
> >
> >
> >
> >
>
>
> --
> Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
Steve C. Orr, MCSD Guest
-
Joao S Cardoso [MVP] #5
Re: VB .NET vs C#
>Now that's efficiency.
And in the end... that is what is important. :)
Efficiency and quality.
C# or VB.NET... I choose vb.net. Coding less and do the same thing? Why not?
:)
I'll have less OverTime on the end of the month :)
Joao Cardoso (MVP dotNET)
================================================== =====
[LusoCoders]- [url]http://groups.yahoo.com/group/lusocoders/[/url]
[PontoNetPT]- [url]http://www.programando.net/regras.aspx[/url]
[email]jjscc@acinet.pt.nosp[/email]am - [url]www.acinet.pt[/url]
================================================== =====
Joao S Cardoso [MVP] Guest
-
John Sparrow #6
Re: VB .NET vs C#
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message news:<e5G1PP6VDHA.2316@TK2MSFTNGP09.phx.gbl>...
I'd be genuinely interested to see some examples of tasks that can be
performed more quickly in VB.
Thanks,
John
PS. Although, of course, it does save you all that time declaring your
variables.... (wry grin)
> With VB.NET you can develop web applications faster than you can with C#.
> Now that's efficiency.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "Mark Heimonen" <markh@adiaim.com> wrote in message
> news:eDcS7K6VDHA.2364@TK2MSFTNGP09.phx.gbl...> is> > Our company has developed mostly in VB.NET, but our latest projects are
> > being written in C#. We have projects that are half VB/half C#.
> > Personally, I'm starting to use C# whenever I can. It just seems more
> > efficient to me.
> >
> > There's a new roadmap available:
> >
> > [url]http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx[/url]
> >
> > It seems like C# is becoming a more "Advanced" language, while vb.net is
> > being targetted towards non-coders. True, the capabilities of both
> > languages are very similar, but I would recommend making the switch if it> by> > at all possible.
> >
> > -Mark
> >
> >
> > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> > news:ubHYuC6VDHA.2040@TK2MSFTNGP10.phx.gbl...> > > If you're on the job hunt, you'll increase your chances of landing a job> trades> > > being able to say that you know both languages instead of just one.
> > > Then again there's something to be said for being a specialist. There is
> > > only so much time to learn. You may not want to become a jack of all> I> > > but master of none.
> > >
> > > --
> > > I hope this helps,
> > > Steve C. Orr, MCSD
> > > [url]http://Steve.Orr.net[/url]
> > >
> > >
> > > "Eric Wise" <NOewise@pica.army.milSPAM> wrote in message
> > > news:exwW275VDHA.2252@TK2MSFTNGP10.phx.gbl...
> > > > Does anyone work for companies that actually implement both VB and C#?> that> > > > know that you can do this in theory, I just find it hard to imagine
> a> benefit> > > > company would split its programming technologies like that.
> > > >
> > > > Of course now with the CLR there doesn't seem to be any performance> up.> > > > to using C# over VB, and VB I think is an "easier" language to pick
> I> a> > > > actually wonder if the salaries between vb.net and c# will balance out> been> > > > little now since the language doesn't mean as much anymore.
> > > >
> > > > I personally am a VB developer moved into asp .net / vb .net. I've> up> > > > considering going ahead and learning C# as well. I have only academic
> > > > experience with C++, but it is enough that I can read c# examples and
> > > > convert them to vb so I don't think this is a big deal for me to pick
>
> the> >> > > > new language. Just more wondering if I should even bother.
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >John Sparrow Guest
-
Kevin Spencer #7
Re: VB .NET vs C#
I can mention 1 task in particular that can be performed much more quickly
in VB.Net: Typing code. Since you don't have to worry about case, you (at
least I) can type your code a heck of a lot faster.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.
"John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
news:1357b958.0308011212.6eeeeb13@posting.google.c om...news:<e5G1PP6VDHA.2316@TK2MSFTNGP09.phx.gbl>...> "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in messageC#.>
> I'd be genuinely interested to see some examples of tasks that can be
> performed more quickly in VB.
>
> Thanks,
>
> John
>
> PS. Although, of course, it does save you all that time declaring your
> variables.... (wry grin)
>> > With VB.NET you can develop web applications faster than you can withare> > Now that's efficiency.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD
> > [url]http://Steve.Orr.net[/url]
> >
> >
> > "Mark Heimonen" <markh@adiaim.com> wrote in message
> > news:eDcS7K6VDHA.2364@TK2MSFTNGP09.phx.gbl...> > > Our company has developed mostly in VB.NET, but our latest projectsis> > > being written in C#. We have projects that are half VB/half C#.
> > > Personally, I'm starting to use C# whenever I can. It just seems more
> > > efficient to me.
> > >
> > > There's a new roadmap available:
> > >
> > > [url]http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx[/url]
> > >
> > > It seems like C# is becoming a more "Advanced" language, while vb.netit> > > being targetted towards non-coders. True, the capabilities of both
> > > languages are very similar, but I would recommend making the switch ifjob> > is> > > at all possible.
> > >
> > > -Mark
> > >
> > >
> > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> > > news:ubHYuC6VDHA.2040@TK2MSFTNGP10.phx.gbl...
> > > > If you're on the job hunt, you'll increase your chances of landing aThere is> > by> > > > being able to say that you know both languages instead of just one.
> > > > Then again there's something to be said for being a specialist.all> > > > only so much time to learn. You may not want to become a jack ofC#?> > trades> > > > but master of none.
> > > >
> > > > --
> > > > I hope this helps,
> > > > Steve C. Orr, MCSD
> > > > [url]http://Steve.Orr.net[/url]
> > > >
> > > >
> > > > "Eric Wise" <NOewise@pica.army.milSPAM> wrote in message
> > > > news:exwW275VDHA.2252@TK2MSFTNGP10.phx.gbl...
> > > > > Does anyone work for companies that actually implement both VB andimagine> > I> > > > > know that you can do this in theory, I just find it hard toperformance> > that
> > a> > > > > company would split its programming technologies like that.
> > > > >
> > > > > Of course now with the CLR there doesn't seem to be anypick> > benefit> > > > > to using C# over VB, and VB I think is an "easier" language toout> > up.
> > I> > > > > actually wonder if the salaries between vb.net and c# will balanceI've> > a> > > > > little now since the language doesn't mean as much anymore.
> > > > >
> > > > > I personally am a VB developer moved into asp .net / vb .net.academic> > been> > > > > considering going ahead and learning C# as well. I have onlyand> > > > > experience with C++, but it is enough that I can read c# examplespick> > > > > convert them to vb so I don't think this is a big deal for me to> > up
> >
> > the> > > > > new language. Just more wondering if I should even bother.
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
Kevin Spencer Guest
-
Steve C. Orr, MCSD #8
Re: VB .NET vs C#
There are so many things that are easier and quicker to do in VB.NET
Here's one: Debugging.
The VS.NET designer catches most VB.NET syntax errors as I'm typing them,
where as you have to wait until compile time and then get them all thrown at
you at once. Then you have to retrace your steps and go back to fix them
all, which could have a domino effect and require you to go back and change
other related things too. What a waste of time!
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
news:1357b958.0308011212.6eeeeb13@posting.google.c om...news:<e5G1PP6VDHA.2316@TK2MSFTNGP09.phx.gbl>...> "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in messageC#.>
> I'd be genuinely interested to see some examples of tasks that can be
> performed more quickly in VB.
>
> Thanks,
>
> John
>
> PS. Although, of course, it does save you all that time declaring your
> variables.... (wry grin)
>> > With VB.NET you can develop web applications faster than you can withare> > Now that's efficiency.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD
> > [url]http://Steve.Orr.net[/url]
> >
> >
> > "Mark Heimonen" <markh@adiaim.com> wrote in message
> > news:eDcS7K6VDHA.2364@TK2MSFTNGP09.phx.gbl...> > > Our company has developed mostly in VB.NET, but our latest projectsis> > > being written in C#. We have projects that are half VB/half C#.
> > > Personally, I'm starting to use C# whenever I can. It just seems more
> > > efficient to me.
> > >
> > > There's a new roadmap available:
> > >
> > > [url]http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx[/url]
> > >
> > > It seems like C# is becoming a more "Advanced" language, while vb.netit> > > being targetted towards non-coders. True, the capabilities of both
> > > languages are very similar, but I would recommend making the switch ifjob> > is> > > at all possible.
> > >
> > > -Mark
> > >
> > >
> > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> > > news:ubHYuC6VDHA.2040@TK2MSFTNGP10.phx.gbl...
> > > > If you're on the job hunt, you'll increase your chances of landing aThere is> > by> > > > being able to say that you know both languages instead of just one.
> > > > Then again there's something to be said for being a specialist.all> > > > only so much time to learn. You may not want to become a jack ofC#?> > trades> > > > but master of none.
> > > >
> > > > --
> > > > I hope this helps,
> > > > Steve C. Orr, MCSD
> > > > [url]http://Steve.Orr.net[/url]
> > > >
> > > >
> > > > "Eric Wise" <NOewise@pica.army.milSPAM> wrote in message
> > > > news:exwW275VDHA.2252@TK2MSFTNGP10.phx.gbl...
> > > > > Does anyone work for companies that actually implement both VB andimagine> > I> > > > > know that you can do this in theory, I just find it hard toperformance> > that
> > a> > > > > company would split its programming technologies like that.
> > > > >
> > > > > Of course now with the CLR there doesn't seem to be anypick> > benefit> > > > > to using C# over VB, and VB I think is an "easier" language toout> > up.
> > I> > > > > actually wonder if the salaries between vb.net and c# will balanceI've> > a> > > > > little now since the language doesn't mean as much anymore.
> > > > >
> > > > > I personally am a VB developer moved into asp .net / vb .net.academic> > been> > > > > considering going ahead and learning C# as well. I have onlyand> > > > > experience with C++, but it is enough that I can read c# examplespick> > > > > convert them to vb so I don't think this is a big deal for me to> > up
> >
> > the> > > > > new language. Just more wondering if I should even bother.
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
Steve C. Orr, MCSD Guest
-
John Sparrow #9
Re: VB .NET vs C#
Steve, have you actually opened up a C# project in VS and tried it??
It's got the same Intellisence features VB has!!
Yes, C# is case sensitive, but again that is all sorted by
intellisence. When you need to type
"LoadPageStateFromPersistenceMedium" just type "lo" (lower case) and
pick it from the list. Sorted.
I even opened up a VB project to see if there was something amazing I
was missing out on. The behaviour is identical!!
John
"Kevin Spencer" <kevin@takempis.com> wrote in message news:<uRsC1BHWDHA.1744@TK2MSFTNGP12.phx.gbl>...> I can mention 1 task in particular that can be performed much more quickly
> in VB.Net: Typing code. Since you don't have to worry about case, you (at
> least I) can type your code a heck of a lot faster.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Complex things are made up of
> lots of simple things.
>
> "John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
> news:1357b958.0308011212.6eeeeb13@posting.google.c om...> news:<e5G1PP6VDHA.2316@TK2MSFTNGP09.phx.gbl>...> > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message> C#.> >
> > I'd be genuinely interested to see some examples of tasks that can be
> > performed more quickly in VB.
> >
> > Thanks,
> >
> > John
> >
> > PS. Although, of course, it does save you all that time declaring your
> > variables.... (wry grin)
> >> > > With VB.NET you can develop web applications faster than you can with> are> > > Now that's efficiency.
> > >
> > > --
> > > I hope this helps,
> > > Steve C. Orr, MCSD
> > > [url]http://Steve.Orr.net[/url]
> > >
> > >
> > > "Mark Heimonen" <markh@adiaim.com> wrote in message
> > > news:eDcS7K6VDHA.2364@TK2MSFTNGP09.phx.gbl...
> > > > Our company has developed mostly in VB.NET, but our latest projects> is> > > > being written in C#. We have projects that are half VB/half C#.
> > > > Personally, I'm starting to use C# whenever I can. It just seems more
> > > > efficient to me.
> > > >
> > > > There's a new roadmap available:
> > > >
> > > > [url]http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx[/url]
> > > >
> > > > It seems like C# is becoming a more "Advanced" language, while vb.net> it> > > > being targetted towards non-coders. True, the capabilities of both
> > > > languages are very similar, but I would recommend making the switch if
> is> job> > > > at all possible.
> > > >
> > > > -Mark
> > > >
> > > >
> > > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> > > > news:ubHYuC6VDHA.2040@TK2MSFTNGP10.phx.gbl...
> > > > > If you're on the job hunt, you'll increase your chances of landing a
> by> There is> > > > > being able to say that you know both languages instead of just one.
> > > > > Then again there's something to be said for being a specialist.> all> > > > > only so much time to learn. You may not want to become a jack of
> trades> C#?> > > > > but master of none.
> > > > >
> > > > > --
> > > > > I hope this helps,
> > > > > Steve C. Orr, MCSD
> > > > > [url]http://Steve.Orr.net[/url]
> > > > >
> > > > >
> > > > > "Eric Wise" <NOewise@pica.army.milSPAM> wrote in message
> > > > > news:exwW275VDHA.2252@TK2MSFTNGP10.phx.gbl...
> > > > > > Does anyone work for companies that actually implement both VB and
> I> imagine> > > > > > know that you can do this in theory, I just find it hard to> performance> > > that
> > > a
> > > > > > company would split its programming technologies like that.
> > > > > >
> > > > > > Of course now with the CLR there doesn't seem to be any
> benefit> pick> > > > > > to using C# over VB, and VB I think is an "easier" language to> out> > > up.
> > > I
> > > > > > actually wonder if the salaries between vb.net and c# will balance
> a> I've> > > > > > little now since the language doesn't mean as much anymore.
> > > > > >
> > > > > > I personally am a VB developer moved into asp .net / vb .net.
> been> academic> > > > > > considering going ahead and learning C# as well. I have only> and> > > > > > experience with C++, but it is enough that I can read c# examples> pick> > > > > > convert them to vb so I don't think this is a big deal for me to> > > up
> > >
> > > the
> > > > > > new language. Just more wondering if I should even bother.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >John Sparrow Guest
-
Bill Priess #10
Re: VB .NET vs C#
Ahh, but there is one of the great things about C-based languages... case-
sensitivity allows for mixed case variables... _someVariable and
_SomeVariable are two distinct entities.
As for VB/Boolean/Intellisense... C'mon.. have we gotten so bad that we can
not type 4 or 5 characters? ;) (had to lighten this up...)
Bill P.
On Mon, 4 Aug 2003 08:41:13 -0400, msnews.microsoft.com
<cdglasser@hotmail.com> wrote:
> Actually, C#'s intellisense, in my experience, is not quite as good as
> VB's.
> Three examples come to mind:
>
> 1) In VB, if I define a boolean variable and later in the prcoedure go to
> assign a value to it, VB gives me a list of True or False after I type
> the
> assignment operator - C# doesn't do this.
>
> 2) If I define an Enum type and declare a variable of that type, when I
> go
> to assign a value to that variable in VB, I get a dropdown list of valid
> values for that type. I don't get this in C#.
>
> 3) And then there's the case-seinsitivity thing. In VB, I can declare a
> variable, say _someVariable, and later on I can just type the whole thing
> in
> lower case and VB knows what variable I mean and it will automatically
> correct the case to match the way I declared it and provide any
> applicable
> intellisense. In C#, if I don't type it the same way it was declared, I
> don't get any intellisense dropdown because C# considers it a different
> variable.
>
> Chris G.
>
> "John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
> news:1357b958.0308020245.103949ac@posting.google.c om...> news:<uRsC1BHWDHA.1744@TK2MSFTNGP12.phx.gbl>...>> Steve, have you actually opened up a C# project in VS and tried it??
>> It's got the same Intellisence features VB has!!
>>
>> Yes, C# is case sensitive, but again that is all sorted by
>> intellisence. When you need to type
>> "LoadPageStateFromPersistenceMedium" just type "lo" (lower case) and
>> pick it from the list. Sorted.
>>
>> I even opened up a VB project to see if there was something amazing I
>> was missing out on. The behaviour is identical!!
>>
>> John
>>
>> "Kevin Spencer" <kevin@takempis.com> wrote in message> quickly>> > I can mention 1 task in particular that can be performed much more> (at>> > in VB.Net: Typing code. Since you don't have to worry about case, you> with>> be>> > least I) can type your code a heck of a lot faster.
>> >
>> > -- > HTH,
>> >
>> > Kevin Spencer
>> > Microsoft MVP
>> > .Net Developer
>> > [url]http://www.takempis.com[/url]
>> > Complex things are made up of
>> > lots of simple things.
>> >
>> > "John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
>> > news:1357b958.0308011212.6eeeeb13@posting.google.c om...
>> > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
>> > news:<e5G1PP6VDHA.2316@TK2MSFTNGP09.phx.gbl>...
>> > >
>> > > I'd be genuinely interested to see some examples of tasks that can>> your>> > > performed more quickly in VB.
>> > >
>> > > Thanks,
>> > >
>> > > John
>> > >
>> > > PS. Although, of course, it does save you all that time declaring>> > > variables.... (wry grin)
>> > >
>> > > > With VB.NET you can develop web applications faster than you can> projects>> > C#.
>> > > > Now that's efficiency.
>> > > >
>> > > > -- > > > I hope this helps,
>> > > > Steve C. Orr, MCSD
>> > > > [url]http://Steve.Orr.net[/url]
>> > > >
>> > > >
>> > > > "Mark Heimonen" <markh@adiaim.com> wrote in message
>> > > > news:eDcS7K6VDHA.2364@TK2MSFTNGP09.phx.gbl...
>> > > > > Our company has developed mostly in VB.NET, but our latest> more>> seems>> > are
>> > > > > being written in C#. We have projects that are half VB/half C#.
>> > > > > Personally, I'm starting to use C# whenever I can. It just> vb.net>> > > > > efficient to me.
>> > > > >
>> > > > > There's a new roadmap available:
>> > > > >
>> > > > > [url]http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx[/url]
>> > > > >
>> > > > > It seems like C# is becoming a more "Advanced" language, while> both>> > is
>> > > > > being targetted towards non-coders. True, the capabilities of> switch if>> > > > > languages are very similar, but I would recommend making the> landing a>> > it
>> > is
>> > > > > at all possible.
>> > > > >
>> > > > > -Mark
>> > > > >
>> > > > >
>> > > > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
>> > > > > news:ubHYuC6VDHA.2040@TK2MSFTNGP10.phx.gbl...
>> > > > > > If you're on the job hunt, you'll increase your chances of> one.>> > job
>> > by
>> > > > > > being able to say that you know both languages instead of just> of>> specialist.>> > > > > > Then again there's something to be said for being a>> > There is
>> > > > > > only so much time to learn. You may not want to become a jack> and>> VB>> > all
>> > trades
>> > > > > > but master of none.
>> > > > > >
>> > > > > > -- > > > > > I hope this helps,
>> > > > > > Steve C. Orr, MCSD
>> > > > > > [url]http://Steve.Orr.net[/url]
>> > > > > >
>> > > > > >
>> > > > > > "Eric Wise" <NOewise@pica.army.milSPAM> wrote in message
>> > > > > > news:exwW275VDHA.2252@TK2MSFTNGP10.phx.gbl...
>> > > > > > > Does anyone work for companies that actually implement both> balance>> to>> > C#?
>> > I
>> > > > > > > know that you can do this in theory, I just find it hard to
>> > imagine
>> > > > that
>> > > > a
>> > > > > > > company would split its programming technologies like that.
>> > > > > > >
>> > > > > > > Of course now with the CLR there doesn't seem to be any
>> > performance
>> > benefit
>> > > > > > > to using C# over VB, and VB I think is an "easier" language>> > pick
>> > > > up.
>> > > > I
>> > > > > > > actually wonder if the salaries between vb.net and c# will> examples>> .net.>> > out
>> > a
>> > > > > > > little now since the language doesn't mean as much anymore.
>> > > > > > >
>> > > > > > > I personally am a VB developer moved into asp .net / vb>> only>> > I've
>> > been
>> > > > > > > considering going ahead and learning C# as well. I have>> > academic
>> > > > > > > experience with C++, but it is enough that I can read c#> to>> me>> > and
>> > > > > > > convert them to vb so I don't think this is a big deal for>>> > pick
>> > > > up
>> > > >
>> > > > the
>> > > > > > > new language. Just more wondering if I should even bother.
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>
>
--
Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
Bill Priess Guest
-
Steve C. Orr, MCSD #11
Re: VB .NET vs C#
So you consider it to be a good thing that _someVariable and _SomeVariable
are two different variables? To me it sounds like a great way to introduce
bugs and typos. It's hard enough to remember the exact names of all the
variables in a large, complex app, but having to remember the case of every
letter in every variable is a bit more than I'd care to deal with. Instead
I'd like to spend my time and energy programming the logic of my
application.
The VB/Boolean/Intellisense thing he mentioned is just one of many such
examples. Multiply that by the number of times you'll run across stuff like
this during the development of a large, complex app and it turns into
something quite significant.
Perhaps your employer has so much money to spare that they don't mind paying
you to chase down issues like these all day long.
;)
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Bill Priess" <no.spam@nospam.com> wrote in message
news:oprteja1ujcimqky@localhost...can> Ahh, but there is one of the great things about C-based languages... case-
> sensitivity allows for mixed case variables... _someVariable and
> _SomeVariable are two distinct entities.
>
> As for VB/Boolean/Intellisense... C'mon.. have we gotten so bad that weto> not type 4 or 5 characters? ;) (had to lighten this up...)
>
>
> Bill P.
>
>
>
> On Mon, 4 Aug 2003 08:41:13 -0400, msnews.microsoft.com
> <cdglasser@hotmail.com> wrote:
>> > Actually, C#'s intellisense, in my experience, is not quite as good as
> > VB's.
> > Three examples come to mind:
> >
> > 1) In VB, if I define a boolean variable and later in the prcoedure gothing> > assign a value to it, VB gives me a list of True or False after I type
> > the
> > assignment operator - C# doesn't do this.
> >
> > 2) If I define an Enum type and declare a variable of that type, when I
> > go
> > to assign a value to that variable in VB, I get a dropdown list of valid
> > values for that type. I don't get this in C#.
> >
> > 3) And then there's the case-seinsitivity thing. In VB, I can declare a
> > variable, say _someVariable, and later on I can just type the wholeC#.> > in
> > lower case and VB knows what variable I mean and it will automatically
> > correct the case to match the way I declared it and provide any
> > applicable
> > intellisense. In C#, if I don't type it the same way it was declared, I
> > don't get any intellisense dropdown because C# considers it a different
> > variable.
> >
> > Chris G.
> >
> > "John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
> > news:1357b958.0308020245.103949ac@posting.google.c om...> > news:<uRsC1BHWDHA.1744@TK2MSFTNGP12.phx.gbl>...> >> Steve, have you actually opened up a C# project in VS and tried it??
> >> It's got the same Intellisence features VB has!!
> >>
> >> Yes, C# is case sensitive, but again that is all sorted by
> >> intellisence. When you need to type
> >> "LoadPageStateFromPersistenceMedium" just type "lo" (lower case) and
> >> pick it from the list. Sorted.
> >>
> >> I even opened up a VB project to see if there was something amazing I
> >> was missing out on. The behaviour is identical!!
> >>
> >> John
> >>
> >> "Kevin Spencer" <kevin@takempis.com> wrote in message> > quickly> >> > I can mention 1 task in particular that can be performed much more> > (at> >> > in VB.Net: Typing code. Since you don't have to worry about case, you> > with> >> > least I) can type your code a heck of a lot faster.
> >> >
> >> > -- > HTH,
> >> >
> >> > Kevin Spencer
> >> > Microsoft MVP
> >> > .Net Developer
> >> > [url]http://www.takempis.com[/url]
> >> > Complex things are made up of
> >> > lots of simple things.
> >> >
> >> > "John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
> >> > news:1357b958.0308011212.6eeeeb13@posting.google.c om...
> >> > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> >> > news:<e5G1PP6VDHA.2316@TK2MSFTNGP09.phx.gbl>...
> >> > >
> >> > > I'd be genuinely interested to see some examples of tasks that can
> >> be
> >> > > performed more quickly in VB.
> >> > >
> >> > > Thanks,
> >> > >
> >> > > John
> >> > >
> >> > > PS. Although, of course, it does save you all that time declaring
> >> your
> >> > > variables.... (wry grin)
> >> > >
> >> > > > With VB.NET you can develop web applications faster than you can> > projects> >> > C#.
> >> > > > Now that's efficiency.
> >> > > >
> >> > > > -- > > > I hope this helps,
> >> > > > Steve C. Orr, MCSD
> >> > > > [url]http://Steve.Orr.net[/url]
> >> > > >
> >> > > >
> >> > > > "Mark Heimonen" <markh@adiaim.com> wrote in message
> >> > > > news:eDcS7K6VDHA.2364@TK2MSFTNGP09.phx.gbl...
> >> > > > > Our company has developed mostly in VB.NET, but our latest> >> > are
> >> > > > > being written in C#. We have projects that are half VB/halfjust> > more> >> > > > > Personally, I'm starting to use C# whenever I can. It just
> >> seems> > vb.net> >> > > > > efficient to me.
> >> > > > >
> >> > > > > There's a new roadmap available:
> >> > > > >
> >> > > > > [url]http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx[/url]
> >> > > > >
> >> > > > > It seems like C# is becoming a more "Advanced" language, while> > both> >> > is
> >> > > > > being targetted towards non-coders. True, the capabilities of> > switch if> >> > > > > languages are very similar, but I would recommend making the> > landing a> >> > it
> >> > is
> >> > > > > at all possible.
> >> > > > >
> >> > > > > -Mark
> >> > > > >
> >> > > > >
> >> > > > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> >> > > > > news:ubHYuC6VDHA.2040@TK2MSFTNGP10.phx.gbl...
> >> > > > > > If you're on the job hunt, you'll increase your chances of> >> > job
> >> > by
> >> > > > > > being able to say that you know both languages instead ofjack> > one.> >> > > > > > Then again there's something to be said for being a
> >> specialist.
> >> > There is
> >> > > > > > only so much time to learn. You may not want to become a>> > of> > and> >> > all
> >> > trades
> >> > > > > > but master of none.
> >> > > > > >
> >> > > > > > -- > > > > > I hope this helps,
> >> > > > > > Steve C. Orr, MCSD
> >> > > > > > [url]http://Steve.Orr.net[/url]
> >> > > > > >
> >> > > > > >
> >> > > > > > "Eric Wise" <NOewise@pica.army.milSPAM> wrote in message
> >> > > > > > news:exwW275VDHA.2252@TK2MSFTNGP10.phx.gbl...
> >> > > > > > > Does anyone work for companies that actually implement both
> >> VB> > balance> >> > C#?
> >> > I
> >> > > > > > > know that you can do this in theory, I just find it hard to
> >> > imagine
> >> > > > that
> >> > > > a
> >> > > > > > > company would split its programming technologies like that.
> >> > > > > > >
> >> > > > > > > Of course now with the CLR there doesn't seem to be any
> >> > performance
> >> > benefit
> >> > > > > > > to using C# over VB, and VB I think is an "easier" language
> >> to
> >> > pick
> >> > > > up.
> >> > > > I
> >> > > > > > > actually wonder if the salaries between vb.net and c# will> > examples> >> > out
> >> > a
> >> > > > > > > little now since the language doesn't mean as much anymore.
> >> > > > > > >
> >> > > > > > > I personally am a VB developer moved into asp .net / vb
> >> .net.
> >> > I've
> >> > been
> >> > > > > > > considering going ahead and learning C# as well. I have
> >> only
> >> > academic
> >> > > > > > > experience with C++, but it is enough that I can read c#> > to> >> > and
> >> > > > > > > convert them to vb so I don't think this is a big deal for
> >> me> >> >> > pick
> >> > > > up
> >> > > >
> >> > > > the
> >> > > > > > > new language. Just more wondering if I should even bother.
> >> > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >
> >
>
>
> --
> Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
Steve C. Orr, MCSD Guest
-
Jerry III #12
Re: VB .NET vs C#
Actually allowing the programmer to use different casing for the same
variable intriduces bugs. If you mistype your variables in C# (or C/C++ for
that matter) your code will not compile. You have to use exactly the same
name all over your code, not like in VB where you can have four different
casings pointing to the same variable. C just requires more discipline.
Jerry
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:eUsCWxtWDHA.608@TK2MSFTNGP12.phx.gbl..._SomeVariable> So you consider it to be a good thing that _someVariable andintroduce> are two different variables? To me it sounds like a great way toevery> bugs and typos. It's hard enough to remember the exact names of all the
> variables in a large, complex app, but having to remember the case ofInstead> letter in every variable is a bit more than I'd care to deal with.like> I'd like to spend my time and energy programming the logic of my
> application.
>
> The VB/Boolean/Intellisense thing he mentioned is just one of many such
> examples. Multiply that by the number of times you'll run across stuffpaying> this during the development of a large, complex app and it turns into
> something quite significant.
>
> Perhaps your employer has so much money to spare that they don't mindcase-> you to chase down issues like these all day long.
> ;)
>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "Bill Priess" <no.spam@nospam.com> wrote in message
> news:oprteja1ujcimqky@localhost...> > Ahh, but there is one of the great things about C-based languages...I> can> > sensitivity allows for mixed case variables... _someVariable and
> > _SomeVariable are two distinct entities.
> >
> > As for VB/Boolean/Intellisense... C'mon.. have we gotten so bad that we> to> > not type 4 or 5 characters? ;) (had to lighten this up...)
> >
> >
> > Bill P.
> >
> >
> >
> > On Mon, 4 Aug 2003 08:41:13 -0400, msnews.microsoft.com
> > <cdglasser@hotmail.com> wrote:
> >> > > Actually, C#'s intellisense, in my experience, is not quite as good as
> > > VB's.
> > > Three examples come to mind:
> > >
> > > 1) In VB, if I define a boolean variable and later in the prcoedure go> > > assign a value to it, VB gives me a list of True or False after I type
> > > the
> > > assignment operator - C# doesn't do this.
> > >
> > > 2) If I define an Enum type and declare a variable of that type, whenvalid> > > go
> > > to assign a value to that variable in VB, I get a dropdown list ofa> > > values for that type. I don't get this in C#.
> > >
> > > 3) And then there's the case-seinsitivity thing. In VB, I can declareI> thing> > > variable, say _someVariable, and later on I can just type the whole> > > in
> > > lower case and VB knows what variable I mean and it will automatically
> > > correct the case to match the way I declared it and provide any
> > > applicable
> > > intellisense. In C#, if I don't type it the same way it was declared,different> > > don't get any intellisense dropdown because C# considers it ayou> > > variable.
> > >
> > > Chris G.
> > >
> > > "John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
> > > news:1357b958.0308020245.103949ac@posting.google.c om...
> > >> Steve, have you actually opened up a C# project in VS and tried it??
> > >> It's got the same Intellisence features VB has!!
> > >>
> > >> Yes, C# is case sensitive, but again that is all sorted by
> > >> intellisence. When you need to type
> > >> "LoadPageStateFromPersistenceMedium" just type "lo" (lower case) and
> > >> pick it from the list. Sorted.
> > >>
> > >> I even opened up a VB project to see if there was something amazing I
> > >> was missing out on. The behaviour is identical!!
> > >>
> > >> John
> > >>
> > >> "Kevin Spencer" <kevin@takempis.com> wrote in message
> > > news:<uRsC1BHWDHA.1744@TK2MSFTNGP12.phx.gbl>...
> > >> > I can mention 1 task in particular that can be performed much more
> > > quickly
> > >> > in VB.Net: Typing code. Since you don't have to worry about case,can> > > (at
> > >> > least I) can type your code a heck of a lot faster.
> > >> >
> > >> > -- > HTH,
> > >> >
> > >> > Kevin Spencer
> > >> > Microsoft MVP
> > >> > .Net Developer
> > >> > [url]http://www.takempis.com[/url]
> > >> > Complex things are made up of
> > >> > lots of simple things.
> > >> >
> > >> > "John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
> > >> > news:1357b958.0308011212.6eeeeb13@posting.google.c om...
> > >> > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> > >> > news:<e5G1PP6VDHA.2316@TK2MSFTNGP09.phx.gbl>...
> > >> > >
> > >> > > I'd be genuinely interested to see some examples of tasks thatcan> > >> be
> > >> > > performed more quickly in VB.
> > >> > >
> > >> > > Thanks,
> > >> > >
> > >> > > John
> > >> > >
> > >> > > PS. Although, of course, it does save you all that time declaring
> > >> your
> > >> > > variables.... (wry grin)
> > >> > >
> > >> > > > With VB.NET you can develop web applications faster than youwhile> C#.> > > with
> > >> > C#.
> > >> > > > Now that's efficiency.
> > >> > > >
> > >> > > > -- > > > I hope this helps,
> > >> > > > Steve C. Orr, MCSD
> > >> > > > [url]http://Steve.Orr.net[/url]
> > >> > > >
> > >> > > >
> > >> > > > "Mark Heimonen" <markh@adiaim.com> wrote in message
> > >> > > > news:eDcS7K6VDHA.2364@TK2MSFTNGP09.phx.gbl...
> > >> > > > > Our company has developed mostly in VB.NET, but our latest
> > > projects
> > >> > are
> > >> > > > > being written in C#. We have projects that are half VB/half> > >> > > > > Personally, I'm starting to use C# whenever I can. It just
> > >> seems
> > > more
> > >> > > > > efficient to me.
> > >> > > > >
> > >> > > > > There's a new roadmap available:
> > >> > > > >
> > >> > > > > [url]http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx[/url]
> > >> > > > >
> > >> > > > > It seems like C# is becoming a more "Advanced" language,of> > > vb.net
> > >> > is
> > >> > > > > being targetted towards non-coders. True, the capabilitiesboth> just> > > both
> > >> > > > > languages are very similar, but I would recommend making the
> > > switch if
> > >> > it
> > >> > is
> > >> > > > > at all possible.
> > >> > > > >
> > >> > > > > -Mark
> > >> > > > >
> > >> > > > >
> > >> > > > > "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> > >> > > > > news:ubHYuC6VDHA.2040@TK2MSFTNGP10.phx.gbl...
> > >> > > > > > If you're on the job hunt, you'll increase your chances of
> > > landing a
> > >> > job
> > >> > by
> > >> > > > > > being able to say that you know both languages instead of> jack> > > one.
> > >> > > > > > Then again there's something to be said for being a
> > >> specialist.
> > >> > There is
> > >> > > > > > only so much time to learn. You may not want to become a> > > of
> > >> > all
> > >> > trades
> > >> > > > > > but master of none.
> > >> > > > > >
> > >> > > > > > -- > > > > > I hope this helps,
> > >> > > > > > Steve C. Orr, MCSD
> > >> > > > > > [url]http://Steve.Orr.net[/url]
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > "Eric Wise" <NOewise@pica.army.milSPAM> wrote in message
> > >> > > > > > news:exwW275VDHA.2252@TK2MSFTNGP10.phx.gbl...
> > >> > > > > > > Does anyone work for companies that actually implementto> > >> VB
> > > and
> > >> > C#?
> > >> > I
> > >> > > > > > > know that you can do this in theory, I just find it hardthat.> > >> > imagine
> > >> > > > that
> > >> > > > a
> > >> > > > > > > company would split its programming technologies likelanguage> > >> > > > > > >
> > >> > > > > > > Of course now with the CLR there doesn't seem to be any
> > >> > performance
> > >> > benefit
> > >> > > > > > > to using C# over VB, and VB I think is an "easier"will> > >> to
> > >> > pick
> > >> > > > up.
> > >> > > > I
> > >> > > > > > > actually wonder if the salaries between vb.net and c#anymore.> > > balance
> > >> > out
> > >> > a
> > >> > > > > > > little now since the language doesn't mean as muchfor> > >> > > > > > >
> > >> > > > > > > I personally am a VB developer moved into asp .net / vb
> > >> .net.
> > >> > I've
> > >> > been
> > >> > > > > > > considering going ahead and learning C# as well. I have
> > >> only
> > >> > academic
> > >> > > > > > > experience with C++, but it is enough that I can read c#
> > > examples
> > >> > and
> > >> > > > > > > convert them to vb so I don't think this is a big dealbother.> > >> me
> > > to
> > >> > pick
> > >> > > > up
> > >> > > >
> > >> > > > the
> > >> > > > > > > new language. Just more wondering if I should even>> >> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > > >
> > >
> > >
> > >
> >
> >
> > --
> > Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
>
Jerry III Guest
-
John Sparrow #13
Re: VB .NET vs C#
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message news:<eUsCWxtWDHA.608@TK2MSFTNGP12.phx.gbl>...
It's common practice in some environments to use all-lower-case for> So you consider it to be a good thing that _someVariable and _SomeVariable
> are two different variables? To me it sounds like a great way to introduce
> bugs and typos. It's hard enough to remember the exact names of all the
fields, and capitalisation for Properties. A clear distinction I've
never had any problems with (ie 'color' is the field and 'Color' is
the property).
And all sorted by intellisense too.
And the many other examples? like the debugging example - where VB> The VB/Boolean/Intellisense thing he mentioned is just one of many such
> examples. Multiply that by the number of times you'll run across stuff like
> this during the development of a large, complex app and it turns into
> something quite significant.
proved less effective at detecting type incompatibility? (see my
previous post)
I want to stress here once again that I'm not rubbishing VB - rather I
am defending C# against ill informed critisism - specifically of
offering lower productivity.
It can't be sunstantiated - and if necessary I'll do a keystroke
analysis of two identically functioning programs (VB v C#) to prove
it!
I'd be prepared to bet the C# version involved less typing, as well
(of course)as offering improved compile time type checking.
John
John Sparrow Guest
-
John Kraft #14
Re: VB .NET vs C#
Jerry III wrote:
Perfect example of what's wrong with the world today. Let's not have> Actually allowing the programmer to use different casing for the same
> variable intriduces bugs. If you mistype your variables in C# (or C/C++ for
> that matter) your code will not compile. You have to use exactly the same
> name all over your code, not like in VB where you can have four different
> casings pointing to the same variable. C just requires more discipline.
the discipline to do things correctly... lets just do whatever we feel
like and expect someone else will come along and clean it up for us.
John
John Kraft Guest
-
Steve C. Orr, MCSD #15
Re: VB .NET vs C#
It's not "incorrect" to mix case in VB.NET so your point is moot.
Furthermore, we're not expecting "somebody else" to clean up after us.
We're expecting the computer (VS.NET specifically) to assist us with minor
details that are unimportant to the logic of the program. Computers exist
to do things for us. If you don't like that then I don't see why you use
computers at all. All day long I write programs that do things for other
people. Microsoft programmers put a lot of effort into creating VS.NET so
it would do things like this for us and make our jobs easier. Are you
suggesting we throw away their efforts and do things manually? That seems
like a waste of time and money.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"John Kraft" <jhkraft@ilstu.edu> wrote in message
news:bgrlo2$c7r$1@malachite.ilstu.edu...for> Jerry III wrote:
>> > Actually allowing the programmer to use different casing for the same
> > variable intriduces bugs. If you mistype your variables in C# (or C/C++same> > that matter) your code will not compile. You have to use exactly thedifferent> > name all over your code, not like in VB where you can have four>> > casings pointing to the same variable. C just requires more discipline.
> Perfect example of what's wrong with the world today. Let's not have
> the discipline to do things correctly... lets just do whatever we feel
> like and expect someone else will come along and clean it up for us.
>
> John
>
Steve C. Orr, MCSD Guest
-
Jerry III #16
Re: VB .NET vs C#
All I'm saying is that if you don't work completely alone you need to write
readable code. And using different capitalization for the same variable
really lowers the ability of somebody else than you to read and understand
the code. MaxIndex and MAXINDEX might be the same from the VB compiler point
of view but it's fairly difficult to get that for a human. If you think it's
not important for your code to be easy to understand - fine (if it was
difficult to write it should be difficult to read), but most of us work with
others and can't afford to waste time trying to match different identifiers
together. And it gets even worse with non-english languages (Java for
example allows for localized variable names, I'm not sure about VB). There's
a reason why vast majority of programming languages (and computer
technologies in general) do distinguish between different casings...
Jerry
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:OtK7FFGXDHA.736@TK2MSFTNGP09.phx.gbl...> It's not "incorrect" to mix case in VB.NET so your point is moot.
> Furthermore, we're not expecting "somebody else" to clean up after us.
> We're expecting the computer (VS.NET specifically) to assist us with minor
> details that are unimportant to the logic of the program. Computers exist
> to do things for us. If you don't like that then I don't see why you use
> computers at all. All day long I write programs that do things for other
> people. Microsoft programmers put a lot of effort into creating VS.NET so
> it would do things like this for us and make our jobs easier. Are you
> suggesting we throw away their efforts and do things manually? That seems
> like a waste of time and money.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
Jerry III Guest
-
John Sparrow #17
Re: VB .NET vs C#
This may be true to *you* as a VB programmer, but programmers familiar
with C# find the code easy to read.
In the same way, I find reading VB similar to wading through treacle.
But I'm sure it makes perfect sense to you.
The agument that "I can't read C#, therefore C# is difficult to read."
is like saying "I can't speak French, therefore French is difficult to
speak."
Subjectively true, objectively facile.
Still waiting to here about the productivity comparison. Should I do
the keystroke analysis??? grin.
John
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message news:<uZlO2vKXDHA.1640@TK2MSFTNGP10.phx.gbl>...> As discussed already, VS.NET automatically adjusts the case of your VB.NET
> variables so that they all match. Therefore your point is again moot.
> Also, because VB.NET uses real words it is far more readable than C#. Even
> many C# programmers would likely agree with that. C#'s syntax strength is
> it's brevity, not readability.John Sparrow Guest
-
John Kraft #18
Re: VB .NET vs C#
Steve C. Orr, MCSD wrote:
That's like saying that Spanish is more readable than Japanese. To> As discussed already, VS.NET automatically adjusts the case of your VB.NET
> variables so that they all match. Therefore your point is again moot.
> Also, because VB.NET uses real words it is far more readable than C#. Even
> many C# programmers would likely agree with that. C#'s syntax strength is
> it's brevity, not readability.
>
whom? I think a Japanese/Chinese person would disagree with you. That
is all a matter of perspective.
My first language I ever learned was C. Therefore, to me, C derived
languages are much easier to read. VB is easier to read for people who
are not programmers or who have only programmed in VB like languages.
Once again, we should base our comparison of the languages on the
languages themselves. After all, a language is nothing more than a
collection of symbol and a syntax to put those symbols together to
communicate something.
Additionally, "better" is a suggestive term. Maybe the discussion
should focus on which is "more powerful", "easier to learn", etc. I
personally tend to judge a language mostly on what a language can do,
with only a little bit given to ease of use. This is why I think C++ is
the best language ever made. But, that's a personal preference.
I personally prefer the c# language because I am more familier with the
syntax and there are, according to books I've read, some things you can
do in c# that cannot be done in VB. I am however forced to use VB in my
occupational position and have learned the syntax well enough that I am
mostly comfortable with it, even if I don't like it.
John
John Kraft Guest
-
Steve C. Orr, MCSD #19
Re: VB .NET vs C#
No, I'm saying that I can read the english language, therefore VB.NET is
easy to read.
VB.NET uses real words, that makes it READABLE.
Of course anyone can read C# with enough training, but it takes a good deal
more training because it has much less in common with the english language
which most of us already know to begin with.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"John Sparrow" <jsparrow@ecclescollege.ac.uk> wrote in message
news:1357b958.0308070643.2f4488d4@posting.google.c om...news:<uZlO2vKXDHA.1640@TK2MSFTNGP10.phx.gbl>...> This may be true to *you* as a VB programmer, but programmers familiar
> with C# find the code easy to read.
>
> In the same way, I find reading VB similar to wading through treacle.
> But I'm sure it makes perfect sense to you.
>
> The agument that "I can't read C#, therefore C# is difficult to read."
> is like saying "I can't speak French, therefore French is difficult to
> speak."
>
> Subjectively true, objectively facile.
>
> Still waiting to here about the productivity comparison. Should I do
> the keystroke analysis??? grin.
>
> John
>
>
> "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in messageVB.NET> > As discussed already, VS.NET automatically adjusts the case of yourEven> > variables so that they all match. Therefore your point is again moot.
> > Also, because VB.NET uses real words it is far more readable than C#.is> > many C# programmers would likely agree with that. C#'s syntax strength> > it's brevity, not readability.
Steve C. Orr, MCSD Guest
-
Steve C. Orr, MCSD #20
Re: VB .NET vs C#
I suppose if you assume we're all using notepad then your argument holds
water.
But I'm a real programmer that uses real programming tools because that's
what makes sense.
That doesn't make me lazy, it makes me efficient.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"John Kraft" <jhkraft@ilstu.edu> wrote in message
news:bgu3fb$je3$1@malachite.ilstu.edu...minor> Steve C. Orr, MCSD wrote:>> > It's not "incorrect" to mix case in VB.NET so your point is moot.
> > Furthermore, we're not expecting "somebody else" to clean up after us.
> Actually you are. You are expecting the environment to clean up after
> you.
>
> I don't think that having the environment do things for you is a bad
> thing. If it helps you to write code more quickly, I think that is a
> good thing.
>
> Complaining that C derived languages are bad, or worse than VB, because
> the environment will not do things for you is simply laziness. Those
> people using the excuse that the environment won't do things for them as
> an excuse to criticize the language are only lying to themselves.
>> > We're expecting the computer (VS.NET specifically) to assist us withexist> > details that are unimportant to the logic of the program. Computersuse> > to do things for us. If you don't like that then I don't see why youother> > computers at all. All day long I write programs that do things forso> > people. Microsoft programmers put a lot of effort into creating VS.NETseems> > it would do things like this for us and make our jobs easier. Are you
> > suggesting we throw away their efforts and do things manually? That> Definately not. I happen to love VS... for the most part. But writing> > like a waste of time and money.
> >
> code in VB.NET has definately made me become a lazier programmer.
>
> I think if you want to compare languages, you shoud compare them on the
> languages themselves... not the environment.
>
> John
>
Steve C. Orr, MCSD Guest



Reply With Quote

