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

Develop to Survive - YAPC::Hakodate 2024 Keynote

moznion
October 07, 2024

Develop to Survive - YAPC::Hakodate 2024 Keynote

YAPC::Hakodate 2024のキーノートスライドです。

moznion

October 07, 2024
Tweet

More Decks by moznion

Other Decks in Technology

Transcript

  1. Taiki Kawakami @moznion PAUSE ID: MOZNION Software Engineer at SmartBank,

    inc. വؗࢢग़਎ ޷͖ͳPerlͷػೳ: wantarray built-in: do, kill, die
  2. വؗߴઐͷ͓͔͛Ͱϝγ͕৯͍͑ͯΔ  𝓑𝓲𝓰  𝓣 𝓱𝓪𝓷𝓴𝓼   ిࢠճ࿏ɺϋʔυ΢ΣΞɺιϑτ΢ΣΞɺωοτϫʔΫΛ ମܥతʹֶ΂ͨ

     ಛʹຊ֨తͳϓϩάϥϛϯάͱͷग़ձ͍͸େ͖͔ͬͨ  ݁ہ͜ΕͰࠓ·ͰͳΜͱ͔৯͍͑ͯΔ  ͋ͱιϑτ΢ΣΞ޻ֶͱϢʔβʔΠϯλʔϑΣʔε
  3. Hachioji.pmͱͷᬍ᫯  ट౎େֶ ࡏീԦࢠ ɺͦͯ͠1FSMͱ͘Ε͹ʜʜ  )BDIJPKJQNͱग़ձ͏ͷ͸ඞવ  *5ษڧձΧϨϯμʔͷ͓͔͛Ͱ΋͋Δ 

    ౰࣌஌Βͳ͔ͬͨ8FCۀքͷ஌ݟΛζϧζϧٵ͑ͨ  ౰࣌͸)BDIJPKJQNͰ͸1FSMͰνϟοτπʔϧΛࣗ࡞͍ͯͨ͠ IUUQTHJUIVCDPNV[VMMBZBODIB  ͦΕͰίϛϡχέʔγϣϯ͍ͯͨ͠ߗ೿ͳूஂ
  4. Hachioji.pmͱͷᬍ᫯  ट౎େֶ ࡏീԦࢠ ɺͦͯ͠1FSMͱ͘Ε͹ʜʜ  )BDIJPKJQNͱग़ձ͏ͷ͸ඞવ  *5ษڧձΧϨϯμʔͷ͓͔͛Ͱ΋͋Δ 

    ౰࣌஌Βͳ͔ͬͨ8FCۀքͷ஌ݟΛζϧζϧٵ͑ͨ  ౰࣌͸)BDIJPKJQNͰ͸1FSMͰνϟοτπʔϧΛࣗ࡞͍ͯͨ͠ IUUQTHJUIVCDPNV[VMMBZBODIB  ͦΕͰίϛϡχέʔγϣϯ͍ͯͨ͠ߗ೿ͳूஂ
  5. Perl::LintͰYAPC::EU΁ߦ͘  1FSM-JOUΛͻͬ͛ͯ͞:"1$&6(SBOBEB΁ߦͬͨ  ౰࣌ͬ͞ͺΓӳޠ͕Ͱ͖ͣ MFTUSSBU͞Μʹॿ͚ͯ΋Βͬͨ   ͔͠͠ӳޠͰϓϨθϯ͠ͳ͖ΌͩΊͩͬͨͷͰ͜͜͸ؾ߹Ͱ 

    ࢥ͍ͷ΄͔ϓϨθϯͷ΢έ͕Α͔ͬͨͷ͔ɺ"GUFS1BSUZͰ ৭ʑͳਓʹ੠Λ͔͚ͯ΋Βͬͨ  ͜ͷ΁ΜͰएׯւ֎Ͱͷ׆ಈʹର͢Δڵຯ͕ग़ͯ͘Δ
  6. Perl::LintͰYAPC::EU΁ߦ͘  1FSM-JOUΛͻͬ͛ͯ͞:"1$&6(SBOBEB΁ߦͬͨ  ౰࣌ͬ͞ͺΓӳޠ͕Ͱ͖ͣ MFTUSSBU͞Μʹॿ͚ͯ΋Βͬͨ   ͔͠͠ӳޠͰϓϨθϯ͠ͳ͖ΌͩΊͩͬͨͷͰ͜͜͸ؾ߹Ͱ 

    ࢥ͍ͷ΄͔ϓϨθϯͷ΢έ͕Α͔ͬͨͷ͔ɺ"GUFS1BSUZͰ ৭ʑͳਓʹ੠Λ͔͚ͯ΋Βͬͨ  ͜ͷ΁ΜͰएׯւ֎Ͱͷ׆ಈʹର͢Δڵຯ͕ग़ͯ͘Δ
  7. ελʔτΞοϓϚΠϯυ (ͱʹ͔͘΍Δ)  8FCٕज़ͷԠ༻  ௿ϨϕϧωοτϫʔΫ  ؂ࢹվળɺӡ༻վળ  ৽ػೳɾ৽αʔϏε࡞Γ·͘Γ

     ίΞωοτϫʔΫ։ൃ  (ϓϩτίϧελοΫ։ൃ ඪ४࢓༷ΛಡΈͳ͕ΒͷίʔσΟϯάܦݧ͕͜͜Ͱ׆͖͖ͯͨ   +BWB$BSE  ͳͲͳͲʜʜ
  8. ιϑτ΢ΣΞϓϩμΫτ࡞Γ͸νʔϜϫʔΫ  ͦΕ͸ͦ͏ ྫ֎͸͋Δ   νʔϜϫʔΫͳͯ͘͠੒ޭ͸ͳ͍ ྫ֎͸͋Δ  

    ͕ͩνʔϜΛνʔϜͨΒ͠Ί͍ͯΔͷ͸ݸਓ  ͜͜࠷ۙ͸νʔϜʹର͢ΔϑϨʔϜϫʔΫʹয఺͕౰ͨΓ͕ͪʹ ͳ͓ͬͯΓɺݸਓʹϑΥʔΧε͞Εͳ͍͜ͱʹएׯҧ࿨ײ  ͦΕ͘Β͍੒ख़ͨ͠ۀքʹͳ͖ͬͯͨͱ͍͏ݟํ΋Ͱ͖Δ
  9. ͋Δਓ [୭?] ͸ݴ͍·ͨ͠  4IVUUIF VQBOEXSJUFTPNFDPEF ӵΈਓ஌Βͣ   ͱʹ͔͘खΛಈ͔ͯ͠࡞Δͷ͕ඒಙͱ͍͏ελΠϧ

     ଟ͘ͷ৔߹ʮͦ͜ʹ͋Δ΋ͷʯ͔͠৴͡ΒΕͳ͍  ϕʔεϥΠϯͱͳΔ΋ͷ͕͋Δͱ͔ͦ͜Βٞ࿦͕Ͱ͖Δ  ࡞Δ΋ࣺͯΔ΋·ͣ͸͔ͦ͜Β