Solved

VB vs PERL

Posted on 1998-04-15
2
548 Views
Last Modified: 2006-11-17
I need to convert a Perl program into VB.  But what I need from the experts is a list of advantages/disadvantages that I will have by using VB over Perl.  What makes VB better? And what am I losing, if anything, by using VB?  Thanks.
0
Comment
Question by:cisqo
2 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1461287
You're losing the ability to use it on a unix machine, for one.

What makes VB better?  A matter of opinion.  I prefer VB because I know VB.  When I write PERL, I have to do it with a reference book in hand.
0
 
LVL 1

Accepted Solution

by:
daveko earned 200 total points
ID: 1461288
Perl is available on many different platforms and therefore you have some elements of what Java is also promising - cross platform functionality with minimal code changes.  Perl also has very strong pattern recognition features built directly into the language itself so if you're planning to do a lot of string searches and parsing, Perl might be the better route for you.

VB isn't that bad at the pattern matching but is tied to a single platform - Microsoft Windows (although you do get a choice as to Win95 or NT) ;).  This potential 'limitation' is moot if your application is targetted at the win32 platform.  Here, VB has a very strong benefits list in that it is easier to develop applications in VB, easier to debug, there are 3rd party components (ActiveX controls) that plug into your project seamlessly and it has robust database access technologies availabe as well.

All in all, if you are trying to decide on which language to pursue for an app... start with what the app is and where your skillsets lie.  if it is a small application without a UI and Perl is what you are comfortable with, go with Perl.  If a UI is required/would be beneficial and there are more than strictly file i/o, string parsing and console feedback filtering going on, then use VB.  
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question