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
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
Claude Codeを使った情報整理術
knishioka
15
11k
Keynoteから見るAWSの頭の中
nrinetcom
PRO
1
150
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
240
Cloud WAN MCP Serverから考える新しいネットワーク運用 / 20251228 Masaki Okuda
shift_evolve
PRO
0
130
Introduce marp-ai-slide-generator
itarutomy
0
160
LayerX QA Night#1
koyaman2
0
300
ハッカソンから社内プロダクトへ AIエージェント ko☆shi 開発で学んだ4つの重要要素
leveragestech
0
490
AWS re:Inventre:cap ~AmazonNova 2 Omniのワークショップを体験してきた~
nrinetcom
PRO
0
120
M&Aで拡大し続けるGENDAのデータ活用を促すためのDatabricks権限管理 / AEON TECH HUB #22
genda
0
310
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
2k
20251203_AIxIoTビジネス共創ラボ_第4回勉強会_BP山崎.pdf
iotcomjpadmin
0
170
Everything As Code
yosuke_ai
0
460
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
32
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
The agentic SEO stack - context over prompts
schlessera
0
570
Speed Design
sergeychernyshev
33
1.5k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
210
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
530
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Google's AI Overviews - The New Search
badams
0
880
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
330
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
410
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
81
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