I agree, I have only been coding in perl writing very small scripts largest being over 1000 LOC for about 3 1/2 years now. I have to admit when I began writing perl I hated the syntax and actively went out and learned ruby on a basic level only to come back to perl for its productivity and speed compared to ruby. Ruby is a great language I love its syntax and beauty but I use perl to write code on a daily basis because of CPAN. Also, there is more than one way to do it. :-) After writing the code and getting use to the syntax I can firmly say the syntax isnt the problem with perl or the coding for me. It took me a while to learn how to write proper code in perl because there is more than one way to do in perl. This is a clear benignity now that I know and understand alot of the perl syntax. But, when you are a perl newbie having more than one way to do things and learning how to properly debug perl made it difficult to learn it initially. This isnt a bad thing :-) it forces you to actually learn the language and understand why some of the curious syntax pieces work the way they do in order for me to write my code. Now, perl is the first language I think of when getting ready to write code large for me atleast :-) still a newbie 4 to 5k LOC or smaller scripts. If I was going to look at a second scripting language it would have to be a clear reason for the change besides syntax and my second choice probably will be scala because of the jvm and doing things on an application server. But, everything else in perl. I cant tell you how I impress my coworkers by simply saying oh yeah I can do that in perl. :-)
-
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.
|