Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

A *scratch area*

by scottstef (Curate)
on Mar 12, 2001 at 20:01 UTC ( [id://63826]=monkdiscuss: print w/replies, xml ) Need Help??

Some of us in our quest for knowledge are constantly asking the *wise* ones from chatterbox for wisdom getting sniplets of code to work. Is there any way to get a disposable area where we could quickly post snipplets of code so people can tell us when we are missing a semi. This place could then just have a remove button so the code could be removed when it works a well as it should. I do not think it should be something that should be permanent- just a place where people can look at it.

Replies are listed 'Best First'.
Re: A *scratch area*
by turnstep (Parson) on Mar 12, 2001 at 20:11 UTC

    This has come up before, but a good quick disposable area is your own home node, which is not only easy for people to find, but can be edited by you as much as you like. (And people cannot vote it down either!)

Re: A *scratch area*
by merlyn (Sage) on Mar 12, 2001 at 20:12 UTC
    Why should you get the benefit of someone else's wisdom, but no-one else?

    That's one of the reasons that we say "put it in SOPW instead of typing it into the CB". We can answer it once and for all that way.

    So I say no to this requested feature.

    -- Randal L. Schwartz, Perl hacker

      I guess being new to perl- i just am a little intimidated putting code in for what i condsider stupid perl tricks to reinforce leaning perl into sopw. Especially when 90% of the time the codelets don't work because of a syntactical error. Semantical errors I would post there- better implementations, more efficient, etc.. Its just at this point i get really happy if it WORKS the way I expected. I have no problem sharing code/snipplets, just at this point i am worried about getting the stuff to work, and then i go back and make it pretty. Thanks,
      It would be nice if there were some sort of shared preview view then, where you could, on finding two or three friendly, willing monks around the house, post some code, let folks poke at it and then finally push 'submit'.

      I recall mentioning this myself a while back; I'd some vaguely perl related (a script that would be perl but was a 4 line shell hack to start w/) cgi problem that I wanted to ask somebody smarter about. It didn't fit in the CB and my SOPW got hammered (not, of course, that I care ;-) when I was done and I wasn't really able to get any on-going discussion, i.e. "well, what if I did XX? Okay, maybe then I could put this in a hash ..." etc. w/o having 12 replies to my own post. Okay, in the end, this problem appeared to BillG's fault (naturally) but the idea of having a scratch area to ask the not-quite SOPW stuff was very appealing. To the great one's comment above, that is *not* to say I wouldn't post what I got once the 'scratching' was finished, but heck even Da'Vinci (3rd base for the '52 Cardinals) used a paint scraper now and then. Not all of us write perfect code first time out.

      a

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://63826]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found