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
読みやすいコード クラスメソッド 2022 年度新卒研修
Search
januswel
July 13, 2022
Programming
9.8k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
読みやすいコード クラスメソッド 2022 年度新卒研修
januswel
July 13, 2022
More Decks by januswel
See All by januswel
今日からできる環境カイゼン
januswel
0
1k
Accelerate your business with React Native
januswel
0
2.6k
猫の手も借りたい引っ張りだこ企業による LINE API活用事例発表会! クラスメソッド編
januswel
0
220
現状確認
januswel
0
1k
BLE on React Native
januswel
2
1.6k
polyglot になろう !!
januswel
1
6.2k
React Native & monorepo
januswel
0
1.2k
What is React Native?
januswel
1
1.3k
discussion about the bridge
januswel
1
4.3k
Other Decks in Programming
See All in Programming
golang-bob.pdf
iwatsukayura
0
120
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
200
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
すこし踏み込む CancellationToken
htkym
2
1.7k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
620
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
180
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
650
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
150
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.3k
気持ちぃ〜角丸 Squircle
ryu1013
0
270
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
41
2.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
Why Our Code Smells
bkeepers
PRO
340
58k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
So, you think you're a good person
axbom
PRO
2
2.2k
HDC tutorial
michielstock
2
950
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Transcript
読みやすいコード エンジニアリング統括室
読みやすい コードって どういうもの?
どういうものだと思いますか?
読みにくい コードの デメリット
何がありますか?
みんなの意見 解読に時間が かかる isMatcher とい う命名は bool 型を返す用に 見える 感覚と違う挙
動をするとバグ を仕込みやす い チームで対話 するときのコス ト増 ヒューマンエ ラーを誘発する 思考順番と別 の順番で書か れている 読む人間に順 序を強要する ものは脳がバ グる 時間たって見 てみるとわけ わからない エラーがすべて Unknown で具体 的なエラーが書か れてい 実行時エラーだけ だと追うのがつら い 関数つなぎすぎ メソッドチェーンが 多すぎるとつらい コメントのつけかた が統一されていな い 読みづらい
この講義での 読みやすさの 定義
保守性が高い
保守性ってなんですか?
ソフトウェア品質特性 https://www.iso.org/standard/35733.html
モジュール性 再利用性 解析性 修正性 試験性 保守性
読みやすくない コードを書くと どうなるか?
質とスピード
コードの 読みづらさを 探してみよう
bad.mjs
読みやすくするた めの観点
命名
文脈
文法
構造