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
Técnicas de Util Prototype
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Matheus Monte
July 27, 2019
Programming
52
1
Share
Técnicas de Util Prototype
Descreve técnicas de como criar protótipos de forma otimizada e reaproveitáveis no futuro
Matheus Monte
July 27, 2019
More Decks by Matheus Monte
See All by Matheus Monte
I Forum carreira - FMM 2020
matheusmonte
0
80
Order the Chaos: How to organize your react code
matheusmonte
0
54
React-360 - Go beyond Final frontier
matheusmonte
0
39
Serverless - Basic Concepts
matheusmonte
0
45
PyDTN
matheusmonte
0
180
Using Angular and React in same context
matheusmonte
0
42
Async Renderer - What's next?
matheusmonte
0
52
Componentization with React
matheusmonte
0
310
Web API with Flash: Code fast, delivery faster
matheusmonte
0
38
Other Decks in Programming
See All in Programming
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
970
AIエージェントと協働するCLI開発 — BunとOpenClawで学んだこと
yoshikouki
1
220
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
390
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.8k
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
120
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.1k
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.3k
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
4k
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
2
1k
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
160
初めてのRubyKaigiはこう見えた
jellyfish700
0
330
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
170
Featured
See All Featured
From π to Pie charts
rasagy
0
190
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
330
Everyday Curiosity
cassininazir
0
210
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Six Lessons from altMBA
skipperchong
29
4.3k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Paper Plane (Part 1)
katiecoart
PRO
0
8k
Building the Perfect Custom Keyboard
takai
2
780
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
170
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
210
Exploring anti-patterns in Rails
aemeredith
3
380
Transcript
Técnicas de util prototype
Pai, Agilista, desenvolvedor e nada fotogênico
Como nascem os aviões?
None
None
E o software?
Ideia
MVP
Valida a ideia
–Usuários, clientes e Steakholders “Sucesso!” “Adorei Isso” “Exatamente o que
eu queria” “Vai precisar aguentar 3 trilhões de usuários” “Novo unicórnio” “Precisa só mudar um pouco essa tela!”
None
None
Pode ser DIFERENTE
Peças
Componentes
Vantagens • Reaproveitamento máximo de código já desenvolvido • Mantém
a identidade visual dos produtos • Melhora a legibilidade e manutenção • Reduz o tempo de desenvolvimento
A parte chata • Por que fazer isso para um
teste? • Pensar em comportamentos variados • Construir o pacote inicial • Refino exagerado
Equilíbrio
Como fazer
Exemplo import React,{useState, useEffect} from "react"; import './Timer.css'; function Timer(props){
const [time, setTime] = useState(props.startTimer); useEffect(() =>{ let timerID = setInterval(() => tick(), 1000); return function cleanup(){ clearInterval(timerID); } }); function tick(){ if(time > 0){ setTime(time - 1); } } return( <div className="TimerContainer"> <p className="CountNumber">{time === 0 ? <marquee>{props.finishText}</marquee> : time }</p> </div> ) } export default Timer;
Exemplo <Timer startTimer={13} finishText="time is over"/> <Timer startTimer={13} finishText="time is
over"/> <Timer startTimer={13} finishText="time is over"/> <Timer startTimer={13} finishText="time is over"/> <Timer startTimer={13} finishText="time is over"/> <Timer startTimer={13} finishText="time is over"/>
Infraestrutura
Serverless
Vantagens • Foco nas regras de negócio • Abstração de
infraestrutura • Sua linguagem preferida • Atomico • Custo
A parte chata • Controle e organização de código •
Sem “Utils" • Atomicidade • Cold Time
Limite
Como fazer
Exemplo
Exemplo
Flexível
Mobile Híbrido
Vantagens • Agilidade • Manutenção • Code once • Bom
desempenho • Documentação disponível
A parte chata • Recursos nativos • Code once, maybe
run anywhere
Objetividade
Como fazer
Exemplo
Novidade rápida
None
Até o próximo voo
[email protected]
@matheuscsmonte M.: T.: matheusmonte G.: