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
Lucas Arantes
February 22, 2018
Programming
0
110
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
220
Clean Architecture
lucasprag
3
74
Hello Docker!
lucasprag
0
68
The Pragmatic Programmer
lucasprag
1
150
Hello Swift!
lucasprag
1
45
Other Decks in Programming
See All in Programming
機能が複雑化しても 頼りになる FactoryBotの話
tamikof
1
270
コードジェネレーターで 効率的な開発をする / Efficient development with code generators
linyows
0
100
ABEMA iOS 大規模プロジェクトにおける段階的な技術刷新 / ABEMA iOS Technology Upgrade
akkyie
1
270
Your Architecture as a Crime Scene:Forensic Analysis @bastacon 2025 in Frankfurt
manfredsteyer
PRO
0
130
変化の激しい時代における、こだわりのないエンジニアの強さ
satoshi256kbyte
1
880
Duke on CRaC with Jakarta EE
ivargrimstad
0
490
LINE messaging APIを使ってGoogleカレンダーと連携した予約ツールを作ってみた
takumakoike
0
150
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
8
1.5k
Boost Your Web Performance with Hyperdrive
chimame
1
170
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
2.2k
Better Code Design in PHP
afilina
0
190
Google Cloudとo11yで実現するアプリケーション開発者主体のDB改善
nnaka2992
1
170
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
28
1.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
400
Building Applications with DynamoDB
mza
93
6.3k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Producing Creativity
orderedlist
PRO
344
40k
The Invisible Side of Design
smashingmag
299
50k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Mobile First: as difficult as doing things right
swwweet
223
9.5k
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