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.9k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
読みやすいコード クラスメソッド 2022 年度新卒研修
januswel
July 13, 2022
Transcript
20 slides
読みやすいコード エンジニアリング統括室
読みやすい コードって どういうもの?
どういうものだと思いますか?
読みにくい コードの デメリット
何がありますか?
みんなの意見 解読に時間が かかる isMatcher とい う命名は bool 型を返す用に 見える 感覚と違う挙
動をするとバグ を仕込みやす い チームで対話 するときのコス ト増 ヒューマンエ ラーを誘発する 思考順番と別 の順番で書か れている 読む人間に順 序を強要する ものは脳がバ グる 時間たって見 てみるとわけ わからない エラーがすべて Unknown で具体 的なエラーが書か れてい 実行時エラーだけ だと追うのがつら い 関数つなぎすぎ メソッドチェーンが 多すぎるとつらい コメントのつけかた が統一されていな い 読みづらい
この講義での 読みやすさの 定義
保守性が高い
保守性ってなんですか?
ソフトウェア品質特性 https://www.iso.org/standard/35733.html
モジュール性 再利用性 解析性 修正性 試験性 保守性
読みやすくない コードを書くと どうなるか?
質とスピード
コードの 読みづらさを 探してみよう
bad.mjs
読みやすくするた めの観点
命名
文脈
文法
構造
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
230
現状確認
januswel
0
1k
BLE on React Native
januswel
2
1.6k
polyglot になろう !!
januswel
1
6.3k
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
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
260
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
360
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
230
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
330
特急いなほ as a Workflow / 20261107jaws-festa-2026-akita-lt
kasacchiful
PRO
0
110
Getting Started with Vibe Coding
miccheng
0
250
protojson における文字化けの扱い
kazuki1023
0
460
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
210
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.6k
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
220
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
630
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
310
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
340
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
4 Signs Your Business is Dying
shpigford
187
23k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
The browser strikes back
jonoalderson
0
2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Designing for Performance
lara
612
70k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k