... or will I just be more confused because I'm trying to relate everything I'm learning to how it is done in Perl, but in reality it is totally different?

That rather depends on your mindset.

What might cause a problem is that with Perl, you get used to solving several classes of problems quickly. Particularly text processing problems, or problems involving networked clients or servers. When you start getting into a second lanaguage, you're going to hit a frustration barrier when you realize just how much stuff you have to build yourself, by hand, to get to the point of attacking a problem that would take a few dozen lines of Perl.

This frustration can generate a secondary problem: If the other folks in your class see you as the guy/gal who is always complaining about how much better the world would be if everyone would just use Perl, it's going to put some of them off. Whining is not effective advocacy. Try to limit yourself to one "I could have done this in 10 lines of Perl" remark per week.

That aside, one issue you'll run into by moving from Perl (or Java) to C is garbage collection. In Perl and Java, it's mostly automagic. Drop the last reference to something, and it magically goes away. In C, and to some extent in C++, you have to manage dynamically allocated memory yourself. In some systems, a lot of effort goes into bookkeeping on memory. You might not run into this in CS unless you take a course in Software Engineering that tackles a large project.


In reply to (dws)Re: Does Knowing Perl Help or Hinder Learning another Language by dws
in thread Does Knowing Perl Help or Hinder Learning another Language by dru145

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.