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
Satoru Takeuchi
PRO
August 21, 2021
Technology
330
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Go言語のここが❤ラブ❤
kanazawa.rb #108 の余興スライドです
Satoru Takeuchi
PRO
August 21, 2021
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
78
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
73
Machine Check Exception
sat
PRO
2
70
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
110
114-ファイルのshallow_copy.pdf
sat
PRO
2
62
113-Btrfsのスナップショット.pdf
sat
PRO
0
46
Other Decks in Technology
See All in Technology
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
720
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
210
しろおびから始める!ログ活用の第一歩
shumei_ito
0
930
Loop Engineering, beyond prompt, context, and harness engineering
glaforge
0
110
Getting Started with Google Antigravity
glaforge
0
260
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
130
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3k
AI時代のPRレビューにどう向き合うか?
kairim0
1
230
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
0
140
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
280
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
160
パッチ更新でterraform initが落ちた日
grimoh
1
130
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Bash Introduction
62gerente
615
220k
Believing is Seeing
oripsolob
1
240
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
KATA
mclloyd
PRO
35
16k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
470
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
Transcript
Go言語のここが❤ラブ❤ Aug, 21st, 2021 kanazawa.rb #108 余興スライド Satoru Takeuchi twitter:
satoru_takeuchi 1
はじめに • 俺はGo言語が好きだ • 自分が感じるラブポイントを紹介 • 他の言語との比較はしないよ 2
覚えることが少ない • かっこいいけど初見殺しな特殊な構文などが少ない • 公式のTour of Goというのをやればおおよそ言語の基礎は掴める • 素朴で見やすいソースになりがち 3
ソースのフォーマットが統一されている • go fmtというツールにソースコードをかけると標準スタイルに整形される • テキストエディタもセーブ時にこれを自動実行しているものが多い • ゆえにソースの検索がしやすかったりもする 4
思い切りがいい • 標準ライブラリの関数で「失敗したらパニック」とかいうのがある ◦ 例: reflectパッケージ ◦ たしかに「この処理が失敗したらプログラムを生かしてても意味ないかな」ということはあるが、自分 が言語実装者ならここまで思いきれない 5
標準ライブラリが宝の山 • 綺麗で読みやすいコードに溢れている • かつ、誰にでも書けるものではない達人のコードがいっぱい • コメントもしっかりしている 6
定番入門書が鬼畜 • カーニハン先生のプログラミング言語Go ◦ CにおけるK&Rの位置づけ ◦ 「プログラミングを知っている人向けの Go入門」 • 「Implement
a concurrent FTP server」っていう演習問題がある ◦ プログラミング経験者でも簡単にできる人あんまりいなさそう 7
おわり • 他にもありそうだが忘れた 8