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

TechFeed Conference 2022 - Kotlin Experimental

TechFeed Conference 2022 - Kotlin Experimental

5/14 Kotlin 2nd part session (5 minutes LT)

Kotlin をより使うための知識として、Experimental について触れます。

https://techfeed.io/events/techfeed-conference-2022

Matsuda Jumpei

May 14, 2022
Tweet

More Decks by Matsuda Jumpei

Other Decks in Programming

Transcript

  1. ,PUMJOSFE@GBU@EBSVNB +VNQFJ.BUTVEB

    ,PUMJO&YQFSJNFOUBM

    View full-size slide

  2. ,PUMJOͷ&YQFSJNFOUBM'FBUVSFT
    w ߏจ͔ΒTUEMJCɺϏϧυπʔϧઃఆ·Ͱ޿͘ద༻͞ΕΔ࢓૊Έ
    w ࣍ݴޠ࢓༷ͷ&BSMZ1SFWJFX΋ؚ·ΕΔ
    w ΦʔϓϯʹϑΟʔυόοΫΛऩू͠ɺٞ࿦͍ͯ͠Δ
    w όάใࠂɺϢʔεέʔεͷ௥ՃFUD
    w 0QU*O͠ͳ͍ͱ࢖͑ͳ͍ͨΊɺޡͬͯ࢖͏͜ͱ͸·ͣͳ͍

    View full-size slide

  3. FH$POUFYU3FDFJWFST
    &YQSJNFOUBM1SPUPUZQF
    w $POUFYUΛએݴతʹॻ͘ͱɺ$PNQJMFS͕3FDFJWFSΛ҉໧తʹղܾ͢Δ
    w طଘͷ֦ுؔ਺ 4JOHMF3FDFJWFS
    ͷFOIBODFNFOUЋ
    w ໨త͕JNQMJDJUWBMͱ͸ҧ͏ͷͰɺQSPQFSUZͷΈͷଋറ͸͠ͳ͍

    View full-size slide

  4. &YQFSJNFOUBMͷ୳͠ํ
    w ,PUMJO#MPHͰݴٴ͞ΕΔ·Ͱ଴ͭ
    w ଴͖ͪΕͳ͍ͷͰ୳͠ʹߦ͘
    w ,&&1΍:PV5SBDLɺ4MBDLͰ͸εςʔλε͕෼͔ΓͮΒ͍
    w ύϫʔͰղܾ͢Δ
    w ݴޠઃఆҰཡIUUQTCJUMZMHW6$
    w ར༻Մೳͳ$PNQJMFS0QUJPOIUUQTCJUMZ'$CQ[J

    View full-size slide

  5. ༗ޮʹ͢Δʹ͸
    w $PNQJMFS0QUJPOT΍1MVHJOͷઃఆΛߦ͏
    w ҎԼ͸(SBEMF(SPPWZ%4-Ͱͷྫ

    View full-size slide

  6. ݱࡏ&YQFSJNFOUBMͳ΋ͷ ൈਮ

    w 1SPUPUZQF "MQIB QSPEར༻ඇਪ঑

    w $POUFYU3FDJFWFST ,$PNQJMFSBOENPSF
    w #FUB 1SFWJFX "#*4UBCMF

    w $POUSBDU
    6OTJHOFEUZQFT Ұ෦
    %FpOJUFMZOPOOVMMBCMFUZQFT

    View full-size slide

  7. &YQS'FBUVSFTΛ࢖͏͔Ͳ͏͔
    w ঢ়گʹԠͯ͡൑அ
    w "#*มߋϦεΫ 1SPUPUZQF "MQIB
    ഑෍෺ʹ͸ೖΕΔ΂͖Ͱͳ͍
    w "1*มߋϦεΫ #FUB 1SFWJFX
    ԣஅతͳద༻Λආ͚Δ
    w 8PSLBSPVOE͕͋Δແཧͯ͠࢖͏ඞཁ͸ͳ͍
    w ϓϩμΫτͷੑ࣭΋ϦεΫܭࢉʹ͍ΕΔ
    w FH"OESPJE͸मਖ਼ͷਁಁʹଈ࣌ੑɾ࣮֬ੑ͕ͳ͍ͷͰϦεΫͱΈͳ͢

    View full-size slide

  8. 6QDPNJOH&YQFSJNFOUBMT
    ΄ΜͷҰ෦Λൈਮͯ͠঺հ
    w &OVNFSBUFTVCDMBTTFTPGTFBMFEDMBTT,5
    w 3FqFDUJPOͳ͠ʹTFBMFEDMBTTͷTVCDMBTT͕ྻڍग़དྷΔ
    w 6OJPO*OUFSTFDUJPO5ZQFT,5
    w ͢ͰʹҰ෦ػೳ͸੍໿෇͖ͷJOUFSTFDUJPOܕͰ࣮ݱ͞Ε͍ͯΔ
    w &YQMJDJU#BDLJOH'JFMET,5
    w QSPQFSUZͷpFME HFUUFSTFUUFSͦΕͧΕͰܕͱՄࢹੑΛॊೈʹࢦఆͰ͖Δ

    View full-size slide

  9. 6QDPNJOH&YQFSJNFOUBMT
    ΄ΜͷҰ෦Λൈਮͯ͠঺հ
    w ,PUMJO8BTN,5
    w --7.ͷچ࣮૷Ͱ͸ͳ͘8BTN༻ͷ$PNQJMFS#BDLFOE
    w %JSFDUJOUFSPQFSBCJMJUZXJUI4XJGU,5
    w 0CKFDUJWF$Λܦ༝ͤͣɺ௚઀CJOEJOH ૬ޓ
    ͕ੜ੒͞ΕΔΑ͏ʹͳΔ

    View full-size slide

  10. ·ͱΊ
    w &YQFSJNFOUBMͷ࢓૊ΈʹΑͬͯ৽͍͠ػೳΛࢼͤΔ
    w &YQFSJNFOUBMΛઌऔΓ͍ͨ͠ͳΒ$PNQJMFSͷιʔείʔυ͔Β୳͢
    w ݱঢ়ͷ࣮૷εςʔλεΛ஌্ͬͨͰࢼͦ͏

    )BWFBOJDF,PUMJO

    View full-size slide

  11. +VNQFJ.BUTVEB
    UXJUUFS!SFE@GBU@EBSVNB
    w 5FDI'FFE&YQFSU/P ,PUMJO

    w %FQMPZ(BUFͷΤϯδχΞ
    w ,PUMJO.͔Βͷ,PUMJOϢʔβʔ
    w "OESPJE 4QSJOH#PPU (SBEMF1MVHJOͦͷଞͰར༻
    w +BWB΍(SPPWZͱͷ૬ޓӡ༻ੑपΓͷܦݧ͕ଟΊ

    View full-size slide

  12. 3FGFSFODFT
    w ,PUMJOݴޠ࢓༷ॻ
    w IUUQTHJUIVCDPN,PUMJOLPUMJOTQFD
    w ,PUMJOݴޠ1SPQPTBMT
    w IUUQTHJUIVCDPN,PUMJO,&&1
    w ,PUMJO4MBDL
    w IUUQTLPUMJOMBOHPSHDPNNVOJUZ͔ΒࢀՃՄೳ
    9

    View full-size slide