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
Go言語は本当に読みやすいのか
Search
Seiya Maruyama
October 30, 2025
Programming
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Go言語は本当に読みやすいのか
Seiya Maruyama
October 30, 2025
Transcript
8 slides
Go言語は本当に読みやすいのか Kyoto.go Weekday #1 オンラインLT Night !! 2025/10/08(水)
自己紹介 名前 丸山 聖也【X:聖。 】 所属 和歌山大学 大学院 システム工学研究科 (2年)
運営組織 ① add。(読み:あどまる) ② Wakayama.go 2 Wakayama Gopherは聖。が作成しました。Gopherの現著作者はRenée French氏です。
それでは早速... 3
Goの可読性設計 4 Goの可読性に関する哲学は非常に多く,重要視されている ここで,哲学の一部を一言で抜粋 最小限 ⇒ ex.)制御構文はif, for, switch, selectのみ
一貫性 ⇒ ex.)fmtでフォーマット 自動的な統一 明示的で予測・追跡が可能 ⇒ ex.)型やエラー,インポート 責務を明確に,循環は禁止 ⇒ ex.)小さくモジュール化
ちなみに 5
Go Style Guide 6 Googleから出ているGoの書き方(スタイル)に関する資料[1] Goプロジェクトの資料ではないので非公式 公式資料のEffective Go[2]を一部拡張して作成 スタイルに関する5つの原則 明確性
/ シンプルさ / 簡潔性 / 保守性 / 一貫性 具体的にどうするのが重要か(コア ガイドライン) 命名やフォーマット,コードの長さ etc... [1]:https://google.github.io/styleguide/go/guide [2]:https://go.dev/doc/effective_go
実体験について 7
Goを初めて読んだとき 8 ベンチャーでのアルバイトで初めてGoに触れた (制御)構文はJavaやCに近しい雰囲気を感じた 一見,Javaでも言う“おまじない”等がなくスッキリ見えた レシーバが1文字に圧縮することが命名として適切なのかと思った 可読性が高いとはいえ,コメントアウトがないと読むのが辛い エラーを書くのは面倒だけど,追跡はしやすい
More Decks by Seiya Maruyama
See All by Seiya Maruyama
改めて問う「それ、何のため?」
seiyamaruyama
0
11
技術者コミュニティを育て運用するということ
seiyamaruyama
0
15
Go Workshop Conference 2025 体験レポート
seiyamaruyama
0
57
Go言語を通して学んだ開発で大切なこと
seiyamaruyama
0
34
Other Decks in Programming
See All in Programming
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
240
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
470
Going Full Circle with Virtual Graphs and Relational Databases
michaelsimons
1
110
Crash Auto Pipelines
veronikapj
1
450
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
3
220
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
330
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
980
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
670
Distance field of Julia set
kinakomoti321
0
330
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
410
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
670
The browser strikes back
jonoalderson
0
2k
Statistics for Hackers
jakevdp
799
230k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
580
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
61k
So, you think you're a good person
axbom
PRO
2
2.3k