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
The pragmatic programmer
Search
Lucas Arantes
February 22, 2018
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The pragmatic programmer
A more complete talk about what is and how to be pragmatic.
Lucas Arantes
February 22, 2018
More Decks by Lucas Arantes
See All by Lucas Arantes
Elixir 101
lucasprag
1
270
Clean Architecture
lucasprag
3
90
Hello Docker!
lucasprag
0
80
The Pragmatic Programmer
lucasprag
1
180
Hello Swift!
lucasprag
1
61
Other Decks in Programming
See All in Programming
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
860
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
3.3k
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.5k
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.9k
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
590
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
190
iOSDCのペンライトを自動制御したい!
akkeylab
0
100
速習iPhone Duo対応
yuukiw00w
2
840
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
110
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
310
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
970
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.9k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
Building the Perfect Custom Keyboard
takai
2
890
Rails Girls Zürich Keynote
gr2m
96
14k
Navigating Team Friction
lara
192
16k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
610
Believing is Seeing
oripsolob
1
230
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
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