Best Practice... Language selection
Best Practice... Language selection
Best Practice... Language selection
Best Practice... Language selection
Best Practice... Language selection
Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection
Best Practice... Language selection Best Practice... Language selection
Best Practice... Language selection
Go Back  Xtreme Visual Basic Talk > > > Best Practice... Language selection


Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2005, 09:59 AM
-YX- -YX- is offline
Freshman
 
Join Date: Apr 2003
Location: Canada
Posts: 42
Default Best Practice... Language selection


Hi all,

I was wondering if you could help me? I would like to know in what language should I code .NET?... I am very good with JAVA and VB... but I can code in practicaly anything...

Big thanks,

YX
Reply With Quote
  #2  
Old 10-03-2005, 10:14 AM
Sonreir's Avatar
Sonreir Sonreir is offline
Contributor
 
Join Date: Jul 2004
Location: Hampshire, England
Posts: 540
Default

It's all the same really. Whatever makes you more comfortable (or less comfortable is that's what you're going for).
Reply With Quote
  #3  
Old 10-03-2005, 11:20 AM
lebb's Avatar
lebbBest Practice... Language selection lebb is offline
Disillusioned Code Poet

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
Default

VB.NET and C# (which is quite similar to Java) are almost identical in terms of performance and functionality. So just pick whichever syntax you prefer. If you need to switch at some point, you'll find it very easy to pick up the other after you've learned one of them.
__________________
Laura

Ita erat quando hic adveni.
Reply With Quote
  #4  
Old 10-03-2005, 12:34 PM
John's Avatar
John John is offline
Bit Flipper
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Default

There is also J# for the people who like a more Java-like syntax.
__________________
Subclassing|Magnetic Forms|Operator Overloading (VB2K5)|QuickSnip.NET

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Reply With Quote
  #5  
Old 10-03-2005, 01:25 PM
-YX- -YX- is offline
Freshman
 
Join Date: Apr 2003
Location: Canada
Posts: 42
Question ... Are you sure???

... Are you sure???... I have read that Microsoft made C# just for .NET and recommand it? That C# have the best of all worlds... Strong typing and event handling like JAVA... some pointer functionality like C++... and simple syntax like VB!?!?!? I read too that it has almost an as elegante approach to multithreading as JAVA too!!!!

I am confused!!!

YX
Reply With Quote
  #6  
Old 10-03-2005, 01:28 PM
-YX- -YX- is offline
Freshman
 
Join Date: Apr 2003
Location: Canada
Posts: 42
Thumbs up

Quote:
Originally Posted by lebb
VB.NET and C# (which is quite similar to Java) are almost identical in terms of performance and functionality. So just pick whichever syntax you prefer. If you need to switch at some point, you'll find it very easy to pick up the other after you've learned one of them.
Hi Laura,

I do not have a syntax preference... !!
I am really into best practice!!!

YX
Reply With Quote
  #7  
Old 10-03-2005, 02:11 PM
lebb's Avatar
lebbBest Practice... Language selection lebb is offline
Disillusioned Code Poet

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
Default

Multithreading is handled identically no matter which .NET language you choose, since it is managed by the CLR (which is used by all .NET languages). Ditto with almost every other area of functionality. If you want to enforce strong typing with VB.NET, use Option Strict. Event handling is similar in all .NET languages, except that VB.NET gives you some shortcuts when defining events at design time.

You will find that some professions tend to prefer one over the other, mostly related to whether programmers in that field previously worked in C/C++/Java or VB. I don't actually know of anyone who uses J# in a production environment, but both C# and VB.NET are increasingly popular.
__________________
Laura

Ita erat quando hic adveni.
Reply With Quote
  #8  
Old 10-03-2005, 02:21 PM
-YX- -YX- is offline
Freshman
 
Join Date: Apr 2003
Location: Canada
Posts: 42
Question

Quote:
Originally Posted by lebb
Multithreading is handled identically no matter which .NET language you choose, since it is managed by the CLR (which is used by all .NET languages). Ditto with almost every other area of functionality. If you want to enforce strong typing with VB.NET, use Option Strict. Event handling is similar in all .NET languages, except that VB.NET gives you some shortcuts when defining events at design time.

You will find that some professions tend to prefer one over the other, mostly related to whether programmers in that field previously worked in C/C++/Java or VB. I don't actually know of anyone who uses J# in a production environment, but both C# and VB.NET are increasingly popular.

... Yes I know how CLR works... it is like JAVA... My point was, for example in JAVA... it is very easy to code a multitreaded application... I believe it is less userfriendly in VB!?!?!... C++ it is not fun I eared.

I do not know about the Strict option... does it prevent from improper casting???

In VB.NET, do we have a try catch structure???

YX
Reply With Quote
  #9  
Old 10-03-2005, 02:30 PM
lebb's Avatar
lebbBest Practice... Language selection lebb is offline
Disillusioned Code Poet

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
Default

Yes, as I said, threading is managed just the same. Error handling is managed just the same. Try http://msdn.microsoft.com.
__________________
Laura

Ita erat quando hic adveni.
Reply With Quote
  #10  
Old 10-04-2005, 08:35 AM
-YX- -YX- is offline
Freshman
 
Join Date: Apr 2003
Location: Canada
Posts: 42
Thumbs up

Quote:
Originally Posted by lebb
Yes, as I said, threading is managed just the same. Error handling is managed just the same. Try http://msdn.microsoft.com.
Ok Thanks... Yesterday I singin to be a msdn community member.

YX
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Best Practice... Language selection
Best Practice... Language selection
Best Practice... Language selection Best Practice... Language selection
Best Practice... Language selection
Best Practice... Language selection
Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection Best Practice... Language selection
Best Practice... Language selection
Best Practice... Language selection
 
Best Practice... Language selection
Best Practice... Language selection
 
-->