When you are Pretty Sure of the answer, but you want to confirm becuase it'll Muck Up Important Things, you'd ask. Or at least, I would.
Sometimes you just don't have the time to understand the how and why of every bit of code you write. Eventually (or so you promise yourself) you'll learn, but the Boss needs the Answer now
, if not yesterday.
For instance, my contribution to the CB today was "what is the size of an array?" If someone asked me that, I'd probably thwap them and ask them to look it up (half because I don't know) - but my question was only probing to find out if there is some obvious value that everyone knows and I don't. (For the record, I did Google :P it up before asking.) I distinctly remember reading about 10000 elements in someone's array on this site, and I also remember defining the number of elements in an array in C. The answer I got was something to do with vroom. It, in a strange way, reassured me that there wasn't a number one could/would throw at me. So that was not the bug I was looking for in my program.
Circular thinking, I know, but a whole bunch of us do it.
BTW, if whoever did reply to me in the CB reads this - thanks. :) I got DCed before I could notice your name, or reply, and throwing a generic thanks wasn't really going to help (or was it?)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||