http://www.perlmonks.org?node_id=423540


in reply to Re: Back to Perl
in thread Back to Perl

Good advice. demerphq++

That is exactly what I did moving from language to language. Everyone has a favorite algorithm, right? :)

--- The harder I work, the luckier I get.

Replies are listed 'Best First'.
Re^3: Back to Perl
by demerphq (Chancellor) on Jan 19, 2005 at 22:52 UTC

    Everyone has a favorite algorithm, right? :)

    /nod
    So which was yours? :-)

    ---
    demerphq

      My normal test algorithms are different sort types, insertion, substitution, and even bubble sort.

      For OO langauages I also like to try and implement some of the gang-of-four design patterns like abstract factory or strategy.

      An ideal combination is a strategy pattern implementing different types of sort.

      -------------------------------------------
      What ees dis, some kind of hufty?
      I have an O(1) solution to the halting problem! It only works on fast computers though.

        You'd show it to us but the margin on this web page is too small, right?

      I am an old hand in a matrix-based chatroom game called "The Duel of Swords". It started on AOL but has now moved to the WWW <a href="http://www.ringsofhonor.org/" target="_new">The Rings of Honor</a>. I gained an edge in the game by compiling scouting reports on prospective opponents. A database is used to manage the many-to-many relationship. The programming thus includes database access, number crunching into a couple hundred accumulators, and output formatting.

      The first platform was an Apple/Claris HyperCard stack. I then used it as my lab project for college database course (Oracle and Java). Now it is a web application using LAMP. Perl modules are CGI, DBI + DBD::mysql, and HTML::Template.

      I would love to show it to you all, but it is password protected. :)

      --- The harder I work, the luckier I get.