Jeff,
Like IRC, "just ask". There are a lot of smart people here and I've gotten
1. Specify platform and Ruby versions. Also, other tools or gems being used.
âThis is really important, but subtle. Ruby 1.8.7 is long dead, but still
gets a lot of use. A lot of things changed between 1.8 and 1.9 (which is
also long dead, but still gets a lot of use.) And there are differences
(both in detail and in conformance) between different implementations
(MRI/CRuby, JRuby, Ruboto, Rubinius, âetc.) Knowing your environment can
help us help you a lot better.
2. Specify the question. The more specific, the better.
â"Specific" is not the same as "short." If everyone asked this sort of
question, I'd be such a happy camper:
*I want to do <*this generalâ thing*>. As a part of it I'm doing <*this
specific thing*>. I am trying <*this approach*>, which I though would
<*have this
effect*>, however it seems to <*do this other thing*> instead. Can you
help? Here is a short snippet copied-and-pasted from my codebase/link to a
gist that demonstrates my attempt.*
3. Show some code. That does three things; it often points out the error
as you type, it shows people you're put some effort into it, and it gives
an explicit demonstration of your code.
âIt also gives us an idea of where you're at as a programmer. People who've
spent 25 years writing C code tend to produce drastically different code
from those who've done 10 years of java, or 5 years of
ECMAScript/javascript, etc. and of course they're all different from
someone who's never really done coding before.
What you already know will change how we approach both: understanding your
problem, and explaining a solution in a way you'll understand.â
4. Be patient and thoughtful. Like I said, there are a lot of smart folks
here. Most of they have day jobs and families, not sure if anyone is paid
to just sit on the e-mail list and answer questions.
âI'm certainly not.
Paid, that is; I'd like to think I'm patient and thoughtful. In the Ruby
community we have a saying, centred on the man who created the language: *Matz
is nice, so we are nice*.
Cheersâ
--
Matthew Kerwin
http://matthew.kerwin.net.au/