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
Transcript
13 slides
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
More Decks by Paulo Gama
See All by Paulo Gama
SwiftUI
paulogama
0
31
Continuous Integration and Continuous Delivery for Mobile
paulogama
0
77
Ferramentas auxiliares para desenvolvimento mobile
paulogama
0
91
Introdução ao Mundo Mobile
paulogama
0
83
Persistência de Dados: Análise e comparação de ferramentas
paulogama
0
120
Other Decks in Technology
See All in Technology
re:Inventを楽しむために、 1日1つ「これが楽しみ」を決めよう
beli68
0
100
小さなエージェントから始めてみよう!実践コンテキストエンジニアリング
iwamot
PRO
0
130
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
410
プロダクションコードにおける encoding/json から encoding/json/v2 へのスムーズな移行
sansantech
PRO
1
450
[関西Kaggler会 20261113] 続・コミュニティコンペのススメ
nejumi
0
140
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
240
Biohub - Cell Tracking During Development 5th place solution
rist
0
170
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
250
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
240
文書画像からの情報抽出を行うエージェントを、軌跡の正解データ無しで作れるか
sansantech
PRO
2
190
Quick Automate | 目指せ Quick マスター 12
inariku
PRO
1
130
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
180
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
We Are The Robots
honzajavorek
0
450
Six Lessons from altMBA
skipperchong
29
4.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Tell your own story through comics
letsgokoyo
1
1.1k
How STYLIGHT went responsive
nonsquared
100
6.4k
It's Worth the Effort
3n
188
29k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
810
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k