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 Bootcamp [Sesión 01]
Search
A. Felipe Cabargas Madrid
April 30, 2016
Programming
0
60
Rails Bootcamp [Sesión 01]
A. Felipe Cabargas Madrid
April 30, 2016
Tweet
Share
More Decks by A. Felipe Cabargas Madrid
See All by A. Felipe Cabargas Madrid
Layers Layers Layers
felipecabargas
0
53
Accesibilidad Web: Que, como, cuando y por que?
felipecabargas
0
23
Untangling git
felipecabargas
0
58
Docker 101
felipecabargas
1
77
GroupRaise Learning Fridays: UX 101
felipecabargas
0
91
GroupRaise Learning Fridays: Hows and whys of version control
felipecabargas
0
46
Sesion III - Taller RoR LCC
felipecabargas
0
75
Sesion II - Taller RoR LCC
felipecabargas
0
120
Taller RoR LCC
felipecabargas
0
120
Other Decks in Programming
See All in Programming
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.1k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
47
31k
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
150
High-Level Programming Languages in AI Era -Human Thought and Mind-
hayat01sh1da
PRO
0
450
エンジニア向け採用ピッチ資料
inusan
0
160
Select API from Kotlin Coroutine
jmatsu
1
190
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
810
WindowInsetsだってテストしたい
ryunen344
1
200
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
580
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
190
Create a website using Spatial Web
akkeylab
0
300
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Producing Creativity
orderedlist
PRO
346
40k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Docker and Python
trallard
44
3.4k
What's in a price? How to price your products and services
michaelherold
246
12k
Adopting Sorbet at Scale
ufuk
77
9.4k
Building an army of robots
kneath
306
45k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Automating Front-end Workflow
addyosmani
1370
200k
Being A Developer After 40
akosma
90
590k
Optimizing for Happiness
mojombo
379
70k
Transcript
RAILS BOOTCAMP 30 ABRIL 2016
FELIPE CABARGAS M. Service Engineer @ GitLab @juanpintoduran cabargas.com gitlab.com/cabargas
RUBY?
ruby != rails
None
RUBY IS DESIGNED TO MAKE PROGRAMMERS HAPPY ~ MATZ
None
RAILS BOOTCAMP! RUBY? ▸ NO fuertemente tipado. ▸ O.O.P. ▸
Principio de la menor sorpresa. ▸ Soluciones aburridas. ▸ M.I.N.S.W.A.N.: Matz is Nice So We Are Nice
YA PERO… RUBY?
foo este_es_un_identificador
$variable_global
@variable_de_instancia
CONSTANTE
# este es un comentario
=begin esto es documentación multi línea =end
“este es un string” *
“así se reemplazan #{variables}"
puts “String”
self nil true false
array = [1, 2, 3]
hash = {a: 1, b: 2, c: 3}
&& ||
1..20
CICLOS EN RUBY
if condicion then # ordenes elsif # ordenes else #
ordenes end
unless condicion # ordenes else # ordenes end
case variable when rango/valor # ordenes when rango/valor # ordenes
else # ordenes end
while condicion # ordenes end
until condicion # ordenes end
for variable in rango # ordenes end
(1..20).each do |variable| # ordenes end
def nombre_funcion argumentos # ordenes end nombre_funcion(argumentos)
AHORA, COSAS “CHÉVERES”
foo, bar = [1, 2] asignación múltiple
if true then true else false end instrucciones de 1-línea
condicion ? si_se_cumple : si_no_se_cumple instrucciones de 1-línea