My main coding language is C. Perl is my "Swiss Army Knife" coding language. Before I encountered Perl, I used a combination of awk and shell scripting to accomplish what I would now use Perl to accomplish. Being experienced with C and awk, Perl "felt" kind of natural to me, despite being a little strange. Using Perl made it easier to create and maintain tools that help me get my main work done.

Ruby seems ok. But I've only used it for a few projects where Ruby was already being used, so I have very little experience with it. I do find it more "comfortable" than Python (but not as comfortable as C and Perl).

Python is easier to read, but, in my experience, not actually easier to code in. Python has a big trap: Indentation. Program structure in Python is controled by indentation. The reason this is a problem is because the indentation you see in your editor might not be the same as what Python sees. With Python code, any time spaces and tabs are mixed, there is trouble waiting. Best to use only spaces and make sure your editor does not compress spaces in to tabs. Alternately, use only tabs and make sure your editor does not expand them.

I've used many coding languages for various reasons. Personally, I'm most comfortable with C and Perl. When I have a reason, I sometimes choose a different language. When I have to, I can handle other languages.

In reply to Re: Honest question about Perl, Python and Ruby by RonW
in thread Honest question about Perl, Python and Ruby by madM

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.