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
Flavia Fortes
August 19, 2017
Programming
180
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
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
200
『コードを書く以外の』エンジニアリング〜課金基盤移行プロジェクト推進のためのTips4選
yuriko1211
0
520
5分で問診!Composer セキュリティ健康診断
codmoninc
0
450
FDEが実現するAI駆動経営の現在地
gonta
1
120
symfony/aiとlaravel/boost
77web
0
140
【やさしく解説 設計編 #0】DDDのコード、読めるのに分からない人へ
panda728
PRO
2
270
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
380
AWS CDK を「作」ってみた 〜フルスクラッチで見えた CDK の裏側〜 / aws-cdk-from-scratch
gotok365
3
460
PHPだって関数型したい 〜できること、できないこと〜 / fp-in-php
jsoizo
0
230
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
6.5k
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
120
Performance Engineering for Everyone
elenatanasoiu
0
270
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Building Adaptive Systems
keathley
44
3.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Become a Pro
speakerdeck
PRO
31
6k
The Spectacular Lies of Maps
axbom
PRO
1
860
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Product Roadmaps are Hard
iamctodd
55
12k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
400
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
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!