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
The pragmatic programmer
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Lucas Arantes
February 22, 2018
Programming
0
120
The pragmatic programmer
A more complete talk about what is and how to be pragmatic.
Lucas Arantes
February 22, 2018
Tweet
Share
More Decks by Lucas Arantes
See All by Lucas Arantes
Elixir 101
lucasprag
1
260
Clean Architecture
lucasprag
3
83
Hello Docker!
lucasprag
0
74
The Pragmatic Programmer
lucasprag
1
160
Hello Swift!
lucasprag
1
49
Other Decks in Programming
See All in Programming
CSC307 Lecture 06
javiergs
PRO
0
690
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
280
CSC307 Lecture 07
javiergs
PRO
0
550
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
Fragmented Architectures
denyspoltorak
0
160
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
620
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
700
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
並行開発のためのコードレビュー
miyukiw
0
170
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
5.8k
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
110
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
66
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
It's Worth the Effort
3n
188
29k
Writing Fast Ruby
sferik
630
62k
ラッコキーワード サービス紹介資料
rakko
1
2.3M
Transcript
The pragmatic programmer Lucas Oliveira | lucasprag.com
It's a book
None
None
What makes a pragmatic programmer? A pragmatic philosophy A pragmatic
approach
What makes a pragmatic programmer?
early adopter fast adapter
inquisitive
critical thinker
realistic
Jack of all trades
Jack of all trades != master of none
T-shaped skills
A pragmatic philosophy
"The greatest of all weaknesses is the fear of appearing
weak" - JB Bossuet
The cat ate my source code
Take responsibility
Provide options, don't make lame excuses
Everybody is learning
Don't live with broken windows
None
Control your software entropy
None
it's time to bring out the stones
people find it easier to join an ongoing success
if something could be better, change it
be a catalyst for change
projects slowly get totally out of hand
remember the big picture
Good enough software
make quality a requirement issue
involve users in the trade-off
know when to stop
Your knowledge portfolio
"An investment in knowledge always pays the best interest" -
Benjamin Franklin
it's similar to managing a financial portfolio
None
Building your portfolio
invest regularly
diversify
None
manage risk
None
buy low, sell high
review and rebalance
Goals
- learn one new language every year - read technical
books - read nontechnical books too - read and write blog posts Goals
Goals - take classes - participate in local user groups
- stay current - get wired
Critically analyze what you read and hear
Communicate!
A large part of our day is spent communicating, so
we need to do it well.
know what you want to say
plan what you want to say
write an outline
ask yourself: Does this get across whatever I'm trying to
say?
refine it until it does
know your audience
understand the needs, interests and capabilities of your audience
None
get to the same frequency of your audience
choose your moment
choose a style
make it look good
be a listener
A pragmatic approach
By keeping these fundamental principles in mind during development, you
can write code that's better, faster, and stronger. You can even make it look easy
Every piece of knowledge must have a single, unambiguous, authoritative
representation within a system
DRY don't repeat yourself
- imposed duplication - inadvertent duplication - impatient duplication -
interdeveloper duplication How does duplication arise?
eliminate effects between unrelated things
Benefits
increase productivity
reduce risk
increase reversibility
every decision can be changed!
Coding DRY
keep your code decoupled
avoid global data
avoid similar functions
Single responsibility
must to be easy to test
Domain languages
"The limits of language are the limits of one's world"
- Ludwig Wittgenstein
computer languages influence HOW you think about a problem
program close to the problem domain
The Basic Tools
shell games
use the power of shell commands
grep
None
awk
None
None
xargs
None
None
power editing
one editor
use it very well
use it for all editing things
editor features
configurable
extensible
programmable
increase your cursor movement
automate
None
None
None
None
Debugging
fix the problem, not the blame
None
rubber ducking
None
"select" isn't broken
don't assume it, prove it
What makes a pragmatic programmer? A pragmatic philosophy A pragmatic
approach
You can learn a lot more
Thank you