Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB vs PERL

Posted on 1998-04-15
2
Medium Priority
?
573 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 400 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

972 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