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

1つの言語を原点に色々な言語を学ぶということ

 1つの言語を原点に色々な言語を学ぶということ

Kichijoji.pm #33 Lightning Talks

karupanerura

June 16, 2023
Tweet

More Decks by karupanerura

Other Decks in Programming

Transcript

  1. @karupanerura • DeNA, Co., LTD. • Software Engineer • Perl/Go/Java/TypeScript/etc..

    • Japan Perl Association • Chief Director • Age: 0x20
  2. ࣗ෼ͷϓϩάϥϛϯάวྺ • (HTML) • N88ޓ׵BASIC • Perl • C/C++ •

    (CSS)ɺJavaScriptɺXSɺJavaɺSwiftɺKotlinɺelisp • BashɺCrystalɺGoɺRubyɺPythonɺTypeScript
  3. ͦΕ͸ͲΜͳݴޠʁ • Ͳ͏΍ͬͯ։ൃ؀ڥΛͭ͘Δʁ → ΁ʙͦ͏ͳΜͩ • Ͳ͏΍ͬͯίʔυΛॻ͘ʁ → ΁ʙͦ͏ͳΜͩ •

    Ͳ͏΍࣮ͬͯߦ͢Δʁ → ΁ʙͦ͏ͳΜͩ • Ͳ͏΍ͬͯςετ͢Δʁ → ΁ʙͦ͏ͳΜͩ • Ͳ͏΍ͬͯϦϦʔε͢Δʁ → ΁ʙͦ͏ͳΜͩ
  4. ͦΕ͸ͲΜͳݴޠʁ • Ͳ͏΍ͬͯ։ൃ؀ڥΛͭ͘Δʁ → ΁ʙͦ͏ͳΜͩ • Ͳ͏΍ͬͯίʔυΛॻ͘ʁ → ͑ɺͦ͏ͳͷʁʢڻ͖ʣ •

    Ͳ͏΍࣮ͬͯߦ͢Δʁ → ΁ʙͦ͏ͳΜͩ • Ͳ͏΍ͬͯςετ͢Δʁ → ΁ʙͦ͏ͳΜͩ • Ͳ͏΍ͬͯϦϦʔε͢Δʁ → ΁ʙͦ͏ͳΜͩ
  5. ڻ͖ͷ۩ମྫ: Perl (autovivi fi cation) • $hash{a}{b}{c}Λࢀরͨ͠ͱ͖ʹ$hash{a}{b} = {}͕҉໧తʹߦΘΕΔ •

    ྑ͍ͷ͔ѱ͍ͷ͔ɺͱ͍͏൑அ΋࣮͸೉͍͠ • ͨͱ͑͹ϫϯϥΠφʔͰ͸ศརɺͱ͔ͦ͏͍͏ଆ໘͕͋Δ • sed΍awkΈ͍ͨͳ΍ͭͰ౎౓ߏ଄Λఆٛͨ͘͠ͳ͍ • ٯʹɺPerlͰ͜Εʹ׳ΕͯΔͱଞͷݴޠͰ໘౗͘͞͞Λײ͡Δ(?)