• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pair Programming and MVC

 
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought there might be a co-relation between the two.


The comment by TrygveReenskaug quoted above fits nicely with the way I like to think about MVC:
* The View is connected to the user's eyes;
* the Controller is connected to the user's hands;
* and the Model is connected to the user's mind.



Pair Programer One see ( led by PP Two's example)
Pair Programmer One do
Pair Programmer One hear
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How much experience with PP do you have? I ask because, having practiced it for quite some time, I don't see any connection to MVC.
MVC is about separation of concerns. You do it if you want to be able to replace the input strategy (for example) without affecting the business rules and the output strategy.
PP is about collaboration. You do it because you want the programming partners to inspire each other. There typically *is* *some* division of labor happening in a programming pair, but that isn't he only (or even most important) aspect of it, in my humble opinion.
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ilja Preuss:
How much experience with PP do you have?


Some before they called it Pair Programming.
Pair Programming would be appropriate in two situations, IMHO
- training and exploring alternative solutions/brain storming.
Otherwise , it is overkill especially as solutions are documented in the code. Though it would be good for every Programmer to get to grips with the practice by asking to PP when needed.
I just thought the simplistic take on MVC would be and make PP easier to adopt if that's all it was. But apparently it isn't.
[ March 10, 2004: Message edited by: HS Thomas ]
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by HS Thomas:
Some before they called it Pair Programming.
Pair Programming would be appropriate in two situations, IMHO
- training and exploring alternative solutions/brain storming.
Otherwise , it is overkill especially as solutions are documented in the code.


Well, my experience is quite different - namely that it is far from overkill for nearly any development task...
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OF course my previous post describes PP without the tools and test-driven development. With, PP is another force altogether. I am sure there is a pattern that fits.

PairProgrammingPattern
Known uses: Medical schools have a philosophy of, "See one, do one, teach one."
[ March 15, 2004: Message edited by: HS Thomas ]
 
New rule: no elephants at the chess tournament. Tiny ads are still okay.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic