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
Neon, or how I stopped hating the prototype and...
Search
chubas
September 05, 2012
Programming
1
120
Neon, or how I stopped hating the prototype and loved the class
For the Ruby GDL lightning talks on 5/9/12
chubas
September 05, 2012
Tweet
Share
More Decks by chubas
See All by chubas
Git, Github y Open Source
chubas
0
37
H/F Prodev - Peopleware > Software
chubas
0
100
Instaband - and the reactive model
chubas
0
36
Introducción a Ruby on Rails
chubas
1
170
Jengas & Legos: Rails as a stack of components
chubas
1
140
Other Decks in Programming
See All in Programming
ゆくKotlin くるRust
exoego
1
190
Graviton と Nitro と私
maroon1st
0
160
AIエージェントの設計で注意するべきポイント6選
har1101
6
2.9k
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
38k
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
2.3k
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.4k
脳の「省エネモード」をデバッグする ~System 1(直感)と System 2(論理)の切り替え~
panda728
PRO
0
130
CSC307 Lecture 02
javiergs
PRO
1
740
CSC307 Lecture 01
javiergs
PRO
0
650
ThorVG Viewer In VS Code
nors
0
540
チームをチームにするEM
hitode909
0
440
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
2k
Featured
See All Featured
Leo the Paperboy
mayatellez
1
1.3k
Designing for Performance
lara
610
70k
Being A Developer After 40
akosma
91
590k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Facilitating Awesome Meetings
lara
57
6.7k
How to Ace a Technical Interview
jacobian
281
24k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Balancing Empowerment & Direction
lara
5
840
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
40
エンジニアに許された特別な時間の終わり
watany
106
220k
Amusing Abliteration
ianozsvald
0
84
Un-Boring Meetings
codingconduct
0
170
Transcript
Ne 10 20.179 -245.90 -248.44 [He]2s22p6 0.90 Neon
Or how to stop hating the prototype and love the
class
The philosophy is that it should not try to emulate
other languages, so it preserves the JavaScript good parts, but with a nicer syntax to create classes that ensure interfaces and include reusable functionality as modules.
Class(Breezi.UI, 'Button').inherits(Breezi.Widget)({ ELEMENT_CLASS : 'ek-button', prototype : { label :
'button', init : function(config){ var button = this; Breezi.Widget.prototype.init.call(this, config); this.element.bind('click.button', function (e) { button.dispatch('click', { originalEvent : e }); }); } } });
Javascript for Rubyists Targeted to backend developers who struggle with
Javascript
Does not replace Javascript Just useful to wrap around your
mind, but you still have to learn Javascript. Just the good parts!
https://github.com/azendal/neon