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
320
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
150
"型"のあるRailsアプリケーション開発 / Typed Rails application development
sinsoku
8
2.4k
Let's get started with Ruby && Rails Tips
sinsoku
0
360
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
330
Make tests run faster
sinsoku
2
640
YARD with RBS Syntax
sinsoku
1
480
Get started with OSS contributions
sinsoku
2
1.2k
Other Decks in Technology
See All in Technology
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
150
障害対応指揮の意思決定と情報共有における価値観 / Waroom Meetup #2
arthur1
5
470
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.6k
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
190
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
380
Taming you application's environments
salaboy
0
180
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
110
dev 補講: プロダクトセキュリティ / Product security overview
wa6sn
1
2.3k
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
470
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
170
Platform Engineering for Software Developers and Architects
syntasso
1
510
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Designing the Hi-DPI Web
ddemaree
280
34k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Embracing the Ebb and Flow
colly
84
4.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
A designer walks into a library…
pauljervisheath
203
24k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Ruby is Unlike a Banana
tanoku
97
11k
Code Reviewing Like a Champion
maltzj
520
39k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
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