Ok I have been programming in vb.net since it was released. I love it and I have a great time seeing my code come to life. Recently I have been seeking to expand my horizons(ie looking for a new job). I see a lot of C# jobs...C# this C# that. So I think to myself, ok ill start learning C#. So I start working on programs that I already have done in vb.net and working on transitioning them to C#.
I have come to the conclusion that intellisense in C# should be called dumbsense.
Property Creation is a pain.
Line terminators (Why are they needed?)
I couldnt get the class dropdowns to work like in vb.net....
Mostly I think C# is for those coders who like to bang their head against the wall....
CoderVB: So how was your day today? I got 3 different controls written and debugged.....
CoderC#: PAH! See this welt on my head? thats from the wall, see my cast on my arm? I got TCS from all the typing
CoderVB: Erm...ok Well what are you coding in?
CoderC#:<puffs out chest> I code in C#....
CoderVB:<to himself>hmm...B roken Head, Broken Wrist.....Nope Ill stick to my "inferior" vb.net.
--
--Eric Cathell, MCSA
Nov 21 '05
15 980
Herfried,
I find the C# way more logical (I sometimes make mistakes in this)..
Moreover VBNet uses
Class MyOwnClass, what I find inconsequent.
I even don't see the need for Dim
"ds as dataset" tells that it is a declaration by the word "as".
However just a quick response not really something that bothers me or
something I have long thought about..
Cor
Cor,
"Cor Ligthert [MVP]" <no************ @planet.nl> schrieb: I find the C# way more logical (I sometimes make mistakes in this).. Moreover VBNet uses Class MyOwnClass, what I find inconsequent.
I am not sure what you consider inconsequent here...
I even don't see the need for Dim "ds as dataset" tells that it is a declaration by the word "as".
'Dim' is a keyword similar to 'Class', 'Function', and 'Sub'. You can
actually write 'Private Dim m_Foo As Integer', for example.
The problem with the C# solution for declaring local variables is that there
is no way for the IDE to determine if the user wants to start a variable
declaration. Note that in C++ local variable declarations can be preceeded
with 'auto', such as 'auto int foo', which would make support for meaningful
and valuable IntelliSense possible. C# does not even support the 'auto'
modifier for local variables.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
>> Class MyOwnClass, what I find inconsequent. I am not sure what you consider inconsequent here...
Dim ds as dataset
Dataset ds();
Class MyOwnClass
Class MyOwnClass
Makes this it clear? I even don't see the need for Dim "ds as dataset" tells that it is a declaration by the word "as".
'Dim' is a keyword similar to 'Class', 'Function', and 'Sub'. You can actually write 'Private Dim m_Foo As Integer', for example.
As far as I can see it is there something double here, "dim" and "as" the
last tells as that it is a decleration.
In a function, Sub, or Class I cannot recognise it,
(it is the same as I always write about "then").
There can be in my opinion an option not to use it or an option to let
autocomplete automaticly add it.
The problem with the C# solution for declaring local variables is that there is no way for the IDE to determine if the user wants to start a variable declaration.
I don't see why that is a problem for *you*
:-))))))))))))
For others I agree with you, that you can see it as a disadvantage.
:-)
Cor
Back to the OP's OQ :) I've seen a lot of discussion here about the only
difference between C# and VB is the programmers preference in language. And
from what I've seen, It's not difficult to translate C# to VB. So maybe a
good VB programmer could convince those employers that his/her VB skills are
just as relavant for the job as the preferred C# skills. 6 in one,
half-dozen in the other...
On Wed, 27 Jul 2005 07:08:45 -0600, "Terry Olsen"
<to******@hotma il.com> wrote: Back to the OP's OQ :) I've seen a lot of discussion here about the only difference between C# and VB is the programmers preference in language. And from what I've seen, It's not difficult to translate C# to VB. So maybe a good VB programmer could convince those employers that his/her VB skills are just as relavant for the job as the preferred C# skills. 6 in one, half-dozen in the other...
It takes any reasonable VB.Net programmer about a week to re-acclimate
and become just as productive in C# (and vice versa for C# coders).
Any hiring employer who balks over a week learning curve, or otherwise
refuses to hire a Dot Net developer because their experience is
limited to one language or another, is an idiot doomed for failure and
not worth working for anyway.
So I shouldn't be intimidated by wanted adds that specifically ask for C#,
because I am capable of doing everything that they can do with VB.NET? I
just need to be able to explain that to them in a way they can grasp....
--
--Eric Cathell, MCSA
"Bradley" <pl****@nospam. com> wrote in message
news:dg******** *************** *********@4ax.c om... On Wed, 27 Jul 2005 07:08:45 -0600, "Terry Olsen" <to******@hotma il.com> wrote:
Back to the OP's OQ :) I've seen a lot of discussion here about the only difference between C# and VB is the programmers preference in language. And from what I've seen, It's not difficult to translate C# to VB. So maybe a good VB programmer could convince those employers that his/her VB skills are just as relavant for the job as the preferred C# skills. 6 in one, half-dozen in the other...
It takes any reasonable VB.Net programmer about a week to re-acclimate and become just as productive in C# (and vice versa for C# coders).
Any hiring employer who balks over a week learning curve, or otherwise refuses to hire a Dot Net developer because their experience is limited to one language or another, is an idiot doomed for failure and not worth working for anyway.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Matt |
last post by:
I'd like to overwrite just one line of a binary file, based on a
position set by seek(). Is there no way to do this? As far as I can
tell I need to read the whole file, change the line, and write it all
back out. Not exactly easy on the memory, but I see no other solution.
so far:
patchme.seek(offset)
patchme.write(a2b_hex(edit)) # the data is in hex first
patchme.close
|
by: Anupam Kapoor |
last post by:
hi all,
a python n00b, so please bear with me. i have a simple question:
i generally name python sources as a-simple-python-example.py. when i
try to import a module named as above, i (obviously) get tracebacks
from python interpreter.
is there a way to continue naming python sources as above, and still
use it as python modules ? i can ofcourse change the name to
|
by: newgenre |
last post by:
I am using a pre-built package of code for my site, which is called
EasyDisc. All it does is it creates an interactive forum on your site, like
any forum you see anywhere.
I am having a problem getting started as I am new to .NET and sql. The app,
once unzipped, tells me to "Make note of your SQL server name, username,
password, database name. You need to supply these info. later."
My problem is I don't know where to find out that info....
|
by: ducky |
last post by:
Hi all,
The only programming experience i have under my belt so far is VB. I'm
just starting out on C++ and wonder if anybody suggests and good (free)
starting points for me to get going. I'm wondering about tutorials,
source code, etc... Stuff that will take me from absolute square 1.
Also, which compilers would be suggested? i have the bloodshed one and
microsoft's visual studio express version as well. Are there any
others that...
|
by: onefry |
last post by:
Hey I have this prog that i'm working on, starting my first c++ class and kind of a n00b to programming
here it is
#include <iostream>
#include <cstdlib>
using namespace std;
| |
by: Charles |
last post by:
I am learning from the Accelerated C++ book. The following example
doesn't work and I don't know why:
#include <iostream>
#include <string>
int main () {
const std::string exclam = "!";
const std::string message = "Hello" + ", world" + exclam;
return 0;
}
|
by: HardHackz |
last post by:
Hey, I'm trying to learn C++, the problem is, when I do cout << "Hello
World!"; it always opens dos and closes it to quickly to see...i know
im a total n00b, but any help?
|
by: hockeyjk |
last post by:
All,
I'm writing a program that creates a histogram of data. IDLE is freezing up after the window opens (doesn't prompt user or graph anything). The window that opens is named "tk" rather than the name I assign to it.
Can anyone shed light on why.
EDIT: Nevermind. The error was resulting because I was attempting to run the file from my flash drive. Who knew. n00b.
Can an admin delete this thread?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |