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
Programação Orientada a Protocolos
Search
Paulo Gama
March 27, 2018
Technology
0
100
Programação Orientada a Protocolos
Paulo Gama
March 27, 2018
Tweet
Share
More Decks by Paulo Gama
See All by Paulo Gama
SwiftUI
paulogama
0
19
Continuous Integration and Continuous Delivery for Mobile
paulogama
0
61
Ferramentas auxiliares para desenvolvimento mobile
paulogama
0
84
Introdução ao Mundo Mobile
paulogama
0
62
Persistência de Dados: Análise e comparação de ferramentas
paulogama
0
100
Other Decks in Technology
See All in Technology
RapidPen: AIエージェントによる高度なペネトレーションテスト自動化の研究開発
laysakura
1
390
DatabricksのOLTPデータベース『Lakebase』に詳しくなろう!
inoutk
0
100
20250719_JAWS_kobe
takuyay0ne
1
160
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
7k
MCP とマネージド PaaS で実現する大規模 AI アプリケーションの高速開発
nahokoxxx
1
1.4k
AIを使っていい感じにE2Eテストを書けるようになるまで / Trying to Write Good E2E Tests with AI
katawara
2
1.6k
低レイヤソフトウェア技術者が YouTuberとして食っていこうとした話
sat
PRO
7
5.8k
Expertise as a Service via MCP
yodakeisuke
1
140
本当にわかりやすいAIエージェント入門
segavvy
10
5.9k
AI駆動開発 with MixLeap Study【大阪支部 #3】
lycorptech_jp
PRO
0
190
機械学習を「社会実装」するということ 2025年夏版 / Social Implementation of Machine Learning July 2025 Version
moepy_stats
1
540
大規模組織にAIエージェントを迅速に導入するためのセキュリティの勘所 / AI agents for large-scale organizations
i35_267
6
220
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
21
1.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Docker and Python
trallard
45
3.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Balancing Empowerment & Direction
lara
1
490
YesSQL, Process and Tooling at Scale
rocio
173
14k
4 Signs Your Business is Dying
shpigford
184
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
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