Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

/me agrees with Corion. I will NEVER have any real use for Visual Basic and don't even own it, but I don't regret having learned it. Nor do I regret having learned Fortran or Cobol, though I'm unlikely to ever use either of those, either. The only language I regret wasting time learning is Lingo.

Perl is a very practical language, and I think you'll keep coming back to it, but don't let that stop you from learning others; I'm not letting it stop me. When I was a novice programmer, knowing only BASIC (the line-number variety -- GWBASIC if you're familiar with that), I took a high-school class in Pascal. It revolutionized the way I wrote BASIC. I went back to BASIC, incidentally, rather than continuing to use Pascal, but just knowing a second language, different from the one I was using, had changed the way I thought about certain things and greatly improved the quality of my code.

In college I took courses in Cobol and Fortran, studied Inform on my own (which I recommend, incidentally; the way it does objects is just really cool, and the Designer's Manual is top-notch), picked up courses in C++ and Pascal (again, but Borland Pascal 7 this time, more capable than what I'd used before), and started using QBasic instead of line number BASIC. By this time I was writing things in BASIC that are not normally written in BASIC. Because it was the only language I had an interpreter for on my PC, but I was thinking (and programming) like someone who knew multiple languages. If I dig out that QBasic code now it's moderately embarrasing (all the languages I'd studied were either procedural or object-oriented, and it shows, and the only OS I'd used was DOS, and that shows too), but it was still way better than you normally expect to see in BASIC.

Then I picked up elisp and subsequently Perl and have not looked back -- except, my knowledge of those other languages (especially BASIC, Pascal, Inform, and elisp) greatly influences the way I write Perl. I no longer think in BASIC or elisp and translate to Perl like I did at first; I think exclusively in Perl now; in fact, I don't think I remember QBasic well enough to think in it anymore, and when I work in elisp, I find myself slipping back and forth between thinking in elisp and thinking in Perl. But still, my style is influenced by my background.

After Perl, I learned enough Python to get a basic feel for its style and had a brief look at PHP. I came back to Perl, but I don't regret the time I spent learning those other languages. Now I'm in the process of learning scheme, which I'm pretty sure I won't ever use on a regular basis, but I want to understand some of its concepts (continuations, particularly) in order to expand the way I think about programming. I want to be comfortable with a programming Perl according to a multiparadigmatic approach (something Perl is particularly good at, BTW), and so understanding different paradigms is very useful to me. After scheme I want to learn Smalltalk, and I'm debating about Haskell, prolog, unlambda, and maybe Java -- none of which I expect to use on a regular basis, but all of which I think could teach me something, something that will be useful when I write Perl code.

In summary: Yes, learn a second language. VB is perhaps not the *most* useful choice, but who cares? It is *a* useful choice (useful in the sense of what learning it can teach you), and you can get around to the others afterwards. VB does have the virtue of being fairly easy to learn, and every extra language you learn makes it easier to learn others. Go for it.

Plus, if you're on Windows, VB is not just (not, IMO, even primarily) a programming language -- it's a macro toolkit for the OS (and a pretty good one, IMNSHO). You won't use it for network programming or serious text processing, but if you want to slap together a quick dialog box that asks the user a question and then changes a setting in the control panel, VB is fine for that. When I had access to it in college, I used it for that kind of stuff, more than for any real programming.

But more important than what you'll use it for is what it will teach you. Your second language is a significant step forward. Don't hesitate to take it.


;$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print

In reply to Re: Visual Basic .net and Perl: learn the former; use the latter. by jonadab
in thread Visual Basic .net and Perl by juo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-23 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found