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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
chubas
September 05, 2012
Programming
120
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by chubas
See All by chubas
Git, Github y Open Source
chubas
0
46
H/F Prodev - Peopleware > Software
chubas
0
110
Instaband - and the reactive model
chubas
0
43
Introducción a Ruby on Rails
chubas
1
180
Jengas & Legos: Rails as a stack of components
chubas
1
140
Other Decks in Programming
See All in Programming
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
170
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
110
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
170
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
670
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
470
「人を評価する AI」の設計と実装
ryoyanara
0
260
不幸な GC
chencmd
0
830
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
2
900
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.8k
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
110
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.2k
Cloudflare is Agents
chimame
0
190
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
5.9k
A Soul's Torment
seathinner
6
3.5k
GraphQLとの向き合い方2022年版
quramy
50
15k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
240
Docker and Python
trallard
47
4.2k
The browser strikes back
jonoalderson
0
1.6k
The Pragmatic Product Professional
lauravandoore
37
7.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Abbi's Birthday
coloredviolet
3
9.6k
Accessibility Awareness
sabderemane
1
190
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
GitHub's CSS Performance
jonrohan
1033
470k
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