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
読みやすいコード クラスメソッド 2022 年度新卒研修
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
januswel
July 13, 2022
Programming
1
9.6k
読みやすいコード クラスメソッド 2022 年度新卒研修
januswel
July 13, 2022
Tweet
Share
More Decks by januswel
See All by januswel
今日からできる環境カイゼン
januswel
0
890
Accelerate your business with React Native
januswel
0
2.5k
猫の手も借りたい引っ張りだこ企業による LINE API活用事例発表会! クラスメソッド編
januswel
0
190
現状確認
januswel
0
970
BLE on React Native
januswel
2
1.5k
polyglot になろう !!
januswel
1
6.2k
React Native & monorepo
januswel
0
1.1k
What is React Native?
januswel
1
1.2k
discussion about the bridge
januswel
1
4.2k
Other Decks in Programming
See All in Programming
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
230
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
540
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
340
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
310
Event Storming
hschwentner
3
1.3k
TipKitTips
ktcryomm
0
160
Python’s True Superpower
hynek
0
200
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
330
AIプロダクト時代のQAエンジニアに求められること
imtnd
2
750
ふつうのRubyist、ちいさなデバイス、大きな一年 / Ordinary Rubyists, Tiny Devices, Big Year
chobishiba
1
400
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.9k
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
360
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
830
4 Signs Your Business is Dying
shpigford
187
22k
Building an army of robots
kneath
306
46k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
The Limits of Empathy - UXLibs8
cassininazir
1
250
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
310
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
620
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Leo the Paperboy
mayatellez
4
1.5k
Transcript
読みやすいコード エンジニアリング統括室
読みやすい コードって どういうもの?
どういうものだと思いますか?
読みにくい コードの デメリット
何がありますか?
みんなの意見 解読に時間が かかる isMatcher とい う命名は bool 型を返す用に 見える 感覚と違う挙
動をするとバグ を仕込みやす い チームで対話 するときのコス ト増 ヒューマンエ ラーを誘発する 思考順番と別 の順番で書か れている 読む人間に順 序を強要する ものは脳がバ グる 時間たって見 てみるとわけ わからない エラーがすべて Unknown で具体 的なエラーが書か れてい 実行時エラーだけ だと追うのがつら い 関数つなぎすぎ メソッドチェーンが 多すぎるとつらい コメントのつけかた が統一されていな い 読みづらい
この講義での 読みやすさの 定義
保守性が高い
保守性ってなんですか?
ソフトウェア品質特性 https://www.iso.org/standard/35733.html
モジュール性 再利用性 解析性 修正性 試験性 保守性
読みやすくない コードを書くと どうなるか?
質とスピード
コードの 読みづらさを 探してみよう
bad.mjs
読みやすくするた めの観点
命名
文脈
文法
構造