473,766 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The Demise of C#

About 2 years ago, and as recently as perhaps 1 year ago, I can recall
seeing many posts about what language to use with ASP.Net. The consensus was
that employers paid more for C# programmers, and it seems that C# became the
darling of the ASP.Net crowd.

In the meantime, I have observed an interesting phenomenon. Originally,
employers hired programmers who used C# because it was based on C, and the
prevailing opinion was (and may still be) that C# developers were better
because they must have known and/or practiced C or C++ at some time, which
would make them better programmers overall. C and C++ are hard-core
programming languages compared to VB.

However, now that nearly everyone has jumped on the C# bandwagon, it seems
to me that the distinction between the languages has nearly disappeared, at
least in terms of evaluating programmers for hire. There seem to be almost
as many clueless C# developers out there as VB.Net developers. Many C#
developers today are basically VB.Net developers using a different syntax. I
wonder if the employers have become aware of this trend?

--

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
Nov 19 '05
132 4870
What about VarPtr, VarPtrArray, StrPtr, and ObjPtr? Won't they still work in
VB.Net?

- Dave

"Kevin Spencer" wrote:
The AddressOf operator is not for creating pointers. It is for creating
procedure delegates. You can't use pointers in .Net without unsafe code.
VB.Net does not allow unsafe code.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"David Davidson" <da************ @newsgroup.nosp am> wrote in message
news:53******** *************** ***********@mic rosoft.com...
You can use unmanaged code and pointers in VB.NET. I've used the
dllImport
attribute to make calls to functions in DLLs like User32 and the like, and
there's the AddressOf operator for creating pointers to functions and
such...
I think there is something C# can do that VB.NET can't, but I can't
remember
what it is. I do know that C# doesn't have ParamArrays while VB.NET does,
but that's just indicitive of the main reason to choose one .NET language
over the other: personal preference.

- Dave

"Kevin Spencer" wrote:
> There is nothing that you can do in C# that you cannot do in VB.NET.

I'm afraid that's simply untrue. You can't use unmanaged code in VB,
pointers, and several other less important items. Yes, it may be a rare
occasion that you need to, but believe it or not, I've worked on several
projects over the past year which process very large (200 - 500 MB)
images,
and there's no substitute for pointers in a situation like that. In fact,
even with the use of pointers, I have one app that takes several hours to
process a single image.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:O6******** ******@TK2MSFTN GP14.phx.gbl...
> Okay, I write this message with the full knowledge that I am going to
> piss
> a
> large number of people off. So I fully expect some flaming to happen.
>
> As languages evolve, there becomes less and less that differentiates
> them.
> There is nothing that you can do in C# that you cannot do in VB.NET.
>
> I came from a VB development background and moved to C# about five
> years
> ago. I do not necessarily think that companies look for C# people
> because
> of the tie-in with C++, but rather that C# develops have more of an OOP
> sense about them. C++ and C# are object oriented languages and
> therefore
> those people tend to think in object design. VB used to be thought of
> a
> toy
> and only used for RAD development. There was little emphasis placed on
> proper coding styles. It was more of a "let's get it done" mentality
> rather
> then "let's design something for expandability and maintainability ".
> Keep
> in mind that until VB.NET was released, the concept of classes was
> shoddy
> at
> best and certainly did not have inheritance or polymorphism, which
> means
> that VB was NEVER an object oriented languages.
>
> Remember that when the GUI first came out it was also thought of as a
> toy.
> Why would real computer uses use a graphical interface, was the mantra
> of
> my
> command-line gurus.
>
> "Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
> news:#X******** ******@TK2MSFTN GP12.phx.gbl...
>> About 2 years ago, and as recently as perhaps 1 year ago, I can recall
>> seeing many posts about what language to use with ASP.Net. The
>> consensus
> was
>> that employers paid more for C# programmers, and it seems that C#
>> became
> the
>> darling of the ASP.Net crowd.
>>
>> In the meantime, I have observed an interesting phenomenon.
>> Originally,
>> employers hired programmers who used C# because it was based on C, and
>> the
>> prevailing opinion was (and may still be) that C# developers were
>> better
>> because they must have known and/or practiced C or C++ at some time,
>> which
>> would make them better programmers overall. C and C++ are hard-core
>> programming languages compared to VB.
>>
>> However, now that nearly everyone has jumped on the C# bandwagon, it
>> seems
>> to me that the distinction between the languages has nearly
>> disappeared,
> at
>> least in terms of evaluating programmers for hire. There seem to be
>> almost
>> as many clueless C# developers out there as VB.Net developers. Many C#
>> developers today are basically VB.Net developers using a different
>> syntax.
> I
>> wonder if the employers have become aware of this trend?
>>
>> --
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> Neither a follower nor a lender be.
>>
>>
>
>


Nov 19 '05 #131
Those are not available in VB.Net. The closest you can get to a pointer in
VB.Net is a delegate.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.

"David Davidson" <da************ @newsgroup.nosp am> wrote in message
news:16******** *************** ***********@mic rosoft.com...
What about VarPtr, VarPtrArray, StrPtr, and ObjPtr? Won't they still work
in
VB.Net?

- Dave

"Kevin Spencer" wrote:
The AddressOf operator is not for creating pointers. It is for creating
procedure delegates. You can't use pointers in .Net without unsafe code.
VB.Net does not allow unsafe code.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"David Davidson" <da************ @newsgroup.nosp am> wrote in message
news:53******** *************** ***********@mic rosoft.com...
> You can use unmanaged code and pointers in VB.NET. I've used the
> dllImport
> attribute to make calls to functions in DLLs like User32 and the like,
> and
> there's the AddressOf operator for creating pointers to functions and
> such...
> I think there is something C# can do that VB.NET can't, but I can't
> remember
> what it is. I do know that C# doesn't have ParamArrays while VB.NET
> does,
> but that's just indicitive of the main reason to choose one .NET
> language
> over the other: personal preference.
>
> - Dave
>
> "Kevin Spencer" wrote:
>
>> > There is nothing that you can do in C# that you cannot do in VB.NET.
>>
>> I'm afraid that's simply untrue. You can't use unmanaged code in VB,
>> pointers, and several other less important items. Yes, it may be a
>> rare
>> occasion that you need to, but believe it or not, I've worked on
>> several
>> projects over the past year which process very large (200 - 500 MB)
>> images,
>> and there's no substitute for pointers in a situation like that. In
>> fact,
>> even with the use of pointers, I have one app that takes several hours
>> to
>> process a single image.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> Neither a follower nor a lender be.
>>
>> "Peter Rilling" <pe***@nospam.r illing.net> wrote in message
>> news:O6******** ******@TK2MSFTN GP14.phx.gbl...
>> > Okay, I write this message with the full knowledge that I am going
>> > to
>> > piss
>> > a
>> > large number of people off. So I fully expect some flaming to
>> > happen.
>> >
>> > As languages evolve, there becomes less and less that differentiates
>> > them.
>> > There is nothing that you can do in C# that you cannot do in VB.NET.
>> >
>> > I came from a VB development background and moved to C# about five
>> > years
>> > ago. I do not necessarily think that companies look for C# people
>> > because
>> > of the tie-in with C++, but rather that C# develops have more of an
>> > OOP
>> > sense about them. C++ and C# are object oriented languages and
>> > therefore
>> > those people tend to think in object design. VB used to be thought
>> > of
>> > a
>> > toy
>> > and only used for RAD development. There was little emphasis placed
>> > on
>> > proper coding styles. It was more of a "let's get it done"
>> > mentality
>> > rather
>> > then "let's design something for expandability and maintainability ".
>> > Keep
>> > in mind that until VB.NET was released, the concept of classes was
>> > shoddy
>> > at
>> > best and certainly did not have inheritance or polymorphism, which
>> > means
>> > that VB was NEVER an object oriented languages.
>> >
>> > Remember that when the GUI first came out it was also thought of as
>> > a
>> > toy.
>> > Why would real computer uses use a graphical interface, was the
>> > mantra
>> > of
>> > my
>> > command-line gurus.
>> >
>> > "Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
>> > news:#X******** ******@TK2MSFTN GP12.phx.gbl...
>> >> About 2 years ago, and as recently as perhaps 1 year ago, I can
>> >> recall
>> >> seeing many posts about what language to use with ASP.Net. The
>> >> consensus
>> > was
>> >> that employers paid more for C# programmers, and it seems that C#
>> >> became
>> > the
>> >> darling of the ASP.Net crowd.
>> >>
>> >> In the meantime, I have observed an interesting phenomenon.
>> >> Originally,
>> >> employers hired programmers who used C# because it was based on C,
>> >> and
>> >> the
>> >> prevailing opinion was (and may still be) that C# developers were
>> >> better
>> >> because they must have known and/or practiced C or C++ at some
>> >> time,
>> >> which
>> >> would make them better programmers overall. C and C++ are hard-core
>> >> programming languages compared to VB.
>> >>
>> >> However, now that nearly everyone has jumped on the C# bandwagon,
>> >> it
>> >> seems
>> >> to me that the distinction between the languages has nearly
>> >> disappeared,
>> > at
>> >> least in terms of evaluating programmers for hire. There seem to be
>> >> almost
>> >> as many clueless C# developers out there as VB.Net developers. Many
>> >> C#
>> >> developers today are basically VB.Net developers using a different
>> >> syntax.
>> > I
>> >> wonder if the employers have become aware of this trend?
>> >>
>> >> --
>> >>
>> >> Kevin Spencer
>> >> Microsoft MVP
>> >> .Net Developer
>> >> Neither a follower nor a lender be.
>> >>
>> >>
>> >
>> >
>>
>>
>>


Nov 19 '05 #132
I have to amend my remarks: There are several other ways to obtain
"pointers" in VB.Net, but again, you don't get the raw functionality of a
true pointer using any of them. The most common is the IntPtr, and there are
also some undocumented versions of a couple of the types you mentioned. You
can read about them here:

http://www.codeproject.com/vb/net/Marshal.asp

Again, though, I would stress that you cannot do with them what you can do
with unmanaged pointers, which is accessing and manipulating memory
directly.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.

"David Davidson" <da************ @newsgroup.nosp am> wrote in message
news:16******** *************** ***********@mic rosoft.com...
What about VarPtr, VarPtrArray, StrPtr, and ObjPtr? Won't they still work
in
VB.Net?

- Dave

"Kevin Spencer" wrote:
The AddressOf operator is not for creating pointers. It is for creating
procedure delegates. You can't use pointers in .Net without unsafe code.
VB.Net does not allow unsafe code.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"David Davidson" <da************ @newsgroup.nosp am> wrote in message
news:53******** *************** ***********@mic rosoft.com...
> You can use unmanaged code and pointers in VB.NET. I've used the
> dllImport
> attribute to make calls to functions in DLLs like User32 and the like,
> and
> there's the AddressOf operator for creating pointers to functions and
> such...
> I think there is something C# can do that VB.NET can't, but I can't
> remember
> what it is. I do know that C# doesn't have ParamArrays while VB.NET
> does,
> but that's just indicitive of the main reason to choose one .NET
> language
> over the other: personal preference.
>
> - Dave
>
> "Kevin Spencer" wrote:
>
>> > There is nothing that you can do in C# that you cannot do in VB.NET.
>>
>> I'm afraid that's simply untrue. You can't use unmanaged code in VB,
>> pointers, and several other less important items. Yes, it may be a
>> rare
>> occasion that you need to, but believe it or not, I've worked on
>> several
>> projects over the past year which process very large (200 - 500 MB)
>> images,
>> and there's no substitute for pointers in a situation like that. In
>> fact,
>> even with the use of pointers, I have one app that takes several hours
>> to
>> process a single image.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> Neither a follower nor a lender be.
>>
>> "Peter Rilling" <pe***@nospam.r illing.net> wrote in message
>> news:O6******** ******@TK2MSFTN GP14.phx.gbl...
>> > Okay, I write this message with the full knowledge that I am going
>> > to
>> > piss
>> > a
>> > large number of people off. So I fully expect some flaming to
>> > happen.
>> >
>> > As languages evolve, there becomes less and less that differentiates
>> > them.
>> > There is nothing that you can do in C# that you cannot do in VB.NET.
>> >
>> > I came from a VB development background and moved to C# about five
>> > years
>> > ago. I do not necessarily think that companies look for C# people
>> > because
>> > of the tie-in with C++, but rather that C# develops have more of an
>> > OOP
>> > sense about them. C++ and C# are object oriented languages and
>> > therefore
>> > those people tend to think in object design. VB used to be thought
>> > of
>> > a
>> > toy
>> > and only used for RAD development. There was little emphasis placed
>> > on
>> > proper coding styles. It was more of a "let's get it done"
>> > mentality
>> > rather
>> > then "let's design something for expandability and maintainability ".
>> > Keep
>> > in mind that until VB.NET was released, the concept of classes was
>> > shoddy
>> > at
>> > best and certainly did not have inheritance or polymorphism, which
>> > means
>> > that VB was NEVER an object oriented languages.
>> >
>> > Remember that when the GUI first came out it was also thought of as
>> > a
>> > toy.
>> > Why would real computer uses use a graphical interface, was the
>> > mantra
>> > of
>> > my
>> > command-line gurus.
>> >
>> > "Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
>> > news:#X******** ******@TK2MSFTN GP12.phx.gbl...
>> >> About 2 years ago, and as recently as perhaps 1 year ago, I can
>> >> recall
>> >> seeing many posts about what language to use with ASP.Net. The
>> >> consensus
>> > was
>> >> that employers paid more for C# programmers, and it seems that C#
>> >> became
>> > the
>> >> darling of the ASP.Net crowd.
>> >>
>> >> In the meantime, I have observed an interesting phenomenon.
>> >> Originally,
>> >> employers hired programmers who used C# because it was based on C,
>> >> and
>> >> the
>> >> prevailing opinion was (and may still be) that C# developers were
>> >> better
>> >> because they must have known and/or practiced C or C++ at some
>> >> time,
>> >> which
>> >> would make them better programmers overall. C and C++ are hard-core
>> >> programming languages compared to VB.
>> >>
>> >> However, now that nearly everyone has jumped on the C# bandwagon,
>> >> it
>> >> seems
>> >> to me that the distinction between the languages has nearly
>> >> disappeared,
>> > at
>> >> least in terms of evaluating programmers for hire. There seem to be
>> >> almost
>> >> as many clueless C# developers out there as VB.Net developers. Many
>> >> C#
>> >> developers today are basically VB.Net developers using a different
>> >> syntax.
>> > I
>> >> wonder if the employers have become aware of this trend?
>> >>
>> >> --
>> >>
>> >> Kevin Spencer
>> >> Microsoft MVP
>> >> .Net Developer
>> >> Neither a follower nor a lender be.
>> >>
>> >>
>> >
>> >
>>
>>
>>


Nov 19 '05 #133

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

Similar topics

42
2906
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 to these programming newsgroups and asking for ready-made solutions to fairly simple programming problems. They either want someone to write code for them, or point them to a ready-made chunk of software that does what they need to do. Now, I'm...
0
10168
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9837
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.