Click here to Skip to main content
14,425,416 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Military "normalizing" cyber-space Pin
Maximilien24-Dec-14 9:36
MemberMaximilien24-Dec-14 9:36 
NewsTwo keys to superior code quality: Pair programming and mentoring Pin
Kent Sharkey22-Dec-14 13:48
staffKent Sharkey22-Dec-14 13:48 
GeneralRe: Two keys to superior code quality: Pair programming and mentoring Pin
R. Giskard Reventlov22-Dec-14 13:55
MemberR. Giskard Reventlov22-Dec-14 13:55 
GeneralRe: Two keys to superior code quality: Pair programming and mentoring Pin
Duncan Edwards Jones22-Dec-14 22:57
professionalDuncan Edwards Jones22-Dec-14 22:57 
GeneralRe: Two keys to superior code quality: Pair programming and mentoring Pin
NormDroid22-Dec-14 23:55
professionalNormDroid22-Dec-14 23:55 
GeneralRe: Two keys to superior code quality: Pair programming and mentoring Pin
#realJSOP23-Dec-14 0:53
mva#realJSOP23-Dec-14 0:53 
GeneralRe: Two keys to superior code quality: Pair programming and mentoring Pin
Pualee23-Dec-14 3:17
MemberPualee23-Dec-14 3:17 
GeneralRe: Two keys to superior code quality: Pair programming and mentoring Pin
Marc Clifton23-Dec-14 5:34
communityengineerMarc Clifton23-Dec-14 5:34 
Pair programming and mentoring work really well when there is a specific and obtainable goal, whether it's helping to debug some code, walk through an implementation to teach how something is done, or simply code review.

If you don't state the goal of the PP session up-front, then it's usually a waste of time, as one person ends up watching the other (the dominant/submissive pattern mentioned above.)

Often enough, I end up doing pair programming remotely, which I've found works quite well, and possibly even better than side-by-side PP. The reason being, PP works best when there's a "breathing" motion to it -- for example, when debugging, we may diverge in figuring out why the bug is happening and then converge on the solution. It's a lot easier to do remotely because in addition to the shared screen, we can individually explore different paths as well, whether it's looking at different code, inspecting the database, googling for alternative implementations, drawing out some architecture.

So, the key, in my opinion, to good PP is to avoid the monolithic "let's look at what this is doing together" but rather, "you look at this while I look at that" which brings more information to the problem at hand while simultaneously dialoging about one's findings. I find that to be a very effective and efficient approach.

Marc

GeneralRe: Two keys to superior code quality: Pair programming and mentoring Pin
Paul M Watt23-Dec-14 6:44
mentorPaul M Watt23-Dec-14 6:44 
NewsORM is an offensive anti-pattern Pin
Kent Sharkey22-Dec-14 13:26
staffKent Sharkey22-Dec-14 13:26 
GeneralRe: ORM is an offensive anti-pattern Pin
newton.saber22-Dec-14 14:15
Membernewton.saber22-Dec-14 14:15 
GeneralRe: ORM is an offensive anti-pattern Pin
PIEBALDconsult22-Dec-14 14:24
professionalPIEBALDconsult22-Dec-14 14:24 
GeneralRe: ORM is an offensive anti-pattern Pin
newton.saber22-Dec-14 18:50
Membernewton.saber22-Dec-14 18:50 
GeneralRe: ORM is an offensive anti-pattern Pin
PIEBALDconsult22-Dec-14 14:22
professionalPIEBALDconsult22-Dec-14 14:22 
GeneralRe: ORM is an offensive anti-pattern Pin
Duncan Edwards Jones23-Dec-14 0:07
professionalDuncan Edwards Jones23-Dec-14 0:07 
GeneralRe: ORM is an offensive anti-pattern Pin
pt140122-Dec-14 21:42
Memberpt140122-Dec-14 21:42 
GeneralRe: ORM is an offensive anti-pattern Pin
Marc Clifton23-Dec-14 5:23
communityengineerMarc Clifton23-Dec-14 5:23 
GeneralRe: ORM is an offensive anti-pattern Pin
Rob Grainger23-Dec-14 6:19
MemberRob Grainger23-Dec-14 6:19 
GeneralRe: ORM is an offensive anti-pattern Pin
PIEBALDconsult25-Dec-14 4:44
professionalPIEBALDconsult25-Dec-14 4:44 
NewsExploits for dangerous network time protocol vulnerabilities can compromise systems Pin
Kent Sharkey22-Dec-14 13:16
staffKent Sharkey22-Dec-14 13:16 
NewsHere’s how Microsoft described its newfangled product called “Windows” when it went public Pin
Kent Sharkey22-Dec-14 12:24
staffKent Sharkey22-Dec-14 12:24 
GeneralRe: Here’s how Microsoft described its newfangled product called “Windows” when it went public Pin
PIEBALDconsult23-Dec-14 5:44
professionalPIEBALDconsult23-Dec-14 5:44 
NewsOpen source: Both bigger and less relevant than you imagine Pin
Kent Sharkey22-Dec-14 12:15
staffKent Sharkey22-Dec-14 12:15 
NewsTexas Instruments builds an alternative energy for the Internet of Things Pin
Kent Sharkey22-Dec-14 11:54
staffKent Sharkey22-Dec-14 11:54 
NewsTeaching kids Java programming Pin
Kent Sharkey22-Dec-14 11:52
staffKent Sharkey22-Dec-14 11:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.