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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
CSC307 Lecture 08
javiergs
PRO
0
670
CSC307 Lecture 01
javiergs
PRO
0
690
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
630
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
180
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
730
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
750
CSC307 Lecture 05
javiergs
PRO
0
500
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.4k
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Featured
See All Featured
KATA
mclloyd
PRO
34
15k
30 Presentation Tips
portentint
PRO
1
220
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
71
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
The Language of Interfaces
destraynor
162
26k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
470
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
The agentic SEO stack - context over prompts
schlessera
0
650
Practical Orchestrator
shlominoach
191
11k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
760
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