Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
「他の人が理解できる」を掘り下げる_リーダブルコード LT会 - vol.4
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yasshieeee
August 24, 2022
Programming
98
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
「他の人が理解できる」を掘り下げる_リーダブルコード LT会 - vol.4
Yasshieeee
August 24, 2022
Transcript
19 slides
「他の人が理解できる」を 掘り下げる Yasshieeee / 2022.08.24 リーダブルコード LT会 - vol.4
Contents ・言葉の分解 ・思わぬ「他の人」 ・チームと重ねる ・後でやるは落とし穴 ・Appendix ~テストを書こう~
データエンジニア ↓ 株式会社イメジン Webエンジニア ▪ Ruby on Rails, Nuxt, AWS ▪
革細工, イラスト, ゲーム(モンハン, FF14) Twitter: @Yasshieeee ←concact Github: YaCpotato Yasshieeee
言葉の分解
他の人が理解できる ▪ 他の人 → もちろん他の人 ▪ 理解 → バグFIX、改修ができるレベルであ る 言葉の分解
思わぬ「他の人」
1週間くらい後の自分は自分なのか ▪ 途中で中断してしまうと良くない影響があるも のがある ▪ 人による 思わぬ「他の人」 NOTE: 後でやる! →なんだっけこれ、、、
チームと重ねる
開発の場では、コードを書くことも コミュニケーションとなり得る ▪ 読み手に左右される とあきらめないで ▪ 他の人がこれを見たらどうだろう?と一度立 ち止まって考えてみよう チームと重ねる
後でやるは落とし穴
本書 p.61あたり ▪ モノづくりは、途中でやめると効率が落ちる場合がある ▪ 思考が別のところに行く 後でやるは落とし穴 思わぬ「他の人」で説明したように アジャイル・スクラム的思考にも昇華され ている
始めるのをやめて、終わらせること を始める! カンバン仕事術 合わせて読みたいおすすめ書籍
Appendix ~テストを書こう~
p.180であえて触れないことを明記されているがオススメしたい テストを書こう 新しいコードを書いたときにテストを追加し なくなる? テスト駆動開発(TDD)だ!
テスト駆動開発例 on Rails
テスト駆動開発例 on Rails 1. migration 2. FactoryBot 3. Model Spec
4. Model 5. Routes 6. Controller Spec 7. Controller
Thanks ! ご清聴ありがとうございました
Presentation template by http://pptmon.com/ Click to follow link
Abril Fatface Font download by https://fonts.google.com/specimen/Abril+Fatface Click to follow link
Montserrat Font download by https://fonts.google.com/specimen/Montserrat Click to follow link
More Decks by Yasshieeee
See All by Yasshieeee
Djangoで「良い」Factoryを書きたい
yacpotato
0
84
はんなりPython 47回LT回
yacpotato
0
200
Other Decks in Programming
See All in Programming
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
2
260
はじめてのPLATEAU
nokonoko1203
1
670
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
810
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
450
SODA - FACT BOOK(EN)
sodainc
1
280
LLM 101
dalinaum
0
540
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
630
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
120
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.6k
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
17
9.5k
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
340
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
529
40k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Believing is Seeing
oripsolob
1
290
Designing for Performance
lara
612
70k
Six Lessons from altMBA
skipperchong
29
4.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Side Projects
sachag
456
43k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
A Tale of Four Properties
chriscoyier
163
24k