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

Tell, don't ask

Tell, don't ask

4/28ウィルゲート×リンケージ勉強会でのLT発表資料です

Hiromi Hishida

April 28, 2023
Tweet

More Decks by Hiromi Hishida

Other Decks in Programming

Transcript

  1. #Z!XFC UI"QSJM BU8JMMHBUF-JOLBHFษڧձ
    5FMM EPO`UBTL

    View full-size slide

  2. ίʔώʔᔸΕͯ΋Β͏࣌ʢBTLʣ
    ਫͲΕ͚ͩ͋Δʁ
    Ϧοτϧ͋Γ·͢
    NM෸͔ͯ͠
    ෸͔͠·ͨ͠
    ౾H͋Δʁ
    ͋Γ·͢

    View full-size slide

  3. ౾ΛHṢ͍ͯ
    Ṣ͖·ͨ͠
    ϑΟϧλʔԿຕ͋Δʁ
    ຕ͋Γ·͢
    υϦούʔ͋Δʁ
    ͋Γ·͢
    ίʔώʔᔸΕͯ΋Β͏࣌ʢBTLʣ

    View full-size slide

  4. υϦούʔ߸ػʹຕ
    ϑΟϧλʔηοτͯ͠
    ηοτ͠·ͨ͠
    ϑΟϧλʔʹ౾ೖΕͯ
    ೖΕ·ͨ͠
    υϦούʔΛΧοϓʹͷ
    ͤͯ
    ͷͤ·ͨ͠
    ίʔώʔᔸΕͯ΋Β͏࣌ʢBTLʣ

    View full-size slide

  5. ͖ͬ͞෸͔ͨ͠NMͷ
    ͓౬Λ஫͍Ͱ
    ஫͗·ͨ͠
    ϑΟϧλʔʹ͓౬࢒Γ͋
    Δʁ
    ͳ͍Ͱ͢
    Χοϓͪΐ͏͍ͩ
    Ͳ͏ͧ☕
    ίʔώʔᔸΕͯ΋Β͏࣌ʢBTLʣ

    View full-size slide

  6. l5FMM EPO`UBTLz
    ʮ㘤͘ͳɺ໋ྩ͠Ζʯ

    View full-size slide

  7. ίʔώʔᔸΕͯ΋Β͏࣌ʢUFMMʣ
    ίʔώʔͪΐ͏͍ͩ
    Ͳ͏ͧ☕

    View full-size slide

  8. ʮ͍΍͍΍͜ΜͳཔΈํ͠ͳ͍ͬ͠ΐʯ
    w ͦ͏ɺίʔώʔͳΒͶɻ

    View full-size slide

  9. Ͱ΋ɺ͜Μͳཁ݅ͳΒ
    w ΧϨϯμʔΞϓϦ
    w Ϣʔβʔ͝ͱʹॻ͖ࠐΊΔΧϨϯμʔͱӾཡ͔͠Ͱ͖ͳ͍ΧϨϯμʔ͕͋Δ
    w ॻ͖ࠐΜͰ͍͍ΧϨϯμʔͰ΋༧ఆ͕΋͏ۭ͍ͯͳ͍ͱ͜Ζʹ͸ॻ͖ࠐΊͳ͍

    View full-size slide

  10. 5FMMͳίʔυ

    View full-size slide

  11. 5FMM EPO`UBTL
    w ࢲͨͪ͸͸͡Ίͯา͍ͨࠒɺͲ͏΍ͬͯา͘͜ͱΛ͔֮͑ͨʁ
    w ͓ͦΒ͘࠷ॳ͔Βʮา͍ͯʯ͍Δʢے೑ΛԿNNऩॖͤͯ͞ࠎ൫ΛԿNNಈ͔ͯ͠ɺӈͻ͟ΛO౓ۂ͛ͯʜ
    ͱ͸֮͑ͯͳ͍ʣɻ೴͕ମશମʹʮา͚ʯͱ͍͏ϝοηʔδ͚ͩΛ౉ͤ͹ɺา͘Α͏ʹͰ͖͍ͯΔɻ
    w ർΕ͍ͯΔ࣌͸Ώͬ͘Γɺٸ͍Ͱ͍Δ࣌͸଎͘ௐઅ͢Δ͕ϝοηʔδ͸ʮา͚ʯ
    w εϙʔπબखɾ੔ܗ֎ՊҩͳͲʮา͘ʯ͜ͱࣗମͷઐ໳Ո͸׶͑ͯา͘ͷʹඞཁͳಈ࡞Λεςοϓͣͭ
    ෼ղͯ͠ݴޠԽ͢Δ৔߹΋͋ΔɻոզΛͨ͠ͱ͖ͳͲʮา͘ʯ͜ͱΛ๨Εͯ͠·ͬͨ৔߹΋ɺεςοϓ͝
    ͱʹ෼ղ֮ͯ͑͠௚͢͜ͱ͸͋Δɻ
    w ήʔϜ΍75VCFS༻ͷϞσϧΛ࡞Δ࣌΋ʮา͘ʯΛ෼ղͯ͠࠶࣮૷͍ͯ͠Δɻ
    w ʢ༨ஊͰ͕͢ɺਓؒ૬खͰ΋৴པͰ͖Δઐ໳Ոʹґཔ͢Δ࣌͸͜ͷཔΈํ͕ྑ͍σεʣ

    View full-size slide

  12. ΦϒδΣΫτࢦ޲͸ϝοηʔδϯά
    w ʮίʔώʔͪΐ͏͍ͩʯʮ4DIFEVMFσʔλอଘͯ͠ʯ
    w ΦϒδΣΫτ͔ΒΦϒδΣΫτʹϝοηʔδΛ౉ͯ͠Կ͔࢓ࣄͯ͠΋Β͏Πϝ
    ʔδ

    View full-size slide

  13. 1)1Ͱz5FMMzͳίʔυΛॻ͘ͷʹ໾ʹཱͭςΫχοΫ
    w ϝοηʔδΛ౉͢खஈ͸ϝιουݺͼग़͠ͱ౉͢Ҿ਺
    w &BSMZSFUVSO
    w &YDFQUJPO

    View full-size slide

  14. ͋Γ͕ͱ͏͍͟͝·ͨ͠😊

    View full-size slide

  15. ࢀߟهࣄ
    w IUUQTNBSUJOGPXMFSDPNCMJLJ5FMM%POU"TLIUNM
    w IUUQTUFDIRVBSUFUDPNDPKQPPQUSBJOJOHUFDI
    w IUUQTXXXTMJEFTIBSFOFUBLJIJUPLPSJZBNBCFBSTVOEBZNFFUVQ
    w IUUQTTQFBLFSEFDLDPNXFCIVSBUVUPOBQIQLBSBPCV[JFLVUP[IJ
    YJBOHEF[JEPOHUFTVUPOPBSVQIQIFTPTJUFIVSFNVXBLVIFOVNCFS
    QIQDPO

    View full-size slide