良いコードに正解はあるか

 良いコードに正解はあるか

2020/01/31 Webナイト宮崎 Vol.8 ~てげ良いコード書きたい~ LT

0486c0d48361ae9879046908c734e598?s=128

YasuhiroKimesawa

January 31, 2020
Tweet

Transcript

  1. ྑ͍ίʔυʹਖ਼ղ͸͋Δ͔ 8FCφΠτٶ࡚7PMʙͯ͛ྑ͍ίʔυॻ͖͍ͨʙ-5

  2. ࣗݾ঺հɿ w גࣜձࣾΞϥλφॴଐɹ ฐࣾαʔϏε'VMpMMNFOUCZ;0;0ઃܭओ؅ͷҰਓ w Ӭԕͷ̏̕ࡀ w ීஈ͸όοΫΤϯυଆͷ։ൃ w ೝఆεΫϥϜϚελʔ

    w 2JJUB!:BTVIJSP,JNFTBXB w 5XJUUFSQJMHSJN@SFET w #MPHIUUQTQJMHSJNMJGFTUZMFKQ
  3. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE 8IBU )PX 8IZ͔Β͸͡ΊΑ͏ 8IZ https://www.amazon.co.jp/dp/4532317673

  4. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ͳͥྑ͍ίʔυ͕ॻ͖͍ͨͷ͔ ฉ͖͍ͨʂ ͳͥͰ͔͢ʁ

  5. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ͍ΘΏΔ඼࣭ ಺෦඼࣭ ֎෦඼࣭ ΤϯυϢʔβʔ͔Β ݟ͑Δͷ͸͜ͷ෦෼

  6. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ֎෦඼࣭ͱ಺෦඼࣭ https://www.amazon.co.jp/dp/4798111112 ֎త඼࣭ཁҼΛୡ੒͢ΔͨΊͷ伴 ͸ɺ಺෦඼࣭ཁҼʹ͋Δɻ ໨ʹݟ͑Δੑ࣭ΛϢʔβ͕ܦݧͰ͖ ΔΑ͏ʹ͢ΔͨΊʹɺ ઃܭऀ΍ϓϩάϥϚ͕ٕज़తͳٕ๏ Λۦ࢖ͯ͠໨ʹݟ͑ͳ͍ੑ࣭Λอূ ͠ͳ͚Ε͹ͳΒͳ͍

  7. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ֎෦඼࣭ͱ಺෦඼࣭ https://www.amazon.co.jp/372/dp/4894712873 ྑ͍ίʔυΛॻ͘͜ͱͰ։ൃίετ͕ ഒʹͳΔ͜ͱ͸ͳ͍͕ɺ ѱ͍ίʔυΛॻ͘͜ͱͰอकίετ͕ ਺ഒʹͳΔ͜ͱ͸͋Δɻ ސ٬͸ؾ͕෇͖ʹ͍͘ɻ ͳͥͳΒɺ୹ظؒϓϩμΫτͰ͸͕ࠩ ग़ʹ͍͘͠ɺ௕ظؒϓϩμΫτͩͱί

    ετΛൺֱ͢Δର৅͕ͳ͍͔Βͩ
  8. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ຊ౰͸͜͏

  9. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ͱ͸͍͑ɾɾɾ ίʔυͷྑ͠ѱ͠ͳΜͯ ਓʹґΔΑͶɻ

  10. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ϑΝογϣϯͷྫ ʮײੑʹΑΔ΋ͷ͔ͩΒΦγϟϨ͔Ͳ͏͔ͳΜͯਓ࣍ୈͰ͔͠ͳ͍ɻʯ ͦΜͳ͜ͱ͕ຊ౰ʹ༗ΓಘΔͰ͠ΐ͏͔ɻ ࣄ࣮ͱͯͯ͠ɺ10ਓத10ਓ͕ೝΊΔʮ͜ͷਓ͸ΦγϟϨͩʯͱ͍͏ਓ͕͍ΔΘ͚Ͱ͢ɻ ΋͠ײੑʹΑͬͯ”ΦγϟϨ͔Ͳ͏͔”͕ਓͦΕͧΕͰ͋ΔͳΒ͹ 10ਓ͍ͨΒ10௨Γͷҙݟ͕ଘࡏ͢Δ͸ͣͰ͢ɻ ΦγϟϨ͔Ͳ͏͔Λ൑அͰ͖Δɺ ελΠϦετ͕ଘࡏ͢Δɺ ͜ΕΒ͸ɺ֤࿦͸Ͳ͏͋Εɺ૯࿦ͱͯ͠ʮΦγϟϨͷج४͸ଘࡏ͢ΔʯࠜڌͰ͋ΔΘ͚Ͱ͢ɻ

    ,OPXFS.BH http://www.neqwsnet-japan.info/?p=1810
  11. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ϑΝογϣϯͷྫ ࠷଎Ͱ͓͠ΌΕʹݟͤΔํ๏ υϨεͱΧδϡΞϧͷόϥϯε γϧΤοτ ৭ https://www.amazon.co.jp/dp/4594614744 ͷόϥϯε :*"ͷγϧΤοτ Ϟϊτʔϯத৺

  12. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ϑΝογϣϯͷྫ ෰ΛணΔͳΒ͜Μͳ;͏ʹ https://www.amazon.co.jp/dp/B018V21MIW

  13. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE ͭ·Γ ਓ΍ݱ৔ʹґΔͱ͜Ζ͸ ͋Δ͔΋͠Εͳ͍͕ɺ ·ͣ͸ϕετϓϥΫςΟεΛ ஌Ζ͏

  14. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE )08ͷ࿩ कഁ཭

  15. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE 8IBUͷ࿩<क>

  16. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE 8IBUͷ࿩<क> ίʔυͷෆ٢ͳष͍ w ॏෳͨ͠ίʔυ w ௕ա͗Δϝιου w ڊେͳΫϥε w

    ෆద੾ͳؔ܎ w ଵ͚ऀΫϥε w ɾɾɾ w ུޠ΍Ұக͠ͳ໊͍લΛ࢖༻͠ͳ͍ w ίʔυͷ·ͱ·Γ͝ͱʹۭനߦΛೖΕΔ w આ໌༻ม਺ w มߋͷӨڹΛϝιου಺ʹด͡ࠐΊΔ w ۀ຿Ͱѻ͏஋ΛجຊσʔλܕΛ࢖ΘͣಠࣗͷܕͰදݱ w ɾɾɾ
  17. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE 8IBUͷ࿩<क> ΦϒδΣΫτࢦ޲ΤΫααΠζ w ̍ͭͷϝιουʹ͖ͭΠϯσϯτ͸ஈ֊·Ͱ w FMTF۟Λ࢖༻͠ͳ͍ w ͢΂ͯͷϓϦϛςΟϒܕͱจࣈྻܕΛϥοϓ͢Δ w

    ߦʹ͖ͭυοτ͸ͻͱͭ·Ͱ w ໊લΛলུ͠ͳ͍ w ɾɾɾ w ϓϩάϥϛϯάΛߦ͏ͱಉ࣌ʹҙࣝతʹͳΔ͜ͱ w ଞਓͷॏཁੑΛೝࣝ͢Δ͜ͱ w ݁ՌͷہॴԽ w ܁Γฦ͠ͷ࠷খԽ w ϩδοΫͱσʔλͷҰମԽ w ɾɾɾ ϒϩάॻ͍ͯͨɾɾɾʮΑ͍ίʔυʯΛॻͨ͘Ίͷ͸͡Ίͷา https://blog.guildworks.jp/2015/06/26/implementation_patterns/
  18. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE )08ͷ࿩<ഁ> ϋϯΨʔϑϥΠτ ৼΓฦΓ ίϛϡχςΟ΍৬৔ͰɺϋϯΨʔϑϥΠτ͠Α͏ɻ http://papanda.hatenablog.com/entry/20090429/1241016409 https://www.amazon.co.jp/dp/toc/4274217620/ ಡॻձ "DUJWF#PPL%JBMPH ABDಡॻձΛ։࠵͠·ͨ͠

    https://pilgrim-lifestyle.jp/blog/008_abd%E8%AA%AD%E6%9B%B8%E4%BC%9A%E3%82%92%E9%96%8B%E5%82%AC/
  19. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE 8IBUͷ࿩<཭> %%% .JDSPTFSWJDFT ϝϞϦͷੑೳΞοϓ͕େྔʹΦϒδΣΫτ͕ੜ ੒͞ΕΔੈքʹ଱͑ΒΕΔΑ͏ʹͳͬͨɻ ෼ࢄ؀ڥ΍Ϋϥ΢υ؀ڥͷൃୡ͕ .JDSPTFSWJDFTʹ͏͓͚ΔେྔͷαʔϏε؅ཧ ͷੈքʹ଱͑ΒΕΔΑ͏ʹͳͬͨɻ ςΫϊϩδʔͷਐԽ͕͜Ε·ͰͰ͖ͳ͔ͬͨ

    ΑΓྑ͍ઃܭ΍ίʔυͷॻ͖ํ΋Ͱ͖ΔΑ͏ʹͳ͍ͬͯͬͨ
  20. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE <͓·͚>඼࣭͸٘ਜ਼ʹͰ͖Δʁ యܕతͳ̐ͭͷ෼ྨ ϑΟʔνϟʔ͕׬ྃ͢Δ͜ͱ(είʔϓ) ༧ࢉ಺ʹऩ·Δ͜ͱ(༧ࢉ) ࣌ؒ௨Γʹೲೖ͢Δ͜ͱ (࣌ؒ) ߴ͍඼࣭ɺগͳ͍όά(඼࣭) τϨʔυΦϑɹεϥΠμʔ https://www.amazon.co.jp/dp/4274068560

    0/ 0''
  21. $PQZSJHIU˜:BTVIJSP,JNFTBXB"MM3JHIUT3FTFSWFE <͓·͚>࣭ͱεϐʔυ https://speakerdeck.com/twada/quality-and-speed