Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: I go crazy with windows filenames with spaces!

by Anonymous Monk
on Jan 19, 2010 at 15:18 UTC ( #818216=note: print w/ replies, xml ) Need Help??


in reply to Re^3: I go crazy with windows filenames with spaces!
in thread I go crazy with windows filenames with spaces!

I try to use module when coding in Perl only if there is no other way. I just like to know what is happening in my script in every line. If you "overuse" other people's work you can run into trouble one day :)

(This is my general opinion about mass using modules/classes when developing new application, we can discuss it here if you want.)


Comment on Re^4: I go crazy with windows filenames with spaces!
Re^5: I go crazy with windows filenames with spaces!
by Anonymous Monk on Jan 19, 2010 at 15:24 UTC
    Wow, step away from the computer, its someone elses module :P

    Cwd is a CORE module, it comes with perl.

      Come on, this is not the case. I only explained why even after I knew such a module exists I tried to work around. In such a situation built-in module is ok.
Re^5: I go crazy with windows filenames with spaces!
by ikegami (Pope) on Jan 19, 2010 at 15:41 UTC

    I try to use module when coding in Perl only if there is no other way.

    You'd rather use code that's only as good your skills can produce, code that hasn't had time to get vetted and improved. And you think you'll run into less trouble?

      Yes, as I have full control. I can make some mistakes but then I can debug and fix them.
      Of course I mean scripts, applications made for myself. Professional coding in a huge company will depend on third party libraries/classes/modules although GOOD companies with strong background make their own libraries.
      • 1 example: see gaming industry; they don't buy graphic engines they create them from scratch
      • 2 example: we use reporting framework in our company and we were in trouble last year as the magnificent engine doesn't support 64 bit environment (and yes we paid for it lot of money)
        To sum up:
        • my own software is better if I am the author (I can write a module too),
        • even in professional world of developing it is better to create own libraries if the company can afford it

        I can make some mistakes but then I can debug and fix them.

        Same goes for modules you didn't write. The difference is that you don't have to write the module in the first place.

        example: see gaming industry; they don't buy graphic engines they create them from scratch

        First of all, that's very far from the truth.

        Those that do write their own engines do so because 1) they need code that's highly optimised for their application, and 2) such code doesn't exist, in part because the hardware is always changing. Neither applies here.

        we use reporting framework in our company and we were in trouble last year as the magnificent engine doesn't support 64 bit environment (and yes we paid for it lot of money)

        How does that compare?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://818216]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-12-25 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls