Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
LTの敷居を下げる / Lower the threshold for LT
Search
Takumi Shotoku
January 11, 2024
Technology
1
330
LTの敷居を下げる / Lower the threshold for LT
【オフライン開催】Omotesando.rb #93
https://omotesandorb.connpass.com/event/305893/
Takumi Shotoku
January 11, 2024
Tweet
Share
More Decks by Takumi Shotoku
See All by Takumi Shotoku
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
190
"型"のあるRailsアプリケーション開発 / Typed Rails application development
sinsoku
9
2.5k
Let's get started with Ruby && Rails Tips
sinsoku
0
370
CircleCIの高速化🚀 / CircleCI faster
sinsoku
3
1.2k
Railsアプリと型検査 / Rails app and type checking
sinsoku
5
1.4k
💎のつくりかた 2023 / How to make gems 2023
sinsoku
2
340
Make tests run faster
sinsoku
2
650
YARD with RBS Syntax
sinsoku
1
490
Get started with OSS contributions
sinsoku
2
1.2k
Other Decks in Technology
See All in Technology
権威ドキュメントで振り返る2024 #年忘れセキュリティ2024
hirotomotaguchi
2
740
AI時代のデータセンターネットワーク
lycorptech_jp
PRO
1
280
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
190
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
AWS re:Invent 2024 ふりかえり
kongmingstrap
0
130
Postman と API セキュリティ / Postman and API Security
yokawasa
0
200
非機能品質を作り込むための実践アーキテクチャ
knih
3
980
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
300
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
520
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
190
C++26 エラー性動作
faithandbrave
2
710
Featured
See All Featured
Scaling GitHub
holman
458
140k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Making the Leap to Tech Lead
cromwellryan
133
9k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Why Our Code Smells
bkeepers
PRO
335
57k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Mobile First: as difficult as doing things right
swwweet
222
9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
Agile that works and the tools we love
rasmusluckow
328
21k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
Transcript
LTͷෑډΛԼ͛Δ Omotesando.rb #93 2024/01/11 1
ࣗݾհ • ໊લ: ਖ਼ಙ (aka: ਆ) • GitHub: @sinsoku (ը૾ӈ্)
• Twitter: @sinsoku_listy (ը૾ӈԼ) • ͖ͳݴޠ: Rust ! , Ruby " • Railsྺ: 8͘Β͍ 2
એ: ໌1/12(ۚ)ʹ։࠵ ձ גࣜձࣾϚωʔϑΥϫʔυ ͞Μʹ͓आΓ͠ɺRBSܕΛ৮ ΔձΛ͠·͢ɻ 3
͢͜ͱ • ! LTͷෑډ͕ߴ͍ʁ • ⭐ LTͷϝϦοτ • # εϥΠυͷ࡞ΓํͳͲ
• $ ͓·͚: Rubyͷ • Omotesando.rb ͳͷͰ 4
! LTͷෑډ͕ߴ͍ʁ • ొஃͯ͢͠ωλ͕ແ͍ • ਓલͰ͢ͷ͕ۤख • ܦݧ͕ແ͍ͷͰෆ҆ 5
͢ωλ Omotesando.rb ຖ݄։࠵ͯ͠ΔͷͰɺRubyؔ࿈Ͱ৽֮͑ͨ͘͠ Կ͔Λ͘͢Β͍ͷؾ࣋ͪͰྑ͍ɻ • Rubyͷศརϝιουɺػೳͷհ • ͋·ΓΒΕ͍ͯͳ͍ڍಈͷհ • ʮ͜Ε͕όάͷݪҼͰͨ͠ʯͳͲ1
1 ⚠ ۀͷ۩ମྫΛ͠ա͗ͳ͍Α͏ʹҙ 6
ਓલͰ͢ͷ͕ۤख / ܦݧ͕ແ͍ͷͰෆ҆ 7
ͦΕͳ 8
͢ͷ͕ۤख / ෆ҆ ొஃܦݧ͕૿͑Δͱɺগ͠׳ΕΔɻ ͨͩɺਓ͕૿͑ΔͱࠓͰۓு͢Δɻ 9
LTʹର͢Δߟ͑ํ • ⏳ Ͱ͖Δ͚ͩ 5 ͰऴΘΒͤΔ • LT͕໘ന͘ͳͯ͘5ͳΒେৎ • "
୭͔ͷʹཱͭ 10
࣭ 1. Omotesando.rb ॳࢀՃͷํ 2. Ruby/Railsͷܦݧ͕3ະຬͷํ 11
⭐ LTͷϝϦοτ • ! ొஃͷޙʹใ͕ू·Δ • " ొஃͷ࿅शʹͳΔ • #
كʹొஃґཔΛड͚Δ 12
! εϥΠυ࡞ιϑτ • Google Slides • Deckset for Mac 13
Google Slides • ແྉ • Windows, Mac Ͱར༻Մ • ៉ྷͳσβΠϯ͕࡞ΕΔ
• จࣈɾը૾Λࣗ༝ʹஔͰ͖Δ ҎલʹΑ͍ͬͯͨ͘ɻձࣾͷςʔϚΛ͏ͱ͖ͬͪ͜ɻ 14
Desckset for Mac • ༗ྉʢ$35/one-timeʣ • ϚʔΫμϯه๏Ͱ࡞Մೳ • GitHubͰཧͰ͖Δ •
จࣈɾը૾ͷஔʹ੍ݶ͕͋Δ ࠷ۙͬͪ͜Λ͍ͬͯΔɻ࣌ؒͰεϥΠυ͕࡞Εͯศརɻ 15
! ը૾Λ͏ • ! จࣈ͚ͩͩͱ୯ௐʹͳΔ • ✨ ҹʹΔ • #
্ख͘͏ͱ໘ന͍ 16
ΞϯΨʔϚωδϝϯτͷษڧͰಡΜͩຊ • ΞϯΨʔϚωδϝϯτೖ • ଞऀͱಇ͘ / ʮΘ͔Γ͋͑ ͳ͞ʯ͔Β࢝ΊΔ৫ • ࣗͷখ͞ͳʮശʯ͔Β
ग़͢Δํ๏ • ը૾ 17
⚠ ஶ࡞ݖͷѻ͍ • εϥΠυͷར༻άϨʔ2 • ΦϯϥΠϯެ։ආ͚ͨํ͕ྑ͍ • SpeakerDeck ʹ্͛Δલʹফ͢ •
ΧϯϑΝϨϯεͰར༻Λආ͚ͨํ͕ྑ͍ 2 ৄ͘͠ͳ͍ͷͰࣗ৴ͳ͍ 18
! αʔόαΠυΤϯδχΞ ͜ΕαόͰ͢ ! 19
! map, flat_map, filter_map ͷհ map p [1, 2, 3].map
{ |n| n * 3 } #=> [3, 6, 9] 20
! map ͱ flat_map ͷҧ͍ map [[1,2], [3,4]].map { |i|
i.map { |j| j*2 } } #=> [[2, 4], [6, 8]] flat_map [[1,2], [3,4]].flat_map { |i| i.map { |j| j*2 } } #=> [2, 4, 6, 8] 21
! map ͱ filter_map ͷҧ͍ map (1..10).map { |i| i
* 2 if i.even? } #=> [nil, 4, nil, 8, nil, 12, nil, 16, nil, 20] filter_map (1..10).filter_map { |i| i * 2 if i.even? } #=> [4, 8, 12, 16, 20] 22
! ͥͻ࣍ճొஃ͠·͠ΐ͏ 23