^         a
                                 Z                           &               ]
                               ...
•                            ^                   a   [^
    • [                                  ]                a    [^
...
•               Q                                    *ZZ[     =

    •                   [_bc                             ...
¢
© 2007 Microsoft Corporation. All rights reserved.
Z                                ]
                                                            Z'
                        ...
,2
                                           302




                                                     _    a         ...
_         a                                          `a
           c     a
                                               ...
t
© 2007 Microsoft Corporation. All rights reserved.
^
               – 
                         •          =                      Z             =   P        =
              ...
Z'Z


              ^                         ^




                                                           w
         ...
^               aB   ^   Z   ]




                                                                       v
              ...
SXEOLF YRLG 6HW:LQ)RFXV VWULQJ W    ERRO PD[
                 ^
                   LI W      n| UHWXUQ
                   ...
Z===[  ===
      • ^Z Z ===
      •    Z ===
      •  ^[ L Z===




                                                     ¡...
Zbaca




              Z===[                            ===
      •                                        ^===
      •  ...
[ 
                                                     ^^ ^
                                                      4




 ...
!?         
                                                                       [




                                 ...
• `                     a                                         ^
               – Z                                  ^ ...
•                                               ]Z
               – `ac`                                 c     G
         ...
•                               ^B              
               –                           ^                 F ^


      ...
(Z ^
               –                     [    ^


      •                               ^               a      -
        ...
•                       a
                                  –                     a         _ ac     
                    ...
•               c                c
                                  –               a             =baca
                 ...
•                       a_    c       `
                                       –             a             =   `a        a...
Z ^                   [
    •              c                                        ^  ^           ]
    •             [  ...
[                           a ^[                 [      ^    ^Z
                                    a                     ...
x
                                                     €
© 2007 Microsoft Corporation. All rights reserved.
•                                                c        `   ^Z
              – K=                                       ...
•                       a                                    $ dWb      
                                                 ...
9LVXDO 6WXGLR 7HDP 6VWHP                                                           ^           a
                         ...
1(7 )UDPHZRUN                                       _   ac
      6           




                   c`                   ...
…
                                                     †
© 2007 Microsoft Corporation. All rights reserved.
•                       aZ                       a   ` ^     Z _

              –   a!                                    ...
•
              –                    U   [                 a
              –                   ac    
              –     ...
9LVXDO 6WXGLR 7HDP 6VWHP                                 ^       a   ac   `

                    a                        ...
^
     ^




                      c`A                                            c`   


                                ...
c`A




                                                              ˆ‰‘’
    •
              –            c` [         ...
c`                       




                                                         “ ˜™def
    •
              –B     ...
a                  /2




                                                                                                ...
c                !




                                                                                          u ˜™def
 ...
•




                                                                                                        –
          ...
…
                                                     „
© 2007 Microsoft Corporation. All rights reserved.
•               Z                                     a ^^
              – ` a    =c`b                                    ...
9LVXDO 6WXGLR 7HDP 6VWHP                                        ^   c   c

                    a                          ...
•   a
    • baca                                                           J


                                           ...
•                               c
               – _                        b aZ
               – !                       ...
•              ]                ]                         c   c



     96        c`             a




          2        ...
Ð
                                                     Ñ
© 2007 Microsoft Corporation. All rights reserved.
•                                                    a
              –            c`                        ` a         ^ ...
• +                                      a             ^2     `a

                       +                a               ...
9LVXDO 6WXGLR                                           ^2     `a

             c                                         ...
• +                       a-  I
    •                       a 
    • c                     c     `a                       ...
•                                       Z            I   ^[              a         -


                                   ...
• I                              ^                                 `a      

              –    `a                        ...
`a
              –_ c `                                            [=-
              –c c                                 ...
Ø
                                                     Ñ
© 2007 Microsoft Corporation. All rights reserved.
c`
                                       #
                                                     a
                       ...
• -                                                a]
    • `a                                             a   %97




   ...
9LVXDO 6WXGLR 7HDP 6VWHP                                       ^           c

                                            ...
•                                                       ; ]  
                    Z                                a



  ...
Upcoming SlideShare
Loading in …5
×

もっとイケてるコードへ ~ 開発者が行う品質の作りこみ

996 views

Published on

※本資料は、2007年に作成されたものです。情報は、当時のものです。

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
996
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

もっとイケてるコードへ ~ 開発者が行う品質の作りこみ

  1. 1. ^ a Z & ] c` ac bc _ ` c`a X: KWWSEORJVPVGQFRPWRPRKQ © 2007 Microsoft Corporation. All rights reserved.
  2. 2. • ^ a [^ • [ ] a [^ = _ ` a[^ ^ ^^ ; • ; ^ ; [ ^= • ^ Z • ^ 2[ = ^[   © 2007 Microsoft Corporation. All rights reserved.
  3. 3. • Q *ZZ[ = • [_bc [ a A c I [[ ] KWWSEORJVPVGQFRPWRPRKQ • = LZ :HOFRPH KWWSEORJVPVGQFRPWRPRKQFRQWDFWDVS[ ¡ © 2007 Microsoft Corporation. All rights reserved.
  4. 4. ¢ © 2007 Microsoft Corporation. All rights reserved.
  5. 5. Z ] Z' a = a 2 `a a_ c ` cbc ^ ,7 ` ` ` a# = ac _ c` ab c= ca ^ A [2 `a Z' c` a 2 `a ¤ ¥ 6 8 © 9 D 7 C @ 5 ! % ¨ # # 1 2 2 3 # 1 ' ' 4 B § $ $ $ $ A A ! ( ) ( ) ! ( ) ( ( ! ¦ 0 £E © 2007 Microsoft Corporation. All rights reserved.
  6. 6. ,2 302 _ a `a c` a a ` '% 3UR b a `a` ac`a ,73UR F © 2007 Microsoft Corporation. All rights reserved.
  7. 7. _ a `a c a f`UH ga VI ic XQ qe S rS T pdYR h b WP '%3UR sT q c` a` bc G © 2007 Microsoft Corporation. All rights reserved.
  8. 8. t © 2007 Microsoft Corporation. All rights reserved.
  9. 9. ^ – • = Z = P = –) = • @ Z' ^@ @ ^@ @ Z ^@ – • _ _ a • ¼ ^ • 7 1) 7 KWWSJRJHQDOOJXLGHFRP u © 2007 Microsoft Corporation. All rights reserved.
  10. 10. Z'Z ^ ^ w v © 2007 Microsoft Corporation. All rights reserved.
  11. 11. ^ aB ^ Z ] v v © 2007 Microsoft Corporation. All rights reserved.
  12. 12. SXEOLF YRLG 6HW:LQ)RFXV VWULQJ W ERRO PD[ ^ LI W n| UHWXUQ ? ` Z===[ === • ]Z === • Z === • Z ^===   v © 2007 Microsoft Corporation. All rights reserved.
  13. 13. Z===[ === • ^Z Z === • Z === • ^[ L Z=== ¡ v © 2007 Microsoft Corporation. All rights reserved.
  14. 14. Zbaca Z===[ === • ^=== • Z ^=== • Z [^=== v ¢ © 2007 Microsoft Corporation. All rights reserved.
  15. 15. [ ^^ ^ 4 Z===[ === • - Z === • Z- === • Z ^ === v £ © 2007 Microsoft Corporation. All rights reserved.
  16. 16. !? [ ]Z Z [ = ^ c a [ [Z Z=== • - === • [ ZZ ^ a === F v © 2007 Microsoft Corporation. All rights reserved.
  17. 17. • ` a ^ – Z ^ Z ^ =4 Z Z ^ I • A @ ^@ @ `a ^@ Z^ • U Kc Z ^ `a –! 8 = ^Z Z ^ • ^ –i = • Z ] • ] Z v G © 2007 Microsoft Corporation. All rights reserved.
  18. 18. • ]Z – `ac` c G • ] =? • aL • `a – ` L • 2 `acbc Z • I ^ _ `Z ^ • c` a# – = Z6 Z^ a t v © 2007 Microsoft Corporation. All rights reserved.
  19. 19. • ^B – ^ F ^ • ^ –
  20. 20. (Z ^ – [ ^ • ^ a - – ^ a ] u v © 2007 Microsoft Corporation. All rights reserved.
  21. 21. • a – a _ ac • ^B _ ac ^Z • a ac ` – a ^ _ • ^B ^Z Z   w © 2007 Microsoft Corporation. All rights reserved.
  22. 22. • c c – a =baca • ^B _ `L ^b aca Z Z Z • 2 `a – `a b =[ ^ Z • ^B b =I [ ^Z   v © 2007 Microsoft Corporation. All rights reserved.
  23. 23. • a_ c ` – a = `a aZ Z= ^Z ^Z I • ^B ] _ ^Z • ` ` a# ac _ – aZ ^ [ZLX • ^B a = a J 2     © 2007 Microsoft Corporation. All rights reserved.
  24. 24. Z ^ [ • c ^ ^ ] • [ 2 c [ ^ = ` ? ] 0 2 `a 0 2 `a # a # a   ¡ © 2007 Microsoft Corporation. All rights reserved.
  25. 25. [ a ^[ [ ^ ^Z a a ac ` [ a ^Z c c [ a ^[ - ^ ^Z 2 `a a_ c ` [ a - ^ ^Z ` ` a# ac _ x y © 2007 Microsoft Corporation. All rights reserved.
  26. 26. x € © 2007 Microsoft Corporation. All rights reserved.
  27. 27. • c ` ^Z – K= [ – a2 • – = U [ a – `_c cbc Z[ – ac x  © 2007 Microsoft Corporation. All rights reserved.
  28. 28. • a $ dWb ^= ^ Z SXEOLF YRLG 6HW:LQ)RFXV VWULQJ W ERRO PD[LPL]H ^ LI W UHWXUQ $ ^ c LI 1DWLYH0HWKRGV6HW)RUHJURXQG:LQGRZ 1DWLYH0HWKRGV)LQG:LQGRZ QXOO W WKURZ QHZ (UURU RXOG QRW ORFDWH DSS W ` $ _ `L ^ a ,V1XOO2U(PSW Z x ‚ © 2007 Microsoft Corporation. All rights reserved.
  29. 29. 9LVXDO 6WXGLR 7HDP 6VWHP ^ a c ` c _ ac http://msdn2.microsoft.com/ja-jp/library/ms229042.aspx ^[ ] • ca Z • c` a2 • bc Z •A ca Z ZLWK x ƒ © 2007 Microsoft Corporation. All rights reserved.
  30. 30. 1(7 )UDPHZRUN _ ac 6 c` a a = A Z x „ © 2007 Microsoft Corporation. All rights reserved.
  31. 31. … † © 2007 Microsoft Corporation. All rights reserved.
  32. 32. • aZ a ` ^ Z _ – a! _ – c` 8 ^
  33. 33. • – U [ a – ac – a 6 I … ‡ © 2007 Microsoft Corporation. All rights reserved.
  34. 34. 9LVXDO 6WXGLR 7HDP 6VWHP ^ a ac ` a 6 2 a! _ b =B Z3 •0LFURVRIW 5HVHDUFK Z [ ^ ` •:LQGRZV 26 a [ = ] ] [2 6 c` a c` ` a … x © 2007 Microsoft Corporation. All rights reserved.
  35. 35. ^ ^ c`A c` ^ ^ ` ^ ^ a /2 c ! … … © 2007 Microsoft Corporation. All rights reserved.
  36. 36. c`A ˆ‰‘’ • – c` [ * – “ — ” • • _Z Z … y © 2007 Microsoft Corporation. All rights reserved.
  37. 37. c` “ ˜™def • –B c` g j k h ” • i • _Z Z … € © 2007 Microsoft Corporation. All rights reserved.
  38. 38. a /2 l ˜™def – • ^^ a o n p t r s q m VWDWLF FODVV 3URJUDP ^ UHJLRQ $SSOLFDWLRQ (QWU 3RLQW VXPPDU! 7KH PDLQ HQWU SRLQW IRU WKH DSSOLFDWLRQ VXPPDU! 67$7KUHDG@ VWDWLF YRLG 0DLQ VWULQJ@ DUJV ^ $SSOLFDWLRQ(QDEOH9LVXDO6WOHV $SSOLFDWLRQ6HWRPSDWLEOH7H[W5HQGHULQJ'HIDXOW IDOVH :RUNIORZ DUJV ` HQGUHJLRQ UHJLRQ 6WDWLF 0HWKRGV VXPPDU! 3ULPDU ZRUNIORZ IRU WKH DSSOLFDWLRQ VXPPDU! SDUDP QDPH DUJV ! RPPDQG OLQH DUJXPHQWV SDUDP! SULYDWH VWDWLF YRLG :RUNIORZ VWULQJ@ FPGDUJV ^ ROOHFW WKH OLVW RI FRPPDQG OLQH DUJXPHQWV /LVWVWULQJ! DUJV QHZ /LVWVWULQJ! FPGDUJV 6KRZ XVDJH VQWD[ LI WKH XVHU VR DVNV LI 8VH$UJ DUJV ^ 6KRZ$ERXW UHWXUQ ` …  © 2007 Microsoft Corporation. All rights reserved.
  39. 39. c ! u ˜™def – • v “ “ ~y }x |w z { – _Z Z! Z %RRO 3DUVHRPPDQG/LQH VWULQJ@ DUJV ^ LI DUJV/HQJWK 6KRZ+HOS UHWXUQ IRU LQW L L DUJV/HQJWK L VZLWFK DUJVL@ ^ FDVH 6KRZ+HOS UHWXUQ IDOVH FDVH LQSXW LI DUJV/HQJWK ! L )LOH([LVWV DUJVL @ ,QSXW)LOH DUJVL @ EUHDN FDVH F RODSVH WUXH EUHDN ` UHWXUQ WUXH ` … ‚ © 2007 Microsoft Corporation. All rights reserved.
  40. 40. • – • • † †  ‡ ÉŹ ™¥ ˆ‰ ʋ ™ ˆ £ µ‹ ¤ “ ™ Š‹ Ë › º  Œ Ë Æ¥ Œ –! ­  Ç Œ ®‰ ˆ ² È »” ’ Ž² ™  ¯  ² žŸ Ž • [ –Š Œ ‡ –Œ” £ ˆ ¹ –° ˆ‰ • Á º Š  ™ “ ±Œ ’ ¢ Œ © 2007 Microsoft Corporation. All rights reserved. Œ ˆ‹ ¯ È »”£ ²  –Œ ›¥ Œ  c ^ ³ ‘ ’Ë © ‘ ® ˆ «Œ = ´ “ £ “ ’ Š‹ ž ®‰ “  ± •” ŒË © º ³Œ Š ¢º µ • £ ¼” ¶‡ š Š‰ –— “” ¢ · Œ ™˜ ʋ” Á¥ Œ” “ ·” ® › Š‹ a [ “ ™ Š Œ š ºË ¢œ¥ ½ ¾ ¸ ¢ Ž ›œ ¯” › ®¿ Z Z ° žŸ ¯‹ Â¥¥˜ ²‹ –°   Ê ¬œ ˆ “ žŸ ¯ Œ œ –É º ¡ ¯‹ » ¶ ¢ ‰ ” £ ™ º ! Œ 0DLQWDLQDELOLW ,QGH[ FORPDWLF RPSOH[LW   ¤¥ Œ“ ™ º” _ › ¤ » ¦™ ºÀ § Š‹” ` ¨ ™ ’‹ £ a3 3 ^^ ¢œ¥ Œ‹ › Á ¦© ¢ ¢ › ›œ¥ ¢ ª ›¥ – 06 5HVHDUFK Z :LQGRZV « £ ¢ ž © Â¥˜ ¥ £ ¢ ¬œ š ›Ã š¥ ™ª › © Ä   ¬ œ ™ š  ORJ /LQHV RI RGH a= v  ˜™def „€ H … ORJ +DOVWHDG 9ROXPH {‚ “ •ƒ … ƒ
  41. 41. … „ © 2007 Microsoft Corporation. All rights reserved.
  42. 42. • Z a ^^ – ` a =c`b ` 6 – baca J • – 6 – baca = F † y © 2007 Microsoft Corporation. All rights reserved.
  43. 43. 9LVXDO 6WXGLR 7HDP 6VWHP ^ c c a 6 • c • `ac ] ] • •2 `a ac_ • :HE `a ac_ • c a `a ac_ c c A a IZ ^ y ‡ © 2007 Microsoft Corporation. All rights reserved.
  44. 44. • a • baca J c c (;( ` a2 c c ! c ` a2 • `ac • '// ! h $631(7 x y © 2007 Microsoft Corporation. All rights reserved.
  45. 45. • c – _ b aZ – ! ^[ ` a Z ^ PDLQ $ ` a % ` a ` a • `ac – A – _ b aZ Z ÏÎÍ Ì ÏÎÍ Ì ÏÎÍ Ì ÏÎÍ Ì ÏÎÍ Ì ÏÎÍ Ì ÏÎÍ Ì ÏÎÍ Ì PDLQ $ ` a % ` a ` a … y © 2007 Microsoft Corporation. All rights reserved.
  46. 46. • ] ] c c 96 c` a 2 `a _ ` c c a A cb a :HE c a `a Ð Ð © 2007 Microsoft Corporation. All rights reserved.
  47. 47. Ð Ñ © 2007 Microsoft Corporation. All rights reserved.
  48. 48. • a – c` ` a ^ `a • ^[ `a •! I [ `aZ – Z - • a_ c ` a 6 • – `a • 7'' 7HVW 'ULYHQ 'HYHORSPHQW Ò Ð © 2007 Microsoft Corporation. All rights reserved.
  49. 49. • + a ^2 `a + a `aL `a • `a `aL c c `a ? ? ? `a ?? ? ? aL ? ?? Ð Ó © 2007 Microsoft Corporation. All rights reserved.
  50. 50. 9LVXDO 6WXGLR ^2 `a c * `a c` a `a c` a V • `a • 9% 1) ] ] . b a • $631(7 •` a ` 1(7 RPSDFW )UDPHZRUN • 3ULYDWH ` a [ ] • bc Z • c a `a a # •A ca `aZ ZLWK Ô Ð © 2007 Microsoft Corporation. All rights reserved.
  51. 51. • + a- I • a • c c `a ^ `a c c a `a a `aA `a `a ` a `a b `a ` a `a 4 [A a_ c `A `a ^ 6 `a$ _ _ `a% _ _ Õ Ð © 2007 Microsoft Corporation. All rights reserved.
  52. 52. • Z I ^[ a - b `a c c L ^ ^ `aL `a = c c % I ^ `a = `a b I ^ `a ` ^ a L ^ `a aL Ö Ñ © 2007 Microsoft Corporation. All rights reserved.
  53. 53. • I ^ `a – `a a
  54. 54. `a –_ c ` [=- –c c `a 2 `a `a ` a `a `aA `a Ñ × © 2007 Microsoft Corporation. All rights reserved.
  55. 55. Ø Ñ © 2007 Microsoft Corporation. All rights reserved.
  56. 56. c` # a `a _ a `a 6( abc ? bc ` a `a `a =A cb a X LX B ` a ca = ca =PO cb`ac Ù Ñ © 2007 Microsoft Corporation. All rights reserved.
  57. 57. • - a] • `a a %97 Ü Þ Ý Ú Û Ü Þ Ý Ú Û ê ç è ä ä é å æ ê ç è ä ä é å æ à Ü ß Ú Û à Ü ß Ú Û à Ü ß Ú Û à Ü ß Ú Û ã Þ Ý á â ã Þ Ý á % [ â % [ ca c`` c a A ^[ a %97 ca Ñ Ð © 2007 Microsoft Corporation. All rights reserved.
  58. 58. 9LVXDO 6WXGLR 7HDP 6VWHP ^ c # c` aB # •` ` a • ca c`` • c A b a • ca` ` ac # c c c` a# • 6 • c` a ac ` • c` ab c c`` Ñ Ñ © 2007 Microsoft Corporation. All rights reserved.
  59. 59. • ; ] Z a c ` ` a '// (;( ac ` ` a ^ `a # ; `a O Ò Ñ © 2007 Microsoft Corporation. All rights reserved.
  60. 60. • Z acbc - = Z^ a c a ` ` a '// (;( ac ac ` ` ` a `a # 2 `a c c Ñ Ó © 2007 Microsoft Corporation. All rights reserved.
  61. 61. • ^Z • Z [ = = • Z^[ ^ a • Z c , Ô Ñ © 2007 Microsoft Corporation. All rights reserved.
  62. 62. Õ Ñ © 2007 Microsoft Corporation. All rights reserved.

×