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

Kotlin != GOOD 성배

Kotlin != GOOD 성배

Emocon 2017 F/W

pluulove (노현석)

September 07, 2018
Tweet

More Decks by pluulove (노현석)

Other Decks in Technology

Transcript

  1. *G&YQSFTTJPO JOUB 4USJOHWBMVF JG B \ WBMVF0WFS ^FMTF\ WBMVF6OEFS ^

    WBMB WBMWBMVF4USJOH JG B \ WBMVF0WFS ^FMTF\ WBMVF6OEFS ^ +BWB ,PUMJO
  2. WBMB WBMWBMVFJG B \ 0WFS ^FMTF\ 6OEFS ^ *G&YQSFTTJPO JOUB

    4USJOHWBMVF JG B \ WBMVF0WFS ^FMTF\ WBMVF6OEFS ^ +BWB ,PUMJO
  3. B*OU XIFO Y \ QBSTF*OU T QSJOU TFODPEFTY  JOQSJOU

    YJTJOUIFSBOHF  JOWBMJE/VNCFSTQSJOU YJTWBMJE  JOQSJOU YJTPVUTJEFUIFSBOHF  FMTFQSJOU OPOFPGUIFBCPWF  ^ XIFO Y*OU WBMWBMVFXIFO Y \ POF UXP UISFF FMTFBOPUIFS ^ $BTF $BTF
  4. 1BSBNFUFS%FGBVMU7BMVF QVCMJD4USJOHGPP 4USJOHOBNF JOUOVNCFS CPPMFBOUP6QQFS$BTF \ SFUVSO UP6QQFS$BTF OBNFUP6QQFS$BTF OBNF

     OVNCFS ^ QVCMJD4USJOHGPP 4USJOHOBNF JOUOVNCFS \ SFUVSOGPP OBNF OVNCFS GBMTF  ^ QVCMJD4USJOHGPP 4USJOHOBNF CPPMFBOUP6QQFS$BTF \ SFUVSOGPP OBNF  UP6QQFS$BTF  ^ QVCMJD4USJOHGPP 4USJOHOBNF \ SFUVSOGPP OBNF   ^
  5. &YBNQMF DMBTT*UFN\ QSJWBUF4USJOHUZQF QSJWBUFJOUUZQF QSJWBUFGMPBUUZQF QSJWBUFGMPBUUZQF QVCMJD*UFN 4USJOHUZQF JOUUZQF GMPBUUZQF

    GMPBUUZQF \ UIJTUZQFUZQF UIJTUZQFUZQF UIJTUZQFUZQF UIJTUZQFUZQF ^ QVCMJD4USJOHHFU5ZQF \ SFUVSOUZQF ^ QVCMJDWPJETFU5ZQF 4USJOHUZQF \ UIJTUZQFUZQF ^ QVCMJDJOUHFU5ZQF \ SFUVSOUZQF ^ QVCMJDWPJETFU5ZQF JOUUZQF \ UIJTUZQFUZQF ^ QVCMJDGMPBUHFU5ZQF \ SFUVSOUZQF ^ QVCMJDWPJETFU5ZQF GMPBUUZQF \ UIJTUZQFUZQF ^ QVCMJDGMPBUHFU5ZQF \ SFUVSOUZQF ^ QVCMJDWPJETFU5ZQF GMPBUUZQF \ UIJTUZQFUZQF ^ !0WFSSJEF QVCMJDCPPMFBOFRVBMT 0CKFDUP \ JG UIJTP SFUVSOUSVF JG POVMM]]HFU$MBTT PHFU$MBTT SFUVSOGBMTF *UFNJUFN *UFN P JG UZQFJUFNUZQF SFUVSOGBMTF JG 'MPBUDPNQBSF JUFNUZQF UZQF  SFUVSOGBMTF JG 'MPBUDPNQBSF JUFNUZQF UZQF  SFUVSOGBMTF SFUVSOUZQFOVMM UZQFFRVBMT JUFNUZQF JUFNUZQFOVMM ^ !0WFSSJEF QVCMJDJOUIBTI$PEF \ JOUSFTVMUUZQFOVMM UZQFIBTI$PEF  SFTVMU SFTVMU UZQF SFTVMU SFTVMU  UZQF G 'MPBUGMPBU5P*OU#JUT UZQF   SFTVMU SFTVMU  UZQF G 'MPBUGMPBU5P*OU#JUT UZQF   SFUVSOSFTVMU ^ !0WFSSJEF QVCMJD4USJOHUP4USJOH \ SFUVSO*UFN\  UZQF UZQF =   UZQF UZQF   UZQF UZQF   UZQF UZQF  ^ ^ ^
  6. ,PUMJO  • ࢜۽਍ ঱যۄח Ѣࠗх / ۞׬ ழ࠳ /

    ࠛউх / ৈ۞ ੄ޙٜ … • Functional Programming • Hybrid Language о о૑ח ޙઁٜ • ই૒ ೠӖ۽ ػ ޙࢲ / ଼ٜ੉ ੸਺ • Kotlin Compiler ী ੄೧ ࢤࢿغח ௏٘ • ࢤпೞח Ѫࠁ׮ ؊ ݆਷ ௏٘о ࢤࢿ
  7. QVCMJDTUBUJDGJOBMWPJEUFTU !/PU/VMM0CKFDUY \ *OUSJOTJDTDIFDL1BSBNFUFS*T/PU/VMM Y Y  JG YJOTUBODFPG4USJOH \

    JOUWBS 4USJOH Y MFOHUI  4ZTUFNPVUQSJOUMO WBS  WBS 4USJOH Y MFOHUI  4ZTUFNPVUQSJOUMO WBS  WBS 4USJOH Y MFOHUI  4ZTUFNPVUQSJOUMO WBS  WBS 4USJOH Y MFOHUI  4ZTUFNPVUQSJOUMO WBS  ^ ^ ,PUMJOWT%FDPNJMF GVOUFTU Y"OZ \ JG YJT4USJOH \ QSJOUMO YMFOHUI  QSJOUMO YMFOHUI  QSJOUMO YMFOHUI  QSJOUMO YMFOHUI  ^ ^ ,PMUJO %FDPNQJMF 
  8. ੉ઁ੗߄উ೧بغաਃ • Framework Ú Java • Library Ú Java /

    Kotlin • Your Code Ú Java / Kotlin • Kotlin Compilerо Java Class Codeܳ ݅ٞ • Java to Kotlin, non-null ё୓ী null ਸ ࠁյ ҃਋ …. ী۞ ߊࢤ
  9. ,PUMJO  JNQPSULPUMJOYBOESPJETZOUIFUJDNBJOBDUJWJUZ@NBJO  DMBTT.Z"DUJWJUZ"DUJWJUZ \ PWFSSJEFGVOPO$SFBUF TBWFE*OTUBODF4UBUF#VOEMF \ TVQFSPO$SFBUF

    TBWFE*OTUBODF4UBUF  TFU$POUFOU7JFX 3MBZPVUBDUJWJUZ@NBJO  UFYU7JFXTFU5FYU )FMMP XPSME  ^ ^ <TextView android:id="@+id/textView" ... /> ,PUMJO"OESPJE&YUFOTJPOT