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
januswel
July 13, 2022
Programming
9.6k
1
Share
読みやすいコード クラスメソッド 2022 年度新卒研修
januswel
July 13, 2022
More Decks by januswel
See All by januswel
今日からできる環境カイゼン
januswel
0
900
Accelerate your business with React Native
januswel
0
2.5k
猫の手も借りたい引っ張りだこ企業による LINE API活用事例発表会! クラスメソッド編
januswel
0
200
現状確認
januswel
0
980
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
Kubernetes上でAgentを動かすための最新動向と押さえるべき概念まとめ
sotamaki0421
2
430
存在論的プログラミング: 時間と存在を記述する
koriym
5
780
Java 21/25 Virtual Threads 소개
debop
0
330
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
230
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
500
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
960
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
1
250
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
130
Coding as Prompting Since 2025
ragingwind
0
730
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
190
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
170
アーキテクチャモダナイゼーションとは何か
nwiizo
15
4k
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Building Applications with DynamoDB
mza
96
7k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
340
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
410
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Statistics for Hackers
jakevdp
799
230k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
500
How to Talk to Developers About Accessibility
jct
2
170
Marketing to machines
jonoalderson
1
5.1k
Designing Powerful Visuals for Engaging Learning
tmiket
1
330
Transcript
読みやすいコード エンジニアリング統括室
読みやすい コードって どういうもの?
どういうものだと思いますか?
読みにくい コードの デメリット
何がありますか?
みんなの意見 解読に時間が かかる isMatcher とい う命名は bool 型を返す用に 見える 感覚と違う挙
動をするとバグ を仕込みやす い チームで対話 するときのコス ト増 ヒューマンエ ラーを誘発する 思考順番と別 の順番で書か れている 読む人間に順 序を強要する ものは脳がバ グる 時間たって見 てみるとわけ わからない エラーがすべて Unknown で具体 的なエラーが書か れてい 実行時エラーだけ だと追うのがつら い 関数つなぎすぎ メソッドチェーンが 多すぎるとつらい コメントのつけかた が統一されていな い 読みづらい
この講義での 読みやすさの 定義
保守性が高い
保守性ってなんですか?
ソフトウェア品質特性 https://www.iso.org/standard/35733.html
モジュール性 再利用性 解析性 修正性 試験性 保守性
読みやすくない コードを書くと どうなるか?
質とスピード
コードの 読みづらさを 探してみよう
bad.mjs
読みやすくするた めの観点
命名
文脈
文法
構造