Interfaces in Perl5

Interfaces in Perl5

918b601dbd1297d58105508fb880b598?s=128

Kenta Kobayashi

March 01, 2019
Tweet

Transcript

  1. *OUFSGBDFTJO1FSM !LqZ

  2. "CPVUNF w ͜͹͚Μ!LqZ w :"1$5PLZPӡӦҕһ௕ w ޒ൓ాQN w ϞόϑΝΫ w

    એ఻ΤϯδχΞืूதʂ
  3. *OUFSBGBDF

  4. *OUFSGBDF ͜͜Ͱ͸Š ;Δ·͍ͷܖ໿ 001 ෺"ΛอଘͰ͖Δ ෺"ΛऔΓग़ͤΔ 3FQPTJUPSZ *OUFSGBDF

  5. *OUFSGBDF ܖ໿ΛकΕ͹Š ࣮૷ऀ͸࣮૷Λ޷͖ʹͰ͖Δ ෺"ΛอଘͰ͖Δ ෺"ΛऔΓग़ͤΔ 3FQPTJUPSZ *OUFSGBDF

  6. *OUFSGBDF ܖ໿͕कΒΕ͍ͯΕ͹Š ར༻ऀ͸࣮૷Λ͋·Γؾʹͤͣ ར༻Ͱ͖Δ ෺"ΛอଘͰ͖Δ ෺"ΛऔΓग़ͤΔ 3FQPTJUPSZ *OUFSGBDF

  7. *OUFSGBDF ίϯϙʔωϯτͷ෼ׂʹ໾ཱͭ ن໛͕େ͖͘ͳΔ΄Ͳخ͍͠ *OUFSGBDF *OUFSGBDF ˞ΠϝʔδͰ͢

  8. *OUFSGBDFศར

  9. 1FSMͰ͸ 3PMF  ೖྗͱग़ྗͷܕ͕දݱͰ͖ͳ͍ ࣮૷͕ॻ͚Δ 3PMF͸3PMF 3PMF㱠*OUFSGBDF

  10. 1FSMʹ*OUFSGBDF͸ͳ͍

  11. ࡞ͬͨ

  12. 'VODUJPO*OUFSGBDF

  13. 'VODUJPO*OUFSGBDF ΩʔϫʔυGVOͰɺؔ਺ͷҾ਺ ͱฦΓ஋ͷܕΛએݴ

  14. 'VODUJPO*OUFSGBDF*NQM ;Δ·͍Λ࣮૷Ͱ͖ͯͳ͚Ε͹ɺ ίϯύΠϧ࣌ʹDSPBL

  15. 5ZQFT*OUFSGBDF 5ZQF5JOZͰɺ*OUFSGBDFͷܕ੍ ໿Λఏڙ

  16. %&.0

  17. ࢓૊Έ

  18. 'VODUJPO*OUFSGBDF ,FZXPSE4JNQMF 113 1FSMͰ͓खܰจ๏֦ு

  19. 'VODUJPO*OUFSGBDF*NQM 'VODUJPO1BSBNFUFST  'VODUJPO3FUVSOͰɺؔ਺ͷೖ ग़ྗͷܕͳͲऔಘ *OUFSGBDFͷ৘ใͱίϯύΠϧ࣌ ʹൺֱ͢Δ

  20. ;Γ͔͑Γ

  21. ͳͥͭͬͨ͘ʁ w ϓϩμΫτ͕େ͖͘ͳΓɺ*OUFSGBDF͕ཉ͘͠ͳͬͨ w $MFBO"SDIJUFDUVSFͳͲͷઃܭख๏Λ࢖͍͍ͨ w ଞͷ--ʹ͋ΔͳΒɺ1FSMʹ΋΄͍͠ w ෺͸ࢼ͠

  22. ࠔͬͨ͜ͱ͸ʁ w $)&$,ϑΣʔζ͕೉͍͠ w $)&$,ϑΣʔζͷ࣮ߦॱ͸-*'0ɻϞδϡʔϧͷಡΈࠐ ΈॱʹؾΛ࢖͏ɻ۩ମతʹ͸ɺ'VODUJPO3FUVSOͷ $)&$,Λ࣮ߦ͔ͯ͠Β'VODUJPO*OUFSGBDF*NQMͷ $)&$,Λ࣮ߦ͢Δඞཁ͕͋ͬͨɻ w FWBMͰ$)&$,ϑΣʔζ͕࣮ߦ͞Εͳ͍͕࣌͋ΔɻͳͷͰɺ

    FWBMΛճආͰ͖ͳ͍ͱπϥΠɻྫ͑͹ɺQMBDLVQ BQQQTHJͩͱFWBM͢Δ͜ͱʹͳΔͷͰɺ1MBDL-PBEFS SVO͢ΔεΫϦϓτΛॻ͍ͯճආ͢ΔͳͲɻ
  23. ࠔͬͨ͜ͱ͸ʁ w Τϥʔϝοηʔδ͕೉͍͠ w Կ͕ى͖͔ͨɺͦͯ͠ԿΛ͢Ε͹ྑ͍͔Θ͔ΔΤϥʔϝο ηʔδʹ͍ͨ͠ w ͚ΕͲɺ͜ΕͰ͍͍ͷ͔ෆ҆ʹͳΔ

  24. Կ͕໘ന͔ͬͨʁ w *OUFSGBDF͕໘ന͍ ͋ΒͨΊͯ  w Ͱ͖ͳ͍͜ͱ͕Ձ஋ʹͳΔ w ,FZXPSE4JNQMF LFZXPSE@QMVHJO

    ͕໘ന͍ w ίϯύΠϧ࣌ͷίʔυల։Ͱɺ։ൃମݧ͕มΘΔ w ͲΜͳจ๏͚ͩྑ͠ͱ͢Δ͔දݱͰ͖Δ
  25. ࣍ʹԿ͕͍ͨ͠ʁ w ଍ճΓΛ੔͑Δ w υΩϡϝϯτɺςετɺϢʔεέʔεͳͲ w Ԡ༻ྫͷ࣮૷ w %* $MFBO"SDIJUFDUVSF

    FUD
  26. ༨ஊ

  27. 5IBOLZPV