Best of Fluent 2012: Maintainable JavaScript

  Рет қаралды 56,649

O'Reilly

O'Reilly

Күн бұрын

Пікірлер: 50
@Wingerlang
@Wingerlang 11 жыл бұрын
I too like Nicholas Zakas, both his writing and speaking. No pun intended, but I find his speech very fluent, and the combination with his profound knowledge makes it awesome.
@ajgubi19
@ajgubi19 10 жыл бұрын
Interesting enough to stick to till the end, resourceful enough to take away some great tips.
@NicolasEmbleton
@NicolasEmbleton 11 жыл бұрын
Awesome talk. Tools are not as up-to-date anymore, but generally awesome.
@lennyhome
@lennyhome 11 жыл бұрын
Try to maintain the size of your Javascript to zero bytes. It's the best choice unless you want popups on your site, you don't need and/or want it.
@franciscobecker159
@franciscobecker159 2 жыл бұрын
This is a great talk, I always share it and reference in my own presentations.
@madhurgarg8866
@madhurgarg8866 7 жыл бұрын
Keeping HTML markup separate from JavaScript is contrary to the today's component era (ReactJS particularly), which is basically mixing JavaScript and HTML (JSX)
@ivan.jeremic
@ivan.jeremic Ай бұрын
That is not true he did not say that, listen from 27:35 again, He is saying he love when you use Handlebars and similar because that keeps templates in one place and at 27:50 he say "if there is a problem in your layout you can go to the templates and fix them", that video refers to templates today we call this the component model which is what JSX gives you, so by his words JSX has the same benefits.
@AnamAhmeds
@AnamAhmeds 10 жыл бұрын
did he said IE when he coughed? :p one of the few videos I re-watch frequently. This man is awesome.
@doodoostickstain
@doodoostickstain 9 жыл бұрын
Anam Ahmed he did say IE when he coughed :D
@EtherasFox
@EtherasFox 11 жыл бұрын
I'd just like to state for the record that "Id" is not an acronym, its an abbreviation. It means "Identification" or "Identifier", not like "I-Dentifier". So capitalizing both letters would be incorrect.
@moofymoo
@moofymoo 11 жыл бұрын
don't be afraid of long names and name things logicaly: AbstractSingletonProxyFactoryBean
@wWvWwWvWw
@wWvWwWvWw 11 жыл бұрын
I once had a 45 minute argument about whether or not JSLINT errors should break our jenkins build. Though the style itself doesn't effect the program, it was a good way to enforce our style guide. Any thoughts?
@DerekRies
@DerekRies 11 жыл бұрын
I assume you're referring to the fact that Pi is all caps? All of the Math constants are capitalized, following the general practice of capitalizing constants (the slide following camel casing).
@brianvu648
@brianvu648 11 жыл бұрын
I am new to Javascript coding and thought this was a great video! I have a question though. At 30:00 it says to keep css style out of Javascript. How would one manipulate the css style of an html element then? Example code: jsfiddle.net/5Ba2u/ How would the above be done for better coding practice? Thanks in advanced.
@demee11
@demee11 11 жыл бұрын
getElementById & innerHTML is not JavaScript but DOM API !
@Tarulia
@Tarulia 11 жыл бұрын
There's a HD version in the description, no?
@khalilzhang5953
@khalilzhang5953 11 жыл бұрын
very useful stuffs. thanks, nicholas.
@FizerKhan
@FizerKhan 11 жыл бұрын
Very Userful Talk.
@himanshukesarvani8004
@himanshukesarvani8004 9 жыл бұрын
Great video. Very helpful. Thanks :)
@greenspand
@greenspand 10 жыл бұрын
Great great talk, witty funny. Thx.
@ianman6
@ianman6 11 жыл бұрын
Hey RO2player, why don't you join the rest of us in the wonderful world of 'check the description for the HD link' before posting a comment that already has been addressed? Go on, try it, you might like it.
@standup75
@standup75 11 жыл бұрын
24:00, what about Math.PI ?
@JoshuaBambrick
@JoshuaBambrick 11 жыл бұрын
/watch?v=nZihjH6_Qns I have no idea why they uploaded it twice but this one has 720p
@toddstlsmiths
@toddstlsmiths 11 жыл бұрын
Wow, the only expletive I heard was "Internet Explorer"
@brianvu648
@brianvu648 11 жыл бұрын
So simple. Thanks dude!
@whatawaster1989
@whatawaster1989 11 жыл бұрын
Add a CSS class instead - that's what they're for, updated your jsFiddle: jsfiddle.net/5Ba2u/3/
@RO2player
@RO2player 11 жыл бұрын
Hey Oreilly Media, why don't you join the rest of the us in the wonderful world of 'at least' 720p? Go on, try it, you might like it.
@handsome_man69
@handsome_man69 10 жыл бұрын
Thats one thing that makes Java and class based languages better than Javascript. If someone overrides a method in Javascript it can take days to figure out the bug. However in Java its only a matter of seconds to find incompatible overrides due to compile time checking.
@paulodeleo
@paulodeleo 11 жыл бұрын
The slides: slideshare. net/nzakas/maintainable-javascript-2012
@abyssoftus
@abyssoftus 11 жыл бұрын
Harshed word I heard was crap and I don't view that as an expletive. I do however view IE as an expletive if it refers to any version before 10.
@naveedhassan7399
@naveedhassan7399 11 жыл бұрын
Use class name to change the style;
@vitezkoja6949
@vitezkoja6949 8 жыл бұрын
He looks like Steve Jobs, junger JavaScript genious!
@TheRealNotary
@TheRealNotary 11 жыл бұрын
LOL, 9:25 "Debuggable... which is not a real word... btw... According to M$ word anyway." I can't tell if he was telling a joke there or not.
@DanielLamb
@DanielLamb 11 жыл бұрын
Great talk, could have done without all the expletives, had ask my four year old leave the room.
@loupax
@loupax 10 жыл бұрын
The XMLHttpRequest name feels wrong no matter how you write it. Xml? Who capitalizes Xml? Ok, all caps then, like in the wild But how about the Http part then? If we put it all caps the reader will lookup for the new XMLHTTP protocol. We need to separate it somehow. Underscore? Well yes, but we use underscore for separating words in variable names. There is absolutely no way to win this. Only by completely changing the object name. But how could you name the object of an XML HTTP request? ARGH!
@F00dTube
@F00dTube 10 жыл бұрын
There was a rule used for a while that abbreviations are capitalised until 3 and after that only the first letter is capitalised. I guess Http is more acceptable than Xml. The whole point of camel casing is to emphasise word boundaries. You can see that XML and Http are separate words because 'H' must be the first letter in a word. Of course this is totally dependant on luck, because een XML NTP request would be XMLNTPRequest. It's now widely the norm to just capitalise the first letter: XmlHttpRequest. Maybe it feels crappy to capitalise one letter, but at least it serves its purpose consistenly.
@bartomiejoryszak6645
@bartomiejoryszak6645 9 жыл бұрын
Κώστας Λουπασάκης There is a way to win this :) => ExtensibleMarkupLanguageHyperTextTransferProtocolRequest
@MrSupervillin
@MrSupervillin 5 жыл бұрын
15:50
@SheikhHeera
@SheikhHeera 11 жыл бұрын
Wow! "Just because JavaScript is classless you don't become". :-)
@carlos.arenas
@carlos.arenas 10 жыл бұрын
Tomás Martínez check this out xD 28:10 me recordó a ti xD
@matuser00
@matuser00 10 жыл бұрын
???.... porque?
@carlos.arenas
@carlos.arenas 10 жыл бұрын
Tu buscando bugs en javascript, no? si viste el minuto que te dije? xD
@cballe2288
@cballe2288 9 жыл бұрын
lol "Knuth is my homeboy"
@JohnMasseria
@JohnMasseria 11 жыл бұрын
My bet is that it was a joke ...
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 141 М.
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 65 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 38 МЛН
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
Enough with the JavaScript Already by Nicholas Zakas
1:04:45
technologyatbox
Рет қаралды 25 М.
Clean Code - Uncle Bob / Lesson 1
1:48:42
UnityCoin
Рет қаралды 1,9 МЛН
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
From React To HTMX
40:01
ThePrimeTime
Рет қаралды 338 М.
The Only Unbreakable Law
53:25
Molly Rocket
Рет қаралды 337 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 77 М.
STOP Using Classes In JavaScript | Prime Reacts
14:02
ThePrimeTime
Рет қаралды 248 М.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 65 МЛН