Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • If you find yourself enjoying the OO paradigm, might I suggest learning a bit of Ruby and seeing how it stacks up against the Perl and C++ versions? If not, I'll await your final Perl product and see what I can come up with. :)
    • by TeeJay (2309) on 2004.06.15 12:06 (#31555) Homepage Journal
      I like OO, but I like prefer to use it when needed not all the time. Something that works in Perl and to a lesser degree in C++ is to write some procedural prototypes or functions to prove a concept, then refactor and re-implement in purer OO as the requirements and solution become clearer.

      I assume Ruby doesn't have the 'Everything must be an object' OO puritanism of Java.

      I would look at Ruby but getting up to speed on C++ is work enough and I don't see Ruby bringing in a salary anytime soon.

      I plan to learn the minimal PHP and Python to get by with those should I need to hack some of either language but I dislike them both (although knowhere near the degree of vbscript).

      Perhaps I can look at ruby once I have some more popular and widely-used, if less fashionable and modern, languages.

      Besides, by the time I can learn Ruby, Perl 6 will have knicked most of its good bits anyway ;)


      @JAPH = qw(Hacker Perl Another Just);
      print reverse @JAPH;
      • I assume Ruby doesn't have the 'Everything must be an object' OO puritanism of Java.
        You are correct - you can use a functional style in Ruby if you wish.

        Now that you mention it, it might be interesting to see how your code looks in Java. :)