Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
to learn is a matter of intelligence and intelligence is matter of choice

Good point. But as you wrote:

Our [...] goal is to offer our solutions or opinions and underline well in red which are good and wise answers; recently a bunch of discussions pointed to the necessity to show in better way good answers and good coders.

It is hard for a beginner to estimate the quality of a posting. The existing voting system does not help here, because you can't see the votes a posting has collected. You need to vote first. Initiates can't vote at all, Novices can vote only twice, so they can get a quality estimate for only two answers. And of course, you need to find and study the voting documentation (e.g. Voting/Experience System) first, while your real problem waits for a solution.

So yes, an improved voting / rating system would help beginners.

When there is a discussion about something I know, even little, If I can show another way, i take my slice of freedom and I post something; if it is wrong and downvoted and some big monks explain why my contribution was no wise.. is always a way to teach and to learn, for me and others.

My meditation is about intentionally posting bad code (sorry, missed that important word in the meditation), not about posting "accidentally" bad code.

I can produce many examples but one for all is Find 30 days from today's date

Easy: perl -E 'sleep 30*24*60*60; say scalar localtime' ;-)

Smart snippets, oneliners, are not wise? If they provoke challenge and fun so they can be a big boost while learning Perl.

Right. But it requires a beginner willing to learn. So yes, it's a good thing.

Golf code in beginner thread? I can assure you from my experience that is completely unharmfull: in the past I looked at such code more like to some kind of ASCII art, like Linus at russian names.

I doubt that. If you start with perl, even good code looks like ASCII art or line noise. Especially if perl is your first language. For me, Perl was language number 5 or 6, so I could see structures even without knowing the language. MUMPS was number 15 or 20, and even if it looked like a cat ran several times over an old typewriter, it took me just a few hours to understand the basics and a few weeks to write significantly better code than my instructor. Beginners don't have that amount of experience.


Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

In reply to Re^2: Don't post bad code! by afoken
in thread Don't post bad code! by afoken

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 musing on the Monastery: (4)
    As of 2019-08-25 19:49 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found