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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
85
Hello Docker!
lucasprag
0
75
The Pragmatic Programmer
lucasprag
1
170
Hello Swift!
lucasprag
1
50
Other Decks in Programming
See All in Programming
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
380
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
390
Ruby and LLM Ecosystem 2nd
koic
1
490
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
170
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
1
120
Codex の「自走力」を高める
yorifuji
0
1.2k
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
200
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
360
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
730
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
300
Docコメントで始める簡単ガードレール
keisukeikeda
1
110
モジュラモノリスにおける境界をGoのinternalパッケージで守る
magavel
0
3.5k
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
390
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
460
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
390
Into the Great Unknown - MozCon
thekraken
40
2.3k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
150
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
74
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
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