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
[Rails Girls SP 2017] Lógica de programação com...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Flavia Fortes
August 19, 2017
Programming
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[Rails Girls SP 2017] Lógica de programação com Ruby
Flavia Fortes
August 19, 2017
More Decks by Flavia Fortes
See All by Flavia Fortes
[RubyConfBR 2017] Elixir/Elug - Flavia Fortes e Charlotte Oliveira
flaviafortes
0
160
[RubyConfBR 2017] Refatorando Rails apps com confiança
flaviafortes
3
220
[Women Dev Summit 2017] Introdução ao framework Phoenix
flaviafortes
0
120
[RubyConf 2016] Como funciona o Rails
flaviafortes
1
250
[RubyConf 2015] Learn From My Mistakes
flaviafortes
6
1k
Other Decks in Programming
See All in Programming
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
280
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
190
The NotImplementedError Problem in Ruby
koic
1
950
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
200
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
560
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
780
Agentic UI
manfredsteyer
PRO
0
200
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
14
7.2k
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
840
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
610
Oxcを導入して開発体験が向上した話
yug1224
4
340
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
330
Ruling the World: When Life Gets Gamed
codingconduct
0
260
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Practical Orchestrator
shlominoach
191
11k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
590
The Art of Programming - Codeland 2020
erikaheidi
57
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Docker and Python
trallard
47
3.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
170
Optimising Largest Contentful Paint
csswizardry
37
3.7k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Transcript
None
Flavia Fortes @flafortes
Lógica de programação com Ruby :D
0 que é programar?
None
None
Variáveis
None
Tipos de dados
String
Integer
Float
Array
Array
Array
Hash
Como eu posso acessar a chave `name` da variável `coach`?
Hash
Vamos dificultar um pouquinho...
None
Como eu faço pra guardar o nome e a idade
de mais de uma coach em uma variável?
None
Qual é o tipo de dado dessa nova variável que
criamos?
...
None
Array de Hashes!11!!!!onze
Disclaimer: Existem diferentes tipos de variáveis e mais tipos de
dados.
Condicionais
None
Operadores de comparação == Igual != Diferente > Maior <
Menor >= Maior ou igual <= Menor ou igual
Entre outros ...
Laços
None
Disclaimer: Existem outras formas de fazer um laço usando `for`,
`while`, por exemplo. :)
Métodos
None
None
None
Quero aprender mais sobre ruby!
http://tryruby.org/
http://why.carlosbrando.com/
http://www.ruby-lang.org/pt/documentation/
@flafortes
Obrigada!