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
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
550
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
160
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
150
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
920
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
630
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
130
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
What happened to RubyGems and what can we learn?
mikemcquaid
0
280
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
190
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
57
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
Build your cross-platform service in a week with App Engine
jlugia
234
18k
We Have a Design System, Now What?
morganepeng
54
8k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
The SEO identity crisis: Don't let AI make you average
varn
0
68
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
49
Google's AI Overviews - The New Search
badams
0
900
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