Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • 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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-28 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found