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 を使い始めて 2 ヶ月の学び / My first two months with Go
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Daisuke Garaike
August 21, 2026
Programming
460
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Go を使い始めて 2 ヶ月の学び / My first two months with Go
https://tamachi-go.connpass.com/event/400310/
Daisuke Garaike
August 21, 2026
Transcript
18 slides
Go を使い始めて 2 ヶ月の学び 2026-08-20 tamachi.go #1 Daisuke Garaike
Daisuke Garaike • プログラマー ◦ ハンディ株式会社 ◦ at 浜松町 •
サーバーサイド Kotlin, アジャイル, 自動テスト, プロダクト開発 2
Go を使い始めて? • よく考えると書いたことはない ◦ AI が書いてくれている • バックエンドメインで 3
年 やっている ◦ Java, Kotlin ◦ 設計とかは なんとなくわかる 3
switch のケース漏れは誰が見つけるのか 4
きっかけ • とある PR • enum の switch による分岐に対して default
を入れる提案 • Java 系から来てる自分にとっては驚き 5
Java 系: コンパイル • Kotlin: when ◦ 式として使えば網羅性がコンパイルエラー • Java:
switch ◦ 式として使えば網羅性がコンパイルエラー • enum, sealed interface と相性良し • いずれも default をつけないことで効果を発揮 6
Go: リンター • case に漏れがあってもコンパイル OK • sealed な型がそもそも無い •
default をつけず、リンターで検知 ◦ ref. 7
学び • 型の力は落ちる • 言語仕様に入れないことで、柔軟性がある 8
ビルドシステムが無い 9
きっかけ • どのリポジトリもビルドに違いが無さそう 10
Java 系 • Maven, Gradle • Xml, Groovy, Kotlin •
プラグイン, タスクグラフ, バージョンカタログ...... • テストも後から入れる 11
Go • build, test, mod が最初から入っている • 学ぶことが共通 ◦ プロジェクト間で移動するコストが低い
12
学び • 凝ったことはできなさそう? • 薄くつくることによる統一感 13
テストが思ったより遅い 14
きっかけ • 開発に慣れてくると、 CI が遅いことに気づいてしまった • テストが思ったより遅い ◦ ローカルは早い ◦
CI で遅い 15
DB テストが遅そう • mysql の起動に時間がかかってそう ◦ GHA だししょうがない? • go
test おもろい ◦ パッケージレベルでの並列化 ◦ t.Parallel() によりパッケージ内でも並列化 ◦ ファイル単位ではなくパッケージ単位 16
学び • まだわからん 17
まとめ • 3 つとも同じ構造だった ◦ 言語仕様は薄く保つ ◦ 同梱ツールが豊富 ◦ 代わりに「ツールの挙動を知っているか」が生産性
を左右する • Java 系は逆で、コンパイラが強くツールは自作前提 • どちらが良いという話ではなく、 保証をどこに置くかの設計思想の差 18
More Decks by Daisuke Garaike
See All by Daisuke Garaike
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
1k
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
860
立川で超かぐや姫!について話したい / Talking Cosmic Princess Kaguya! in Tachikawa
contour_gara
2
550
AR グラス + ミニ PC で実現する新しいモバイル環境
contour_gara
0
440
TDD 実践ミニトーク
contour_gara
1
460
Spring Boot と AWS S3 を使ったアプリケーションのテスト
contour_gara
0
180
ノート PC に Linux 入れてみたけど結構良かった
contour_gara
0
3.8k
JUnit5 から Kotest へ
contour_gara
0
230
社外での学びを社内に還元したい
contour_gara
1
610
Other Decks in Programming
See All in Programming
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
AI Augmentation Techniques with Liberty
ivargrimstad
1
520
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
160
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
690
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
LLM 101
dalinaum
0
510
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
350
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
140
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
720
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
590
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
170
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Test your architecture with Archunit
thirion
2
2.5k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
570
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k