Need to write a messaging\alert app which language should I use\learn C# or VB.Net?

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Apathetic

Platinum Member
Dec 23, 2002
2,587
6
81
I do think C# is a better language to learn (mostly because of the C/C++ resemblance). But obviously the more known languages the better ...

I think VB.NET improved leaps and bonds with VS2008 and VS2010, but I remember VB.NET in VS2003 (.NET 1.1) and it was not pretty. VB was so much more verbose at the time (and let's face it, it still is). But since there is feature parity and it compiles exactly the same pseudo-code, it is a cosmetic preference at most.

Note : I would certainly not rewrite a 1.2M loc program just to make it C# (maybe that's what awaits us in hell ? )

No, hell is when you have to take a million+ lines of C# code and re-write them in VB6.

Dave
 

atreader

Member
Apr 28, 2010
95
0
0
OP: maybe you can use the alert system as an excuse to install a Instant Messaging system. I believe there are free open source IM (server/clients) available.

Don't forget the ever useful semi-colons.

Google's 'GO' language does that behind the scenes. You don't have to type ';' at the end of statements manually.
 

Bulldog13

Golden Member
Jul 18, 2002
1,655
1
81
One way you might consider going with this is using a MessageQueue server with the MessageQueue class. Any Windows machine NT or greater can be setup as a MessageQueue server.

http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue%28VS.71).aspx

As far as VB.Net or C#, it doesn't matter. I feel like it is generally easier to find code snippets in C# than VB.

I think alot of it comes down to what you find it more irritating having your code littered with "Dim"s and "_"s or "{"s and ";". The only truly irritating thing I find about C# is it does not automatically insert the closing "}".

In the history of programming, has there ever been a starting squiggly bracket that did not need an ending one?
 

ObscureCaucasian

Diamond Member
Jul 23, 2006
3,934
0
0
The only truly irritating thing I find about C# is it does not automatically insert the closing "}".

That's a gripe you should have with Visual Studio, since that's a text editor feature and not a language one (athough I guess many people have been arguing that IntelliSense is better with VB so language and IDE support have become synonymous in this thread).

I do think you can configure it to automatically add the '}' though.
 

Cogman

Lifer
Sep 19, 2000
10,278
126
106
That's a gripe you should have with Visual Studio, since that's a text editor feature and not a language one (athough I guess many people have been arguing that IntelliSense is better with VB so language and IDE support have become synonymous in this thread).

I do think you can configure it to automatically add the '}' though.

Non auto { can be annoying, However, what is more annoying is automatic (.. Code blocks does this and it is annoying as heck, sometimes you want to put the parentheses where you want them.
 

ObscureCaucasian

Diamond Member
Jul 23, 2006
3,934
0
0
Non auto { can be annoying, However, what is more annoying is automatic (.. Code blocks does this and it is annoying as heck, sometimes you want to put the parentheses where you want them.

When I first started using netbeans, the auto "{" really threw me off since I've been so accustomed to VS that I would always manually type it and then I'd end up doubling up on the closed brackets.
 

atreader

Member
Apr 28, 2010
95
0
0
^ I'm using NetBeans now for javascript coding. I like its javascript editor better than what comes with eclipse. One problem annoys me is that it hangs (Not Responding) sometimes after you make a change to a file. I haven't updated to the latest version as I read in the comments people complaining about it being very slow.

I liked the intellisense in VB6 and VB.net. And you sure miss it when coding c#. The good thing about C# is that its similar to java so at any stage if one decides to migrate to Java platform then the conversion should be easier. I think most of large size projects prefer C# over VB.net.

@Bulldog13 I think the Messaging Server capabilities are not there in the Home (at least in XP) edition of Windows. I might be wrong though.
 

Kr@n

Member
Feb 25, 2010
44
0
0
Could be worse, you could be rewriting it in delphi!

Gah ! Delphi's not so bad (in fact, the creator of Pascal is one of the main creators of C# IIRC). You can even code with brackets instead of begin..end ...
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |