Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
just some thoughts:
regarding reinventing the wheel - i've written a template-system once (now i don't use it anymore, there are much better ones), i've written my own XML::Simple extension which did something extra (i could have just used another module because XML::Simple is designed to be simple), and i'm writing my own framework now although there are already some (well i started to do this before there were really usable frameworks).
i think it's necessary that people are reinventing the wheel. they learn, and maybe they learn that it's just better to use an existing solution. maybe the write a better solution, and that's good.
without people doing that there wouldn't be so much solutions to choose from. usually at some point there are three or four solutions which come out as a standard, e.g. use HTML::Template, if you want an easy solution which is easy in both using the module and coding the template.

when i'm coding something, even if it's a small program, it also helps me to encapsulate things in modules (especially in OO). i don't do uml specs (when i'm coding alone), so i think about what functionality i want, and create a class. if i want more functionality i usually first use it in the main script like $object->do_unexisting_functionality() and then add this method to the class. i just find it more maintainable. but maybe that's just a personal preference. just my 2 cents.

Update: about too much modules - i recently installed Maypole. i did perl Makefile.PL etc. for every single PREREQ_PM. i didn't count how much modules i installed recursively on that afternoon, but it was incredible. lots of the required modules were probably just optional but were in PREREQ_PM, so i maybe installed 20 modules i will never use. but hey, disk space is cheap ;-)

In reply to Re: Modules, Frameworks, and Reinventing the Wheel by tinita
in thread Modules, Frameworks, and Reinventing the Wheel by Velaki

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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:
    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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (8)
    As of 2021-01-16 12:25 GMT
    Find Nodes?
      Voting Booth?