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
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
22
Continuous Integration and Continuous Delivery for Mobile
paulogama
0
68
Ferramentas auxiliares para desenvolvimento mobile
paulogama
0
87
Introdução ao Mundo Mobile
paulogama
0
72
Persistência de Dados: Análise e comparação de ferramentas
paulogama
0
110
Other Decks in Technology
See All in Technology
プロンプト_きのこカンファレンス2026_LT
yurufuwahealer
0
130
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
1
230
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
AIをフル活用してオンコール機能のプロトタイプを2日で作った話 / Building an AI-Powered On-Call Prototype in Just Two Days
nari_ex
0
170
飲食店もAIで。レジ締めやハンディシステムをつくってる話 / Using AI for restaurant management
vtryo
0
230
FinOps X 2026 Recap from Engineer Side #JapanFinOps
chacco38
0
240
Claude Code 珍プレー好プレー
shinyasaita
0
120
組織における AI-DLC 実践
askul
0
300
AIDLC_ヤフーショッピングの取り組み
lycorptech_jp
PRO
0
510
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
8k
Hatena Engineer Seminar 37 jj1uzh
jj1uzh
0
420
NDIAS CTF 2026 問題解説会資料
bata_24
0
170
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Odyssey Design
rkendrick25
PRO
2
720
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
72
40k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
410
Google's AI Overviews - The New Search
badams
0
1.1k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
480
YesSQL, Process and Tooling at Scale
rocio
174
15k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
310
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1k
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