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

設計のための、問題の捉え方〜ドメイン知識の暗黙知を形式知に〜(まとめ版)

Magnolia.K
November 10, 2018

 設計のための、問題の捉え方〜ドメイン知識の暗黙知を形式知に〜(まとめ版)

「2018/11/8 設計Night2018 powered by Classi」で発表した資料です
当日の資料のページ数が多すぎた(140ページ)ので、2/3くらいにまとめました

Magnolia.K

November 10, 2018
Tweet

More Decks by Magnolia.K

Other Decks in Technology

Transcript

  1. ͜Ε·Ͱͷઃܭʹؔ͢Δٞ࿦ w ઃܭͱ͸l໰୊Λ෼ׂ͠ɺߏ଄Խ͢Δ͜ͱz w ద੾ʹߏ଄Խ͢ΔͨΊʹ͸ʮύλʔϯʯͱʮઃܭݪଇʯ ͕༗ޮͰ͋Δ w ʮύλʔϯʯΛద༻͢Δࢦ਑͕ʮઃܭݪଇʯ w ʮઃܭݪଇʯͷద༻͸ɺlͲ͕͜มΘΓ΍͍͢ϙΠϯτͳ

    ͷ͔zΛݟۃΊΔͱ͜Ζ͔Β l࣮گதܧγϦʔζʮ։ൃݱ৔Ͱ໾ཱͨͤΔͨΊͷઃܭݪଇͱύλʔϯʯCVJMEFSTDPOzΑΓ https://nekogata.hatenablog.com/entry/2018/09/10/163206
  2. ݹయʹཱͪฦͬͯΈΔ ͜ͷຊʹ͸਺ֶΛղͨ͘Ίͷͭͷ εςοϓ͕ॻ͔Ε͍ͯΔ  ໰୊Λཧղ͢Δ͜ͱ  ܭըΛͨͯΔ͜ͱ  ܭըΛ࣮ߦ͢Δ͜ͱ 

    ;ΓฦͬͯΈΔ͜ͱ ͜Ε͸ιϑτ΢ΣΞͷ։ൃͷखॱͱ ಉ͡ͱݴ͑ΔͷͰ͸ͳ͍͔ʁ (ϙϦΞஶ ʮ͍͔ʹͯ͠໰୊Λͱ͔͘ʯ 
  3. ͱΓ࣮͋͑ͣ૷ͯ͠Έͨ ೔෇ͷࢉग़ʹ͸3VCZͷ%BUFϞδϡʔϧΛར༻ require "date" def calc_arrival_day(b_year, b_month , b_day, age)

    birthday = Date.new(b_year, b_month, b_day) arrival_day = birthday.next_year(age).prev_day(1) arrival_day.to_s end p calc_arrival_day(2000, 11, 8, 18) # “2018-11-07” ਖ਼͍͠೔͕ࢉग़͞Ε͍ͯΔ
  4. ݄೔ੜ·ΕΛߟྀ࣮ͨ͠૷ʹม͑ͯΈͨ require "date" def calc_arrival_day(b_year, b_month , b_day, age) birthday

    = Date.new(b_year, b_month, b_day) arrival_day = birthday.prev_day(1).next_year(age) arrival_day.to_s end p calc_arrival_day(2000, 2, 29, 18) # “2018-2-28” ݄೔ੜ·Ε΋ਖ਼͘͠ͳͬͨ
  5. ྫ͑͹ɺςετΛॻ͍ͯҙਤΛ࢒͢ require 'test/unit' class TestArrivalDay < Test::Unit::TestCase def test_calc_arrival_day assert_equal

    '2018-11-07', calc_arrival_day(2000, 11, 8, 18) assert_equal '2018-02-28', calc_arrival_day(2000, 2, 29, 18) assert_equal '2017-12-31', calc_arrival_day(2000, 1, 1, 18) end end ·ͨɺ݄೔ʹର͢ΔϩδοΫΛ͋͑ͯ໌ࣔతʹೖΕɺ ҙਤͷ෼͔Γ΍͢͞Λ༏ઌ͢Δํ๏΋ʜ͋Δ͔΋͠Εͳ͍
  6. ʮυϝΠϯ஌ࣝʯͱɺʮ҉໧஌ʯ w υϝΠϯͱ͸ɺl ׆ಈŋؔ৺ŋ஌ࣝͳͲͷ ෼໺ ྖҬ ൣғz ͷ͜ͱ w ͭ·ΓɺʮυϝΠϯ஌ࣝʯͱ͸ɺ͍·औΓ૊ΜͰ͍Δ໰୊

    ͷ෼໺ɺྖҬʹؔ࿈͢Δ஌ࣝ w ʮ҉໧஌ʯͱ͸ɺݴޠԽɾه߸Խ͞Ε͍ͯͳ͍஌
 ˰ͭ·Γɺॻ͔Ε͍ͯͳ͍͜ͱ
  7. ʮखॱʯʮྺ࢙ࠜڌʯͱ͍ͬͨlࣄ࣮z͸ɺ
 ҉໧஌ʹͳΓ͕ͪ 㾎 ඞཁͳखॱ͕ɺखॱॻʹॻ͔Ε͍ͯͳ͍ 㾎 ࣮ࢪ͍ͯ͠Δਓ΋ҙࣝ͠ͳ͍࡞ۀͷ֬ೝ؍఺ 㾎 ཤྺ ϩά ͷ࢒͞Ε͍ͯͳ͍มߋͷ਺ʑ

    㾎 ઃܭࠜڌͷ෼͔Βͳ͍ػೳͷ਺ʑ ࣄ࣮͕l͔͖ද͞Ε͍ͯͳ͍z͜ͱͰɺޙੈͷਓ͕ػೳΛཧղվम͢ΔͨΊ ͷʮ৚݅ʯ͕༰қʹἧΘͳ͘ͳͬͯ͠·͏ ͳͲͳͲʜ
  8. 8) w 8IFO ͍ͭ  w 8IFSF Ͳ͜Ͱ  w

    8IP ͩΕ͕  w 8IBU ͳʹΛ  w 8IZ ͳͥ  w )PX Ͳ͏΍ͬͯ
  9. ڞಉԽ දग़Խ ࿈݁Խ ಺໘Խ ҉໧஌ ܗࣜ஌ ܗࣜ஌ ҉໧஌ ܗ ࣜ

    ஌ ܗ ࣜ ஌ ҉ ໧ ஌ ҉ ໧ ஌ ໺தҮ࣍࿠ஶ ʮ஌ࣝ૑଄اۀʯ ʮ҉໧஌ʯ˰ʮܗࣜ஌Խʯͱ͍͑͹ɺ4&$*Ϟσϧ͕஌ΒΕ͍ͯΔ ྫ͑͹ϖΞϓϩ͸ɺʮڞಉԽʯͷϓϩηεͦͷ΋ͷͱݴ͑Δ ʲࢀߟจݙʳ