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
Programação Orientada a Protocolos
Search
Paulo Gama
March 27, 2018
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Programação Orientada a Protocolos
Paulo Gama
March 27, 2018
More Decks by Paulo Gama
See All by Paulo Gama
SwiftUI
paulogama
0
29
Continuous Integration and Continuous Delivery for Mobile
paulogama
0
70
Ferramentas auxiliares para desenvolvimento mobile
paulogama
0
90
Introdução ao Mundo Mobile
paulogama
0
80
Persistência de Dados: Análise e comparação de ferramentas
paulogama
0
120
Other Decks in Technology
See All in Technology
Essential architectural thinking (revised edition)
ufried
0
120
分析AIエージェントを育てる、動く環境を育てる
codatum
1
1k
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
420
SREでアラート疲れを 解決しよう!
kairim0
1
230
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
320
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
140
全PRの83%が AIレビューだけでマージできるようになった開発組織は その後どうなったか @2026/10
athug
0
140
会社説明資料
persolserverworks
0
9.7k
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.2k
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
5
1.3k
ゲームのリアルタイム通信から見た QUIC と MoQ
segadevtech
0
110
Kiro Crewをはじめよう
kizawa2020
1
150
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
Technical Leadership for Architectural Decision Making
baasie
3
600
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
A designer walks into a library…
pauljervisheath
211
25k
Agile that works and the tools we love
rasmusluckow
331
22k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
We Are The Robots
honzajavorek
0
400
Ethics towards AI in product and experience design
skipperchong
2
420
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
700
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Transcript
PROGRAMAÇÃO ORIENTADA A PROTOCOLOS
QUEM SOMOS NÓS?
LILIAN DIAS Pessoa Desenvolvedora Mobile na ThoughtWorks Belém - PA
PAULO GAMA Pessoa Desenvolvedora Mobile na ThoughtWorks Lavras (Capital do
Sul de Minas)
AGENDA Class x Struct O que é Qual a importância
Vantagens Desvantagens
CLASS X STRUCT
CLASS X STRUCT
O QUE É Paradigma de programação Programação baseada em protocolos
QUAL A IMPORTÂNCIA Qualidade de código Desacoplamento Manutenção Maior facilidade
em escritas de testes
VANTAGENS Classes, structs e enums Múltiplos protocolos Extensão Herança As
a type*
DESVANTAGENS Não é uma bala de prata Aumento de complexidade
Perguntas? OBRIGADA!
REFERÊNCIAS https://www.bobthedeveloper.io/blog/introduction-to-protocol-oriented- programming-in-swift https://www.raywenderlich.com/148448/introducing-protocol-oriented- programming https://developer.apple.com/library/content/documentation/Swift/Conceptual/ Swift_Programming_Language/Protocols.html http://chris.eidhof.nl/post/protocol-oriented-programming/ https://www.pluralsight.com/guides/swift/protocol-oriented-programming-in- swift