in reply to Back to Perl
I tend to take a non trivial algorithm I know well and do my best to implement it in the new language. Various examples are: Huffman Encoding, 2-3 Trees, Binary Tree. The good thing about this approach is you dont have to learn a new language at the same time as you learn a new concept, instead you already have a conceptual framework you are comfortable with, and all you need to do is map the programming requirments from the one language to the other.
A good Perl training excercise is to implement a tree structure of some sort as a tied hash. Dont forget to handle the iterators properly. :-)
Good luck.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Back to Perl
by Xenograg (Scribe) on Jan 19, 2005 at 22:49 UTC | |
by demerphq (Chancellor) on Jan 19, 2005 at 22:52 UTC | |
by ChilliHead (Monk) on Jan 20, 2005 at 09:20 UTC | |
by gaal (Parson) on Jan 19, 2005 at 23:33 UTC | |
by Fletch (Bishop) on Jan 20, 2005 at 15:19 UTC | |
by Xenograg (Scribe) on Jan 26, 2005 at 22:39 UTC | |
|
Re^2: Back to Perl
by talexb (Chancellor) on Jan 20, 2005 at 21:00 UTC |