... focus on the important bit: solving the customer’s problem. 9.3 Team Colors In Extreme Programming Explained, Kent Beck wrote, “The standard must be adopted voluntarily by the whole team.” This ... behavior and enables refactoring. • uses fine-granularity, feature-driven portability. It uses narrow feature checks (for example, defined $MacPerl::Version and chr( 65) eq ’A’)) instead of...
Ngày tải lên: 05/08/2014, 10:21
... re- duces quality, which can be difficult to recover from, because the team falls into the bug-fixing trap soon after launch. Too little refactor- ing multiplies defects through copy-and-paste-itis: ... classical testing and quality assurance. 3 In Testing Extreme Programming, Lisa Crispin and Tip House state that “All ac- ceptance tests on an Extreme Programming project must be automated...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 1 ppt
... . . . . . . . . 153 15. 13Functional Programming . . . . . . . . . . . . . . . . . . . . . 154 15. 14Outside In . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 15. 15May I, Please? ... . . . . . . . . 155 15. 16Sec ond Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 15. 17Unit Test Maintenance . . . . . . . . . . . . . . . . . . . . . . 157 15. 18S...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 2 pps
... described in the previous sections. In his book Extreme Programming Explained Kent Beck defines the 12 practices as follows (quoted verbatim): The Planning Game Quickly determine the scope of the ... weeks. Pair Programming We continuously balance between improving internal quality and adding business function based on peer-to-peer discussions and individual task commitments. A pai...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 3 pptx
... copy-and- paste, because the refactoring required to make the pasted code reusable may be lengthy. 5 Write down the problem on a story card and bring it to the next planning game or iteration planning ... the code. 5 Pair programming teaches us about sharing, good manners, and acknowl- edging others’ feelings and opinions. It’s your average preschool curriculum. 6 And, by the way, p...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 6 doc
... ideal, because alpha and 1 - alpha are identical, which creates a symmetry in the first equation: today’s average = today’s price x 0 .5 + yesterday’s average x 0 .5 5 Thanks to Ion Yadigaroglu ... the customer’s per- spective and tests end-user functionality, usually through the same interface that an ordinary user uses. In constrast, a unit test exercises an API, for- mally known as a...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 7 pot
... { use_ok(’EMA’); } ok(my $ema = EMA->new(4)); is($ema->compute (5) , 5) ; is($ema->compute (5) , 5) ; is($ema->compute(10), 7); dies ok {EMA->new (-2 )}; dies ok {EMA->new(0)}; lives ok {EMA->new(1)}; ... { use_ok(’SMA’); } ok(my $sma = SMA->new(4)); is($sma->build_up_length, 3); is($sma->length, 4); is($sma->compute (5) , 5) ; is($sma->compute (5) ,...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 8 ppsx
... ’AUTHORIZATION’); is($pop 3-& gt;User($cfg->{USER}), $cfg->{USER}); is($pop 3-& gt;User, $cfg->{USER}); is($pop 3-& gt;Pass($cfg->{PASSWORD}), $cfg->{PASSWORD}); is($pop 3-& gt;Pass, $cfg->{PASSWORD}); is($pop 3-& gt;Login, ... ’DEAD’); is($pop 3-& gt;Alive, ’’); is($pop 3-& gt;Host($cfg->{HOST}), $cfg->{HOST}); is($pop 3-& gt;Host, $cfg->{HOST}); $p...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 9 pps
... ’LIST’; $CMD=~ tr/a-z/A-Z/; $me->Alive() or return; my @retarray = (); my $ret = ’’; $me->_checkstate(’TRANSACTION’, $CMD) or return; $me->_sockprint($CMD, $num ? " $num" : ’’, $me->EOL()); my ... rights reserved nagler@extremeperl.org 151 my $num = shift || ’’; my $CMD = shift || ’LIST’; $CMD =~ tr/a-z/A-Z/; $me->Alive() or return; my @retarray = (); my $ret = ’’;...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 10 pps
... Nagler All rights reserved nagler@extremeperl.org 158 subject matter oriented program- ming, 63 Swiss Army Chainsaw, 19 task, 33 test-driven design, 83 test-first programming, 83 the customer, vi, ... 72 Functional programming, 154 functional tests, 57 global refactoring, 106 gumption trap, 44 Hubris, 18 idempotent, 150 Impatience, 17 imperative programming, vii implementation risk, 3...
Ngày tải lên: 05/08/2014, 10:21