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

OOP

 OOP

Object Oriented Programming

2018@Excite

Aad26cd7119bd8c0c2bbea107515716d?s=128

Akihito Koriyama

May 10, 2018
Tweet

Transcript

  1. OOP ",*)*50,0*3*:"." !&YJDJUF

  2. MODEL ?

  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. http://abapsharebyreza.blogspot.jp/2013/11/taw-12-introduction-to-object-oriented.ht

  10. http://abapsharebyreza.blogspot.jp/2013/11/taw-12-introduction-to-object-oriented.ht

  11. TellDontAsk ٻΊΔͳɺ໋͡Α

  12. https://martinfowler.com/bliki/TellDontAsk.html

  13. ̍ɽ̍ͭͷϝιουʹ͖ͭΠϯσϯτ͸̍ஈ֊·Ͱʹ͢Δ͜ͱ ̎ɽelse۟Λ࢖༻͠ͳ͍͜ͱ ̏ɽ͢΂ͯͷϓϦϛςΟϒܕͱจࣈྻܕΛϥοϓ͢Δ͜ͱ ̐ɽ̍ߦʹ͖ͭυοτ͸̍ͭ·Ͱʹ͢Δ͜ͱ ̑ɽ໊લΛলུ͠ͳ͍͜ͱ ̒ɽ͢΂ͯͷΤϯςΟςΟΛখ͘͢͞Δ͜ͱ ̓ɽ̍ͭͷΫϥεʹ͖ͭΠϯελϯεม਺͸̎ͭ·Ͱʹ͢Δ͜ͱ ̔ɽϑΝʔετΫϥείϨΫγϣϯΛ࢖༻͢Δ͜ͱ ̕ɽGetterɺSetterɺϓϩύςΟΛ࢖༻͠ͳ͍͜ͱ