Wiggins d'Anconia wrote:

> More code showing specifically why I have been rambling about $_ in the
> last couple of days.  If you are going to shift off the argument list
> why not just do it in the while loop when you are setting $_?

Thanks, Wiggins, and keep on rambling.  The point needs reiteration.  Aside from
the needle-in-a-haystack problems, I'd say that it's a good rule of thumb:

If you have to specifically assign $_, don't bother.  Perl already assigns it in
the contexts in which it is appropriate

> And Perl
> is very nice and lets you leave the semi-colons off in the above, to me
> it is a bad style to get into and will likely lead to errors later when
> you (or someone else) decides to add additional statements to those
> blocks.  While you are a beginner code *exactly* what you mean, use lots
> of names, avoid the shortcuts, later when you don't need to ask these
> kinds of questions, then sign up for a golf tournament...

Yes and yes.

>
>
> > #}
> >
> > Thanks in advance, I really want to put, Perl with warnings and strict
> > in my CV ;-))))))))))))
> >
>
> I have wondered about this for a while, putting that you use warnings
> and strict into a CV is a tough choice, to me I wouldn't likely talk to
> a candidate unless they used them, but I am not sure I would put them on
> a CV because to an advanced person it would seem overally obvious.
> Though I think it is something good to bring up in an interview, and I
> have had several interviewers ask about them... what does the group
> think (about including it in a CV)? (Obviously I know what the thoughts
> are about including them in the code)....And naturally code samples
> would reflect their use.
>

I think about the only place it would be appropriate is in notes describing
coding samples available for interview or included.  If sufficiently understated,
it may reassure an interviewer or screener that they are not wasting time:

Codes samples included  [all compiled using strict compilation option and
pre-tested]

Which at least indicates to the reader that they are looking at something which
has run successfully.  Definitely not something to wave a big flag over,
though--it would be like listing:
Have mastered ABCs
...at the top of a resume for an English professorship.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to