I'll comment on Q#2.

The professors statement was a sweeping generalization. Sweeping generalizations are rarely true in all cases. You should always think about your resources.

A good thing about languages/systems that garbage collect memory is that you don't have to worry about deallocating memory when you're done with it. This is great because you most likely avoid dreaded memory leaks that can be difficult to find. This is especially beneficial when the developer does not have much experience managing memory.

On systems that don't garbage collect memory you have to be smart and do it yourself. When you have to manage all of your memory you probably have more control over what, when and how much you use. Many of these languages can be faster if the developer knows what (s)he is doing.

In short you want your application to run quickly and efficiently and not be a resource whore.

VB is great for what VB does, C/C++ is great for what it does, DBMS are great for what they do. And since I'm posing on perlmonks I better say Perl is great for what it does! You just need to choose the right tool for the job. I wouldn't use VB to write a device driver. Personally, I'd use Visual C++ to do it on Windows. Don't use a screwdriver when you need a hammer and vice versa.


In reply to Re: Is it wrong? by monktim
in thread Is it wrong? by Drgan

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.