From someone who knows multiple languages (and also started off learning Perl first): take the core ideas in Perl and use them as a foundation or spring board to learning other languages.
At first, it will be hard. Consider hashes and arrays. Perl's built-in data structures are, I think, probably the most important part of the language. Not so in other languages. So take the time to find out where those tools reside. In the .NET world, Hashtable and ArrayList are off in the System.Collections namespace.
And there are other examples that are similar. Don't throw away all of your knowledge gained from learning Perl first. Just map the ideas from one to the other and you will be successful.
| [reply] |
Your job may see perl and .net as mutually exclusive but you don't have to view it that way. Learning multiple languages is not a zero sum gain game.
Updated: As grinder pointed out to me ... it's zero sum game not gain.
| [reply] |
nicholasrperez has a good idea above when he says to "map" your ideas from Perl to .Net. Perhaps you could ease the transition by constructing tools in .Net to help you manipulate arrays and hashes just as you would in Perl (i.e. functions such as map, grep, push, pop, shift, unshift, splice, reverse, join, keys, delete, sort, etc.). This would not only give you excellent practice in .Net programming, but would also allow you to directly carry over many of your Perl techniques into your new .Net environment. | [reply] [d/l] |
Some of those are already available as methods of the various container classes.
| [reply] |
As someone who has switched from VBA and VBA to Perl, I would say to be very careful to map your Perl knowledge to VB or you will be writing Perl in VB and you will never learn to write proper VB.Net.I do not mean to say that you have to start from scratch. As an experienced programmer you have a lot of meta-knowledge on programming and solving programming problems, only apply this experience the VB.Net way and not the Perl-way.
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
| [reply] |
You needn't "switch" to .Net, just 'include' it in your problem solving toolkit. Multiple languages (& more importantly, when to use each) is what distinguishes great programmers from the merely good ones. You also may need to hone your salesmanship skills, in order to convince mgmnt "when" perl is a better tool for some task, than C++ or VB. | [reply] |