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

const vs let

Yosuke Furukawa
December 09, 2015
1.3k

const vs let

忘年🍣

Yosuke Furukawa

December 09, 2015
Tweet

Transcript

  1. ͦΖͦΖMFUWTDPOTU
    ʹܾணΛ෇͚͍ͨ࿩
    !ZPTVLF@GVSVLBXB

    View full-size slide

  2. ՄมੑΛ࠷খݶʹ͢Δ
    w &⒎FDUJWF+BWB
    w શͯͷpFMEΛpOBMQSJWBUFʹ͢Δ
    w Մมͳ΋ͷ͸ઐ༻ͷΞΫηεखஈΛ༻ҙ͢Δ
    TFUUFSΈ͍ͨͳ

    View full-size slide

  3. ՄมੑΛಋೖ͢ΔͱԿ͕μϝ
    ͳͷ͔
    w &⒎FDUJWF+BWB
    w த͕উखʹॻ͖׵ΘΔͷΛ๷͙ͨΊʹ๷ޚతί
    ϐʔΛ͠ͳ͖Ό͍͚ͳ͍͕࣌͋Δɻ
    w εϨουΞϯηʔϑ
    w Ωϟογϡʹऑ͍

    View full-size slide

  4. ͡Ό͋ٯʹ+4ʹͦΕ͸ඞཁͳ
    ͷ͔
    w த͕উखʹॻ͖׵ΘΔͷΛ๷͙ͨΊʹ๷ޚతίϐʔΛ͠ͳ͖Ό͍
    ͚ͳ͍͕࣌͋Δɻ
    w Ұ൪͋Γͦ͏ɻ
    w εϨουΞϯηʔϑ
    w 8FC8PSLFSBOE4IBSFE"SSBZ#V⒎FSͱ͔
    w Ωϟογϡʹऑ͍
    w ͔֬ʹɺͰ΋ͦΜͳΩϟογϡ+4Ͱ࢖͏ͱϝϞϦϦʔΫͷݩ
    ʹͳΓͦ͏ɻ

    View full-size slide

  5. ͡Ό͋ٯʹ+4ʹͦΕ͸ඞཁͳ
    ͷ͔
    w ҙຯ͸ʢബ͍͚Ͳʣ͋Δ
    w εϨουηʔϑͱ͔͸ࠓ͸ແ͍͔ΒඍົͬͪΌඍ

    w େن໛։ൃͱ͔ͳΒҙຯ͸͋ΔʢෆมੑͰյΕ
    ΔͷΛ๷͙ޮՌʣɻ

    View full-size slide

  6. DPOTU͚ͩͰ๷͛Δͷ͔
    w ແཧ
    w DPOTU0CKFDUGSFF[F
    w .BQ΍4FU͸JNNVUBCMFKTΈ͍ͨͳίϨΫγϣ
    ϯϥούʔ͕ඞཁʹͳΓͦ͏

    View full-size slide

  7. ͦ͜·Ͱ΍Δͷʁ
    w ΍ͬͯͳ͍X ݱঢ়ਓମ੍

    w Θ͟Θ͟GSFF[F͸ͪΐͬͱ໘౗ɻ
    w ·ͯ͠΍JNNVUBCMFKTϥΠϒϥϦʹཔΔͱ͔͸
    ΑͬΆͲͷঢ়گɻ

    View full-size slide

  8. ͡Ό͋΍Δҙຯ͋Δͷʁ
    w ݸਓతͳ΍Δҙຯ
    w ೴಺ϝϞϦͷઅ໿
    w ಡΉ࣌ʹAMFUAPSAWBSA͕͋Δͱɺมߋ͢Δ
    Մೳੑ͕͋Δม਺ͱͯ͠ݟͳ͍ͱ͍͚ͳ͍ɻ
    w ʰมߋ͕ͳ͍ʱ͍ͬͯ͏͚ͩͰಡΉ࣌ʹָ

    View full-size slide

  9. ͡Ό͋΍Δҙຯ͋Δͷʁ
    w ྑ͔ͬͨ͜ͱ΋͋Δ
    w MFU࢖͏ͱ͖͸GPSจΛϒϯճ͚࣌ͩ͢ʹݶఆ͞
    ͤͨ
    w ٯʹMFUͰGPSจΛճͦ͏ͱͯ͠ΔίʔυΛݟΔ
    ͱʮ͓΍ʁʯͬͯؾ͚ͮΔΑ͏ʹͳͬͨɻ
    w GPSͰճ͢ΑΓ΋"SSBZNFUIPE࢖ͬͯNBQͱ͔
    pMUFSͱ͔SFEVDFͰ͏·͘ॻ͚ΔͰ͠ΐͬͯͳΔ

    View full-size slide

  10. ͡Ό͋΍Δҙຯ͋Δͷʁ
    w ΍Γ͍ͨ͜ͱ͸DPOTUΛڧ੍ͤ͞Δ͜ͱͰ
    w ॳֶऀͱҰॹʹ΍ͬͨ࣌ʹ͍ͭ΍ͬͪΌ͏۪
    ௚ͳॲཧ GPSจ͙Δ͙ΔJGจͰ୅ೖ
    ΛݮΒ
    ͢
    w มߋՄೳͳঢ়ଶΛͪΐͬͱ͚ͩগͳͯ͘͠ɺಡ
    Ή࣌ͷίετΛݮΒ͢

    View full-size slide

  11. MFUͷ͕DPOTUΑΓ୹͍͡ΌΜ
    w ͦΕͳʁ
    w Ͱ΋ɺͦ΋ͦ΋ͦΜͳʹͨ͘͞Μม਺એݴ͠ͳ
    ͍ɻ
    w MFU͕ଟ͍ͱͦΕ͸ͦΕͰม਺એݴଟ͍Μ͔ͩΒ
    ݟͳ͓ͨ͠΄͏͕ྑ͍ͷͰ͸ʁ

    View full-size slide

  12. DMBTTͰpOBMͱ͔࡞ΕͶʔ
    ͠
    w ͦΕͳʁ
    w EFGFOTJCMFDMBTTͱ͔ߟ͑ΕͯΔΒ͍ͥ͠
    w IUUQXJLJFDNBTDSJQUPSHEPLVQIQ
    JETUSBXNBOEFGFOTJCMF@DMBTTFT

    View full-size slide

  13. ๻ͷதͰͷߟ͑
    w ࠓ͸ҙຯ͕ബ͍ͩΖ͏͚Ͳɺࠓޙ͸εϨουηʔ
    ϑͱ͔΋ߟ͑ͳ͖Ό͍͚ͳ͍࣌୅͕+4΋དྷΔ
    ʢ͸ͣʣ
    w DMBTTͷදݱ͕গͳ͍͚Ͳࠓޙ͸૿͑Δ͸ͣ
    w DPOTUʹ͓ͯ͘͜͠ͱͰؔ਺ܕελΠϧͷॻ͖ํ
    ʹ׳Ε͓ͯ͘͜ͱʹҙຯ͸͋Δ͸ͣ

    View full-size slide

  14. ݁࿦
    w DPOTU࢖͓͏

    View full-size slide