This contrasts with my work in more established languages like C where I know that there is no way I could be doing it better.
Are you certain that there is no better way to do it in C? Maybe there's just no better way that's easy. For instance, in C you have to make the decision whether to use an array or a hash table, just like you do in Perl. Using an array is easy in C, because they're built into the language. Using a hash table is hard, because you have to either write all the hash table code yourself, or find someone else's code and figure out how to use it.
Sometimes, using a hash table is the better solution. They're extremely useful in many situations, so it seems that a language should make it easy to use them. And Perl, as we all know, makes easy things easy.
I sit in front of my screen, turning bits of the code around in my mind, because I'm not sure I've done it the best way. Even when it's finished, it's still not done.
Maybe you're entering the larval stage. Congratulations.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||