Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Writing answers for newbie questions

by VSarkiss (Monsignor)
on Jun 27, 2001 at 01:21 UTC ( #91757=note: print w/replies, xml ) Need Help??

in reply to Writing answers for newbie questions

Well, showing efficient code is not necessarily a bad thing. I think the problem is when the newbie's question gets twisted into a golf challenge! If someone's new to the language, I think it's better to provide them with something that may use up a few more symbols, but is easier to understand.

The recent thread on Removing Duplicates in an array is a great example. The first answer is an RTFM , followed by two rounds of golf. I'm not pointing fingers at the people who posted; I've done all of these myself. (I think RTFM answers are appropriate sometimes, but indicate where in the FM to R! If a clear and detailed writeup is available, provide a link to the node or external page.)

I don't think a separate node type or area for "newbie questions" is really necessary. We just need to indicate somehow that the emphasis in SOPW answers should be on clarity and simplicity of the code. Efficiency always counts, but don't sacrifice legibility and ease of understanding for a few cycles.

  • Comment on Re: Writing answers for newbie questions

Replies are listed 'Best First'.
Re: Re: Writing answers for newbie questions
by Tiefling (Monk) on Jun 27, 2001 at 13:25 UTC
    Ok, I admit it, I'm the person who teed off the golf in that thread.

    I'm a newbie myself, as davorg and others know. I wanted to see what ways of doing what I suggested there were, as a means of getting a better grip of the language. Admittedly, I'll need to pick over MeowChow's answer with tweezers to understand it, but I certainly didn't intend to make the thread as a whole inaccessible. There were clear, nicely stated pointers there to the right answer. I was attempting to highlight the fact that the right answer was attached to the 'wrong' question in the FAQ - which I felt was unhelpful to, er, newbies.

    Addendum: I'm tired of being asked to use Super Search. It's a nice feature and all, but sometimes I want to ask the question that's on my mind, in English (or $human_language in general) of real people and get an answer that relates the WTDI to my own application.


    -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT d++ s:- a-- C++ UL P++ L++(+) E? W+(++) N+ o? K w+(--) !O M- V? PS+ PE- Y PGP- t+ 5 X+ R+++ tv- b+++ DI++++ D+ G+ e++ h!(-) y +? ------END GEEK CODE BLOCK------

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://91757]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2021-01-15 18:51 GMT
Find Nodes?
    Voting Booth?