Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The three great virtues are important

Koichi ITO
November 19, 2021

The three great virtues are important

銀座Rails #39 招待講演
https://ginza-rails.connpass.com/event/229348/

Koichi ITO

November 19, 2021
Tweet

More Decks by Koichi ITO

Other Decks in Programming

Transcript

  1. w ͓ۚ Ϗδωε ͷ੾Ε໨͕αʔϏεͷ੾Ε໨ w ௕णαʔϏεʹͳΕ͹ͳΔ΄Ͳίʔυϕʔε͸ංେԽ ͢Δݱ࣮ w ߦҎ্ͷίʔυʹ͸όά͕͋Δ🤔 w

    ͋ͳͨͷαʔϏε͸Կ೥΋ͷʁ w զʑϓϩάϥϚʔ͸ɺ೗Կʹͯ͠ϏδωεͷมԽʹద ԠͰ͖ΔγεςϜϝϯςφϏϦςΟΛඋ͑Δ͔ʁ ੒ޭ͍ͯ͠ΔαʔϏε΄Ͳ௕ण
  2. w ໊લ w ྺ࢙ w ઃܭ w ੑೳ w ճؼ

    ࡾେඒಙΛ࣋ͬͯࠞಱΛ੍ޚ͢Δ w ௥੻ w ධՁ w อ࣋ w ڞ૑ w ײ৘ ͜ͷ͋ͨΓΛԡ͓͑ͯ͘͞ͱྑ͍Ͱ͠ΐ͏ͱ͍͏ ϙΠϯτΛຊ೔ͷ͓୊ͱ͖ͯ࣋ͬͯ͠·ͨ͠
  3. pick, squash, or another PR? ࣮૷աఔͰͷςετ௥Ճɺ όάϑΟοΫε΍খ͞ͳϦ ϑΝΫλϦϯάͰ͔͢ʁ TRVBTI QJDL

    ϦϦʔεࠩ͠໭͠ͷͱ͖ ͳͲಠཱͯ͠Ϧόʔτ͠ ͍ͨίϛοτͰ͔͢ʁ "OPUIFS 13 ͻͱͭͷϒϥϯνʹͻ ͱͭͷίϛοτ͚ͩͰ ͔͢ʁ ػೳͷ௥Ճมߋͱ෼཭ Ͱ͖Δطଘػೳ΁ͷϦ ϑΝΫλϦϯάͰ͔͢ʁ ΋͠ϨϏϡʔͰͷࢦఠͰͳ ࣗ͘ྗͰؾ͍͍ͮͯͨΒ ίϛοτΛ෼͚·͔͢ʁ ͻͱͭͷPRʹෳ਺ͷػ ೳཁٻʹର͢Δมߋ͕ ࠞ͟Γ·͔͢ʁ No Yes Yes No Yes No Yes Yes No Yes No No Start ಠཱͯ͠ϚʔδͰ͖Δ
  4. w ࠷଎ղܾ͸Ϛγϯࢿݯ΁ͷۚͷ஄ؙ ۚ  w ߴ଎Խͷجຊ͸ฒྻԽͱݸผνϡʔχϯά w rspec -p --profile

    ͳͲͰϓϩϑΝ ΠϦϯάΛͱΓɺ஗͍ςετ͔ΒςίೖΕ ΦϦίϯνϟʔτతͳ εϩʔςετܐࣄ σΧ
  5. w ໰୊ྖҬͷੈք؍ΛγεςϜʹ൓өͤ͞Δ w ྑ໊͍෇͚͸γεςϜղੳ ͋Δ͍͸Ϗδωε ͷٯղੳ ΁ͷ࠷ߴͷख͕͔Γ ຊ೔౓໨  w

    ଧͪ߹ΘͤͰ఻͑ΒΕͨγεςϜ΁ͷมߋཁ ݅Λɺ͍͔ʹޮ཰తʹḷΔ͜ͱ͕Ͱ͖Δ͔ʁ FHͦΕͬΆ͍༻ޠΛHSFQ͢Δ ໊લʹΑΔτϨʔαϏϦςΟ
  6. w ࡟আͰ͖Δσʔλ͕͋Ε͹ɺ࡟আ͢Δ͜ͱͰσʔλྔ ݕࡧ ྔ ΛݮΒ͢ w ݕࡧର৅ͷ೔෇ΛߜΔ͜ͱͰɺݕࡧྔΛݮΒͤΔΑ͏Ͱ͋Ε ͹ɺཁ݅ௐ੔ΛࢼΈΔ w ཁ݅ʹΑͬͯϦΞϧλΠϜੑ͕ඞཁͳ͚Ε͹ɺूܭࡁΈͷ

    αϚϦʔςʔϒϧΛ༻ҙ͢Δ w ͦ΋ͦ΋ͷ42-ʹ໰୊͕͋Ε͹վળɺຊ࣭తʹ42-͕దͯ͠ ͍ͳͦ͞͏Ͱ͋Ε͹ɺ3%#Ҏ֎ͷΠϯϑϥཁ݅Λݕ౼͢Δ σʔλ૿ՃʹΑΔεϩʔΫΤϦ
  7. l IUUQTXXXBUNBSLJUDPKQOFXTSBJMTIUNM There are few Japanese contributors of Rails in

    2009 IUUQTUXJUUFSDPNZBIPOEBTUBUVT ˠ ೔ຊͷ3BJMT͸࢒೦ɻ೔ຊ Ͱ3BJMT͕࢖ΘΕͯͳ͍ͱ ͍͏͜ͱ͸ͳ͍ͱࢥ͏͕ɺ ͦΕʹͯ͠͸։ൃऀ͕গͳ ͍ɻࢲ͕ݟͨͱ͜Ζ ਓதͰ೔ຊਓΒ͖͠ਓ͸਺ ਓɻ