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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
20
Continuous Integration and Continuous Delivery for Mobile
paulogama
0
62
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
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
4
1.8k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
190
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
200
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
540
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
150
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
920
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.3k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.5k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
200
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
GitHub's CSS Performance
jonrohan
1032
470k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
320
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Unsuck your backbone
ammeep
671
58k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
180
The SEO Collaboration Effect
kristinabergwall1
0
350
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