Women in Technology

Hear us Roar



Article:
  VBScript or Perl?
Subject:   Python
Date:   2003-11-19 10:45:07
From:   anonymous2
Response to: Python

"and has cleaner object orientation than perl"


But why would this matter in a scripting environment? No one is going to write a class for a 20-30 line utility script.


- Joe

Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • Python
    2003-11-20 06:28:23  mahansen [View]

    Code reuse would be the biggest reason to write a class for a utility script. Maybe you want to do something similar in another script, you can use that class in it.

    Also, you'd be surprised how many 20-30 line utility scripts grow into monster apps.
    • Python
      2003-11-20 13:44:28  Robbie Allen | O'Reilly AuthorO'Reilly Blogger [View]

      I've written a 40,000 line web app in Perl which was loosely OO. Not to say it is a great example of Perl OO in action, but it can be done.
      • Python
        2004-01-01 17:18:12  anonymous2 [View]

        Even a small set of perl 1-liners represent a powerful integration of near complete programs, so you can write a complete operating system in less than 40K lines of perl.

        So, what exactly were you trying to attempt/achieve in those 40,000 lines of perl code ? I am extremely curious to know :-)

      • Python
        2003-12-01 11:59:47  anonymous2 [View]

        40,000 lines! My GOD man you should be ashamed of yourself!