Read What you refuse to see, is your worst trap.

The more clearly you explain to him that he sucks, the more important it will be for him to defend himself. The stupider the justifications that he winds up using in that defence, the more upset he will become, and the harder it will be for him to listen. If you are explicitly holding yourself up as the good example and him up as the bad one, expect his resistance to increase ten-fold.

This is a no-win situation.

You either have to find a way to divorce his ego from his code (likely impossible), or find ways to encourage him to improve while avoiding triggering a defensive reaction (somewhat tricky). It is helpful to be able to recognize when you have triggered defensive reactions that make communication impossible. Then you can try to narrow in on ways to avoid that situation, and ways to defuse it. This will take practice, and I cannot guarantee success. But I can guarantee that success will become more likely.


In reply to Re: Coding styles: OOP vs. Subs by tilly
in thread Coding styles: OOP vs. Subs by nikos

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.