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

複雑なドメインに泥臭く立ち向かう

su-kun1899
December 15, 2018

 複雑なドメインに泥臭く立ち向かう

2018/12/15 JJUG CCC 2018 Fall での登壇資料です。
#jjug_ccc #ccc_e4

su-kun1899

December 15, 2018
Tweet

More Decks by su-kun1899

Other Decks in Programming

Transcript

  1. հޢอݥͷෳࡶ͞ • څ෇཰, ஍Ҭ୯Ձ • հޢ౓, ݶ౓ֹ • αʔϏεछྨ, αʔϏείʔυ

    • Ճࢉɾݮࢉ, ࢉఆߏ଄ • ๏վਖ਼ • ެඅ, ฦ໭ • ࣏ࣗମ͝ͱͷಛྫ • etc... #ccc_e4 15
  2. /** * ݶ౓ֹ؅ཧର৅಺୯Ґ਺ͷ಺ɺڅ෇ର৅ͷ୯Ґ਺ */ fun benefitPointAppliedToPointLimit(): Point { return min(

    pointAppliedToPointLimit() - adjustmentPoint.total(), insuranceLicense.gradingMaxPoint ) } #ccc_e4 50
  3. // σʔλͷऔಘ val serviceSection = serviceSectionRepository.findBy(sectionNumber) val insuranceLicense = insuranceLicenseRepository.findBy(licenseNumber,

    monthProvided) val actualResult = actualResultRepository.findBy(monthProvided, sectionNumber, licenseNumber) // Ϟσϧͷੜ੒ val estimate = Estimate(insuranceLicense, serviceSection, actualResult) // ৘ใͷఏڙ estimate.amount() // ߹ܭֹۚ estimate.benefitAmount() // อݥڅ෇ֹۚ estimate.careReceiverAmount() // ར༻ऀෛ୲ֹ estimate.amountBy(careType) // αʔϏεछྨ͝ͱͷֹۚ #ccc_e4 56
  4. // σʔλͷऔಘ val serviceSection = serviceSectionRepository.findBy(sectionNumber) val insuranceLicense = insuranceLicenseRepository.findBy(licenseNumber,

    monthProvided) val actualResult = actualResultRepository.findBy(monthProvided, sectionNumber, licenseNumber) // Ϟσϧͷੜ੒ val estimate = Estimate(insuranceLicense, serviceSection, actualResult) // ৘ใͷఏڙ estimate.amount() // ߹ܭֹۚ estimate.benefitAmount() // อݥڅ෇ֹۚ estimate.careReceiverAmount() // ར༻ऀෛ୲ֹ estimate.amountBy(careType) // αʔϏεछྨ͝ͱͷֹۚ #ccc_e4 58
  5. ! ੥ٻॻ " ར༻ऀ # $! ඃอݥऀূ # $! ࢧڅݶ౓୯Ґ਺

    # $! ୯Ґ਺ " հޢࣄۀॴ # $! ୯Ґ਺୯Ձ # $! Ձ֨ $ ࣮੷εέδϡʔϧ #ccc_e4 60
  6. ! ੥ٻॻ " ར༻ऀ # $! ඃอݥऀূ # $! ࢧڅݶ౓୯Ґ਺

    # $! ୯Ґ਺ " հޢࣄۀॴ # $! ୯Ґ਺୯Ձ # $! Ձ֨ $ ࣮੷εέδϡʔϧ #ccc_e4 62
  7. ϞϒϓϩɾϞϒϫʔΫ • ू߹஌ • ৘ใڞ༗ • ڭҭޮՌ WEB+DB PRESS Vol.102

    https://gihyo.jp/magazine/wdpress/archive/2018/vol102 74
  8. Working software is the primary measure of progress. Principles behind

    the Agile Manifesto https://agilemanifesto.org/iso/en/principles.html 88