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

Help with choosing a language

Hi,
Im a sysadmin/consultant around the microsoft suite of server
products and do quite a bit of vbscripting to manipulate AD/Exchange.

I'd like to start doing a little more, specifically turning the concept
of my scripts into "richer" programs with a full GUI, database
connectivity etc, rather than just a rag tag bunch of scripts.

Im leaning towards a dotnet language, as all my programs will only be
for windows machines any my perception is that it will be quicker to
pickup.

Many of the books out seem to be geared towards people that wish to
write web services etc..

So - my questions
1) Is there any particular lanuguage which will give me greater
flexibility over another within the .net family? (I've heard c# is easy
to learn)
2) can anyone point to some good books for an absolute beginner?

TIA

Aug 1 '06 #1
10 1252
1) Is there any particular lanuguage which will give me greater
flexibility over another within the .net family? (I've heard c# is easy
to learn)
C# is slightly more flexible over VB.Net. As to how easy it is to learn, I
suppose that depends on the person doing the learning. And like any video
game, it is relatively easy to learn, and hard to master!
2) can anyone point to some good books for an absolute beginner?
The .Net SDK is free, and has lots of articles, tutorials, and the complete
..Net reference:

http://msdn.microsoft.com/netframewo...s/default.aspx

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Magician

A man, a plan, a canal.
a palindrome that has gone to s**t.
<ve******@hotmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.com...
Hi,
Im a sysadmin/consultant around the microsoft suite of server
products and do quite a bit of vbscripting to manipulate AD/Exchange.

I'd like to start doing a little more, specifically turning the concept
of my scripts into "richer" programs with a full GUI, database
connectivity etc, rather than just a rag tag bunch of scripts.

Im leaning towards a dotnet language, as all my programs will only be
for windows machines any my perception is that it will be quicker to
pickup.

Many of the books out seem to be geared towards people that wish to
write web services etc..

So - my questions
1) Is there any particular lanuguage which will give me greater
flexibility over another within the .net family? (I've heard c# is easy
to learn)
2) can anyone point to some good books for an absolute beginner?

TIA

Aug 1 '06 #2
Agree with Kevin's comments (and you can find ***so*** many opinions on this
subject in the archives) - but really you should figure out what you *need*
from a language; and to be honest, in these CLR days the language is less
critical as this is just the glue; the important bit is the framework, but
any CLR language should have access to the CLR-compliant parts of this...

C# is pretty convenient for most things, but (as an example) VB.Net trumps
it a bit when it comes to talking to COM objects through late-binding
(although you can always reference the VB libs and abuse the methods that
way). Convesely, the C# 2.0 compiler offers things like anonymous methods
and captured variables, which can sweeten the deal.

A 1.1 VB.Net / C# comparison table is here:
http://www.codeproject.com/dotnet/vb...difference.asp

I couldn't find a comprehensive 2.0 version, but such will exist
somewhere...

Marc
Aug 1 '06 #3
"ve******@hotmail.com" wrote:
1) Is there any particular lanuguage which will give me greater
flexibility over another within the .net family? (I've heard c# is easy
to learn)
Since our customers use both C# and VB, for both .NET 2.0 and 1.1, we have
to be well-versed in all four combinations. But we write all our original
code in C# 1.1, then use Visual Studio and InstantVB to port that to 2.0 and
VB, respectively.

If you have any experience with C or C++, then C# is definitely the way to
go. If you are coming from the VB6 world, then VB.NET would be a natural
choice. If you have little or no programming experience and are starting
from scratch, then I would recommend C# for the following reasons:

1) C# enjoys better support from Microsoft, component and tool vendors.
Most new products/features are rolled out first in C#, then to VB. This is
not always the case (e.g., edit & continue) but more often than not.

2) C# is much more concise and less verbose than VB.

3) There's a number of little details that make C# a better experience.
e.g., C# allows multiple assignments in a single line (int a = b = 6), inline
operators (int a = b++), #region statements within methods/properties, etc.
All of these are marked as errors when we convert from C# to VB.

..NET is an excellent choice for the Windows platform. It's feature rich,
very stable, well-documented, well-supported by Microsoft and the developer
community. The one thing we really like about .NET languages: you write the
code and it works. Unlike C++ in which you can spend hours chasing down
pointer-to-pointer bugs, etc. Our company is exclusively .NET.

The biggest downside to .NET is that Microsoft for whatever reason refuses
to force-install .NET on all Windows PC. As a result, even today only a very
small percentage of PCs have .NET 2.0 installed. This means that most of
your customers will be forced to download the 17MB redistributable, which is
a big hassle. People without broadband will balk at this, and people with
broadband are like, "What's this .NET thing?" As a result, we are forced to
stay with .NET 1.1. Microsoft's solution is to include .NET with Vista,
which means that you won't see the latest version of .NET installed on most
PCs until 2009 (given the 2007 release date and typical 2 year adoption rate).
--
Timm Martin
Mini-Tools
..NET Components and Windows Software
http://www.mini-tools.com

Aug 1 '06 #4
ve******@hotmail.com wrote:
Hi,
Im a sysadmin/consultant around the microsoft suite of server
products and do quite a bit of vbscripting to manipulate AD/Exchange.
If you're already familiar with VB script then you might want to lean
towards VB.NET.

Aug 1 '06 #5
Mini-Tools Timm wrote:
3) There's a number of little details that make C# a better experience.
e.g., C# allows multiple assignments in a single line (int a = b = 6), inline
operators (int a = b++), #region statements within methods/properties, etc.
All of these are marked as errors when we convert from C# to VB.
This is all old ground, but I think I ought to point out that you seem
to have put 'better' where you mean 'worse' here.

I mean, #region's in a method? How long are your methods?!
--
Larry Lard
la*******@googlemail.com
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version
Aug 1 '06 #6
"Larry Lard" wrote:
This is all old ground, but I think I ought to point out that you seem
to have put 'better' where you mean 'worse' here.
Programming languages, like operating systems, are a very personal (almost
religious) topic. Just the other day a C++ guy here was blasting .NET as the
worst invention in history. When we do our C# to VB conversions, we scratch
our heads at all the things that VB complains about. And yet many of our
customers wouldn't be successful without VB. So I believe you should use
whichever language allows you to quickly produce high-quality solutions that
meet your customers' needs.

--
Timm Martin
Mini-Tools
..NET Components and Windows Software
http://www.mini-tools.com

Aug 1 '06 #7
I'd agree with Brian here, since VB is much more beginner friendly when
it comes to topics like automatic type conversion, matching calling
conventions or registering event handlers.
On the other hand execution is slower after compilation and some errors
are harder to track down. But for someone coming from a scripting
language this will certainly not be the primary aspects you are looking
at...


Brian Gideon schrieb:
ve******@hotmail.com wrote:
>>Hi,
Im a sysadmin/consultant around the microsoft suite of server
products and do quite a bit of vbscripting to manipulate AD/Exchange.


If you're already familiar with VB script then you might want to lean
towards VB.NET.
Aug 1 '06 #8
Larry Lard wrote:
I mean, #region's in a method? How long are your methods?!
The current world record for C# method length is probably held by my
ex-co-worker, who not only wrote an 800-line method but then copied
and pasted the whole thing because some small changes to the process
were required in one situation.

Eq.
Aug 1 '06 #9

Paul E Collins wrote:
The current world record for C# method length is probably held by my
ex-co-worker, who not only wrote an 800-line method but then copied
and pasted the whole thing because some small changes to the process
were required in one situation.
That's pretty bad, but I think I can one-up you. Not too long ago
someone posted that they were seeing an InvalidProgramException. It
was caused by a code generator that declared more than 32767 local
variables in a single method.

Brian

Aug 1 '06 #10
cool - ok, thanks for all the messages.

I know its a personal thing - but that still doesnt mean other peoples
advice is not useful!

thanks for that, i think im basically going to have a play with both
vb.net and c# and see which one is for me.... or maybe both :-)

Aug 4 '06 #11

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

Similar topics

22
by: Vincent | last post by:
I would like to develop a site that should be available in several languages, say English, French and German. My question is: how can I suggest browsers of visitors to display the correct language...
10
by: Kelvin Chan | last post by:
hi everyone im wondering if there is a book about C++ which is rated must-read like the "C programming language 2nd ed." on C? im a EE student and have a strong background in C. Please give me...
22
by: Rafia Tapia | last post by:
Hi all This is what I have in mind and I will appreciate any suggestions. I am trying to create a xml help system for my application. The schema of the xml file will be <helpsystem> <help...
1
by: aredo3604gif | last post by:
On Sun, 10 Apr 2005 19:46:32 GMT, aredo3604gif@yahoo.com wrote: >The user can dynamically enter and change the rule connection between >objects. The rule is a "<" and so given two objects: >a <...
21
by: Corey Dyke | last post by:
k here's the deal. im in desperate need of help with C#. i'm taking a course at DeVry now and we're doing C#. i've done C++ last semester, so i know i should be able to catch on to this stuff. ...
12
by: steven acer | last post by:
hello, i have a java app that constructs an xml from a specific file format and vice versa. i've been asked to convert it to c++, but im not an expert in c++, actually im mere beginner you can...
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...
3
by: ibeehbk | last post by:
Hi. I have a form made in xhtml. I test via vbscript to make sure none of the fields are empty and properly formatted (ie email). All the regular fields work. However, I have two drop down menus...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: 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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.