So far, the answers presented mostly touched on teaching a COBOL programmer to write in Perl.

This persons problem seems to run a bit deeper, in that they don't understand the factoring process. It's been my experience that some people are just not cut out for programming. They may like computers, they may be able to use computers, and they may want to program, but unless you can factor a problem down to the level where it can be implemented, I don't think it really matters what programming language you inflict on them. Until we have languages that have a DWIMNWIS (Do What I Mean, Not What I Say) statement, they just won't "get it".

I would suggest that you get a feel for this person's current ability to factor problems, create a couple of scenarios, and see if they can solve them. You may have to break the news to them that they should stay an operator, or become a plumber. It's unfortunate, but the reality is that some people will never reach the level required.

This is also what differentiates people who are comfortable writing in assembly, and those that can only cope with high level languages. These people can conceptualize a "if ($a == $b)" in Perl, but not grasp the "get the address of $a, load the contents, get the address of $b, load the contents, compare, and branch if not equal" implementation in assembly.

--Chris

e-mail jcwren

In reply to (jcwren) RE: I need a bit of mentoring advice by jcwren
in thread I need a bit of mentoring advice by mpennucci

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.