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
REPL Driven Development no Elixir com IEx
Search
Miriam Retka
November 28, 2020
Technology
0
110
REPL Driven Development no Elixir com IEx
Uma introdução a REPL Driven Development dentro do Elixir usando o IEx.
Miriam Retka
November 28, 2020
Tweet
Share
Other Decks in Technology
See All in Technology
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
260
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
150
Tebiki Engineering Team Deck
tebiki
0
24k
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
570
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
240
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
430
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
920
Agile Leadership Summit Keynote 2026
m_seki
1
600
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
210
AWS Network Firewall Proxyを触ってみた
nagisa53
1
220
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
220
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
A Tale of Four Properties
chriscoyier
162
24k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
340
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Building AI with AI
inesmontani
PRO
1
690
New Earth Scene 8
popppiees
1
1.5k
How STYLIGHT went responsive
nonsquared
100
6k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Designing for humans not robots
tammielis
254
26k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Transcript
REPL Driven Development com IEx Miriam Retka
Process.info(self()) • Desenvolvedora Backend • Licenciada em Física pela Universidade
Estadual de Ponta Grossa • Veio do Ruby e Emacs Lisp • Guitarrista • Retrogamer • Zerou Cuphead no Expert
O que é um REPL? • Read • Eval •
Print • Loop
Exemplo
Inspirações
Inspirações
Inspirações
Debugando um sistema no espaço sideral • http://flownet.com/gat/ jpl-lisp.html
“Debugging a program running on a $100M piece of hardware
that is 100 million miles away is an interesting experience. Having a read- eval-print-loop running on the spacecraft proved invaluable in finding and fixing the problem.” Ron Garret – Lisping at JPL
Por que usar um REPL? • Reduzir o ciclo de
feedback entre a ideia e o código • Ter um contato mais próximo com a criação do código
“Creators need an immediate connection to what they create” Bret
Victor – Inventing on Principle https://www.youtube.com/watch? v=PUv66718DII
Quais problemas RDD resolve?
Esperar o programa compilar
Não sei por onde começar a resolver o problema
Para que usamos RDD?
Reduzir o ciclo de feedback entre ideia e resultado
Explorar problemas e testar conceitos
Mas e o TDD?
Eles se complementam!
Estado das ferramentas • Hoje o fluxo está mais fácil
dentro do Emacs • O que é necessário: – Um terminal com o IEx aberto – Um editor de texto do lado – Um atalho pra mandar o código do editor pro IEx
Customizando o IEx
Arquivos .iex.exs • https://alchemist.camp/episodes/iex-exs • Permite configurar a inicialização do
IEx • Dica: coloque o .iex.exs no seu .gitignore global
Dicas e truques do IEx
Documentação de funções • Iex> h Module.function
open • Iex> open Module.function
Exemplo prático
Conclusão
Referências e créditos • https://practicalli.github.io/clojure/repl-driven-de vlopment.html • https://xkcd.com/303/ • Imagens:
https://pexels.com • http://flownet.com/gat/jpl-lisp.html • https://www.youtube.com/watch? v=PUv66718DII
Obrigada! • Telegram: https://t.me/mretka (@mretka) • Twitter: @miriamretka • LinkedIn:
https://www.linkedin.com/in/miriam-retka/ • Email:
[email protected]