@jondissed The "code completion" issue for IDE's is really a problem. Crockford is principially right about JavaScript being superior to, let's say, Java or C#. But a language is so flexible, that you can't even write a good IDE for it, it's a bit overdone.
I like to call myself an acceptable/good JS programmer, but every time I wrote some JavaScript code, there is always the nagging doubt, that there is still a typo left and your code just works because the browser corrects so much.
I disagree with the part that there is no love for JavaScript. I love working with JavaScript, I do hate the DOM-API but since I use jQuery that's not a problem.
This comment has received too many negative votesshow
All browsers suck because programmers are stupid pathetic people. Never be a friend with a programmer. Never buy programs. Use cracks and serials. Fuck programmers.
@6580006247 Please start by not using an operating system, a web browser and especially stop using youtube, since they have all been made by those programmers you don't like.
A master instructs. Thanks for the memories of the offices at 10101 N. De Anza. Down the street was Taligent. Sushi never tasted so sweet, knowing that you were miles above the Magic Cap, and Apple was right across the street.
"I now never intentionally fall-through in a switch statement."
This seems like a total non-sequitur. The problem he's referring to came from *accidentally* falling through in a switch statement, not intentionally falling through.
ROFL! Was anyone else kicking themselves hard when he spoke about how JS is the only language people start using without actually learning it? He fucking nailed me on the head right there! Brilliant.
Great talk! I've done a lot of JS programming and I learned some good stuff. However, I couldn't help thinking to myself the whole time, "If he hits that microphone one more time, I'm going to scream!"
I find it more than quite amusing that google will go out of its way to shun microsoft (which I can not disagree with) because microsoft has serious design flaws that cause security issues. But at the same time wholly endorses javascript which has gaping security holes just asking to be taken advantage of.
Just more proof that the people at google are not as smart as people on the outside would like to claim they are.
@ThunderAppeal But I suppose sergey brin being from the former soviet union and knowing what living in a hypocritcal fasicst state is like decided to bring that knowledge and insight in to running a company in America.
When he said: "And finally from Perl we get a really horrendus regular expression syntax." I can sense he lost the audience and they were all dying to scream at him to tell him 'YOURE WRONG DOUG!!'
I'm not OP but I didn't really like it either. It's not the worst thing ever but not the best either. Thing that bothered me the most is that he does everything via his own wrapper functions, so instead of thinking how JS works you also have to remember how Crowford's wrapper work. I suppose that's ok if you take your time with the book, but I already know JS and was mainly hoping to skim it for good ideas and patterns.
I do love his talks and have learned much from them.
@efxqxtyjzbl Fair point. I use the book mainly to look random stuff up. I use it mainly when I am unsure whether a certain idea is stilistically good or bad. I think I like it because I always found an answer to my question, even though it's only 140 pages and because of the OO patterns. I do admit he is very specific there, and if you already have your own idea on that, it must feel dogmatic. I prefer a reasonable dogmatic and precise approach, and make up my mind about it later.
6 months ago I had the same feeling as you do, too. But know I think it's a grace to have such a powerful langauge working on the front-end (and also the server-side, too, JS.node)
@kyleisreallycool I agree, the javascript 'compiler' (interpreter) is single threaded and its memory data structures are completely different from the actual browsers that the scripts run on. All of which explain why javascript is such a resource hog. While I should be surprised the big push that google is making with javascript I am not entirely. Considering the behemoth company that google really it is takes a lot of trained monkeys to write the code they do.
This is one of my favorite youtube videos ever. It's kind of funny too because the speaker sounds so much like Bob Newhart and has a similarly dry sense of humor I really appreciate. But the content is what really makes it so great.
He said that is scheme with c syntax, but, javascript dont have macros like those in the lisp family, defmacro (cl) and define-syntax, which are code transformations, not just code (in a string) evaluation with the eval() function. Scheme got eval and macros.
He said that is scheme with c syntax, but, javascript dont have macros like those in the lisp family, defmacro (cl) and define-syntax, which are code transformations, not just code (in a string) evaluation with the eval() function. Scheme got eval and macros.
@TangerineTux I am guessing here, but isn't strong typing just the fact that there is such a thing as type safety, and static typing the fact that you have to define your types at compile time? If so, what difference does it do to the points he makes?
I have to admit, I know nothing about the definitions (I'm a Java/.NET-Programmer, and no linguist/computer scientist - I am just excited by such things as lambda), but I ask because I think I don't get what part of the talk you're referring to.
The closure version of digit_name doesn't work for me, calling digit_name(3) just returns a function which Is what I'd expect looking at that code. To get the name you'd have to do digit_name()(3) i.e. call the returned function. Can anyone explain how that is supposed to work?
@Kam3k in the closure version there is a pair of parentheses after the function definition, which immediately executes the outer function and assigns the result to the variable. you probably missed them when you were typing it up.
You missed the () at the very end of the declaration of digit_name: notice that it ends in "}();" not "};", which calls that closure immediately and stores the result in digit_name.
really great talk - Crockford has also done a great series of javascript tutorials on video.yahoo.com - also mp4 for download on kiwi.kz :) - his book with the same title as this talk is well worth getting ahold of whatever level u'r at coding-wise.
Partner videos can be longer than the normal 10 mins . I dont know what it takes for you to be a partner with youtube but am sure if you become one, you can post really long videos.
yeah i tried googling tim collins javascript speech and searching videos and all that comes up is colonel tim collins or musicians or nonsense. can you provide a link?
I found this very interesting, and even helpful. Im taking computer science and i was dreading my first programing class because it was all on jjavascript
In the 'bad' list, he forgot:
- Debugging closures. A call stack full of anonymous functions is a nightmare.
- IDEs all suck because intelligent code completion is impossible.
jondissed 1 week ago 3
@jondissed The "code completion" issue for IDE's is really a problem. Crockford is principially right about JavaScript being superior to, let's say, Java or C#. But a language is so flexible, that you can't even write a good IDE for it, it's a bit overdone.
I like to call myself an acceptable/good JS programmer, but every time I wrote some JavaScript code, there is always the nagging doubt, that there is still a typo left and your code just works because the browser corrects so much.
captmcneil 2 days ago
And the ugly .
JavascriptHacker 1 week ago
thanks
4joules 2 weeks ago
I have just started learning javascript from common programming languages and this video make me easier to learn it =)
j3tzer 1 month ago
I love GoogleTalks. Thanks for posting this. I'm one of those people who learned PHP and though JavaScript would be way too easy to bother. Its not!
evhwolfgang2003 2 months ago
I disagree with the part that there is no love for JavaScript. I love working with JavaScript, I do hate the DOM-API but since I use jQuery that's not a problem.
mortensjoegren 4 months ago
This comment has received too many negative votes show
All browsers suck because programmers are stupid pathetic people. Never be a friend with a programmer. Never buy programs. Use cracks and serials. Fuck programmers.
6580006247 4 months ago
@6580006247 Please start by not using an operating system, a web browser and especially stop using youtube, since they have all been made by those programmers you don't like.
mortensjoegren 4 months ago 6
@6580006247 Who do you think writes the cracks and serials? Erm... oh yeah, PROGRAMMERS!! Thief.
graceoverall 3 months ago
A master instructs. Thanks for the memories of the offices at 10101 N. De Anza. Down the street was Taligent. Sushi never tasted so sweet, knowing that you were miles above the Magic Cap, and Apple was right across the street.
heartoflanddotcom 4 months ago
Interestingly enough. Won't work on a Chromebook. :-D
TheYeomanDroid 4 months ago
"Umm" this is good video, "Umm" Doug whats your favourite word ?
frizzell83 4 months ago
This has been flagged as spam show
This has been the talking point since JS is gaining popularity and he has done a good job to explain it...keep going.
josephfloren 4 months ago
Comment removed
josephfloren 4 months ago
He sounds like Tom Hanks.
D3mi4n 5 months ago
@D3mi4n No he doesn't.
sexntuna 4 months ago
um um um um um um um um um etc....
xExekut3x 6 months ago
"I now never intentionally fall-through in a switch statement."
This seems like a total non-sequitur. The problem he's referring to came from *accidentally* falling through in a switch statement, not intentionally falling through.
nerocritic 6 months ago
Lua is gaining popularity and uses prototype-based inheritance.
Trunks7j 6 months ago
How many times did he smack his microphone? 6? 7?
mrbinky3000 7 months ago
block { } at 30:42
R1e2v3oOf 7 months ago
Awwwww. Crock just wants to be loved !
(Around the three minute mark)
sbdwch 7 months ago
ROFL! Was anyone else kicking themselves hard when he spoke about how JS is the only language people start using without actually learning it? He fucking nailed me on the head right there! Brilliant.
aromanstuff 8 months ago 5
@aromanstuff: That single statement made we watch the hole presentation ;)
CronekorkN 6 months ago
Great talk! I've done a lot of JS programming and I learned some good stuff. However, I couldn't help thinking to myself the whole time, "If he hits that microphone one more time, I'm going to scream!"
TantleRur 9 months ago
and as to programming...
I hated them all: C C++ and Java..
JusticeVSpropaganda 9 months ago
poor lecturer, will need a good massage after the lesson... couldn't they give him a higher desk? :)
anyway: regards from Israel,
and you are invited to my channel if you want to know what really happens in Israel and the global implications
JusticeVSpropaganda 9 months ago
This has been flagged as spam show
last chance Asian women need to meet you lushfmlk.info
roshinelusoi 9 months ago
I lost used javascript in 2001.But only for things which was not anything serious and was to hard to do in Java.
I remember one guy from the project called Steve was amazing with this scripting language.
But after listening to this talk to day.I am thinking to revisit the language.
BilalAhmadMalik 9 months ago
I don't think ALL java applets are crap, maybe just a 17 year old opinion but maybe some truth to it?
hellbound108RS 9 months ago
I find it more than quite amusing that google will go out of its way to shun microsoft (which I can not disagree with) because microsoft has serious design flaws that cause security issues. But at the same time wholly endorses javascript which has gaping security holes just asking to be taken advantage of.
Just more proof that the people at google are not as smart as people on the outside would like to claim they are.
ThunderAppeal 9 months ago
@ThunderAppeal But I suppose sergey brin being from the former soviet union and knowing what living in a hypocritcal fasicst state is like decided to bring that knowledge and insight in to running a company in America.
Hooray for democracy.
ThunderAppeal 9 months ago
24:50
Nyuszika7H 10 months ago
When he said: "And finally from Perl we get a really horrendus regular expression syntax." I can sense he lost the audience and they were all dying to scream at him to tell him 'YOURE WRONG DOUG!!'
ThunderAppeal 10 months ago
Javascript is not held in very good esteem. Well for very good reason Doug.
ThunderAppeal 10 months ago
I like JavaScript but this guys book was just the worst thing I've ever read.
Zuberguber105 11 months ago
@Zuberguber105 And why is that? What's wrong with it?
captmcneil 11 months ago
@captmcneil
I'm not OP but I didn't really like it either. It's not the worst thing ever but not the best either. Thing that bothered me the most is that he does everything via his own wrapper functions, so instead of thinking how JS works you also have to remember how Crowford's wrapper work. I suppose that's ok if you take your time with the book, but I already know JS and was mainly hoping to skim it for good ideas and patterns.
I do love his talks and have learned much from them.
efxqxtyjzbl 10 months ago
@efxqxtyjzbl Fair point. I use the book mainly to look random stuff up. I use it mainly when I am unsure whether a certain idea is stilistically good or bad. I think I like it because I always found an answer to my question, even though it's only 140 pages and because of the OO patterns. I do admit he is very specific there, and if you already have your own idea on that, it must feel dogmatic. I prefer a reasonable dogmatic and precise approach, and make up my mind about it later.
captmcneil 10 months ago
@Zuberguber105 -- gotta have an IQ above 99
CarMoves 10 months ago
JavaScript SUCKS!
kyleisreallycool 11 months ago
@kyleisreallycool
That's because you don't know JavaScript.
6 months ago I had the same feeling as you do, too. But know I think it's a grace to have such a powerful langauge working on the front-end (and also the server-side, too, JS.node)
erikindie 11 months ago
@kyleisreallycool -- ... says the unemployed programmer
CarMoves 10 months ago
@kyleisreallycool I agree, the javascript 'compiler' (interpreter) is single threaded and its memory data structures are completely different from the actual browsers that the scripts run on. All of which explain why javascript is such a resource hog. While I should be surprised the big push that google is making with javascript I am not entirely. Considering the behemoth company that google really it is takes a lot of trained monkeys to write the code they do.
ThunderAppeal 10 months ago
Great great talk.... Looking forward to more...
RWOverdijk 11 months ago
3:34 It's the only language that I'm aware of that people feel that they don't need to learn it before they start using it.
maarlin 1 year ago 2
@maarlin Which explains why there is so much crappy code out there in the world. Javascript or not.
ThunderAppeal 10 months ago
14 people are missing their good parts
palladinate 1 year ago
quite a few people losing hair in the audience
RWRobbo 1 year ago 20
@RWRobbo JavaScript will do that to you
1984slash 4 months ago
@RWRobbo LOL
abiezerm 3 weeks ago
This is my favorite . This is great talk. Though I dont know what Javascript is at all.
runeguldberg 1 year ago
@runeguldberg so why is your favorite, moron?
5estados 1 year ago
I've watched this talk four times, and get something new out of it every time. This should be required viewing for anyone writing JavaScript.
Symmetriq 1 year ago 2
This comment has received too many negative votes show
VBSCRIPT IS BETTER.
elisei00 1 year ago
@elisei00 lol
pinhopro 1 year ago
This is one of my favorite youtube videos ever. It's kind of funny too because the speaker sounds so much like Bob Newhart and has a similarly dry sense of humor I really appreciate. But the content is what really makes it so great.
tzankich 1 year ago
this is a great talk even though I am new to Javascript
rax313 1 year ago
This has been flagged as spam show
The big bad Oil corporations r trying their best to stop free energy technology from spreading to common ppl.
We need to put an end to this corruption ,start generating ur own electricity now.
Visit LT-MAGNET-MOTORdotCOM and get the blueprints . Join the Revolution!!
urgencyharviefcem 1 year ago
This has been flagged as spam show
The big bad Oil corporations r trying their best to stop free energy technology from spreading to common ppl.
We need to put an end to this corruption ,start generating ur own electricity now.
Visit LT-MAGNET-MOTORdotCOM and get the blueprints . Join the Revolution!!
lutherarao 1 year ago
This has been flagged as spam show
He said that is scheme with c syntax, but, javascript dont have macros like those in the lisp family, defmacro (cl) and define-syntax, which are code transformations, not just code (in a string) evaluation with the eval() function. Scheme got eval and macros.
Yet is a great talk.
sergiodnila 1 year ago
He said that is scheme with c syntax, but, javascript dont have macros like those in the lisp family, defmacro (cl) and define-syntax, which are code transformations, not just code (in a string) evaluation with the eval() function. Scheme got eval and macros.
Yet is a good talk.
sergiodnila 1 year ago
94k + people have unlimited internet
TheVesan 1 year ago
@TheVesan
I do.
baeritukaez 1 year ago
Looks like he doesn’t know the difference between strong and static typing. :/
Maybe because JavaScript happens to have neither.
TangerineTux 1 year ago
@TangerineTux I am guessing here, but isn't strong typing just the fact that there is such a thing as type safety, and static typing the fact that you have to define your types at compile time? If so, what difference does it do to the points he makes?
I have to admit, I know nothing about the definitions (I'm a Java/.NET-Programmer, and no linguist/computer scientist - I am just excited by such things as lambda), but I ask because I think I don't get what part of the talk you're referring to.
captmcneil 1 year ago
DAYUMN
1:03:47
DAYUUUUMN
foozy12 1 year ago
The closure version of digit_name doesn't work for me, calling digit_name(3) just returns a function which Is what I'd expect looking at that code. To get the name you'd have to do digit_name()(3) i.e. call the returned function. Can anyone explain how that is supposed to work?
Kam3k 1 year ago
@Kam3k in the closure version there is a pair of parentheses after the function definition, which immediately executes the outer function and assigns the result to the variable. you probably missed them when you were typing it up.
bsznm 1 year ago
@Kam3k
You missed the () at the very end of the declaration of digit_name: notice that it ends in "}();" not "};", which calls that closure immediately and stores the result in digit_name.
ABCDwp 1 year ago
Bookmark: 11:45
11889music 1 year ago
This has been flagged as spam show
The fuck is gonna watch this movie?
reptiliaV3 1 year ago
This comment has received too many negative votes show
variable === undefined??? That is crap.
What if I defined variable called undefined = variable?
I expected someone who knows what he is talking about.
zlatantomov 1 year ago
This has been flagged as spam show
javascript:R=23; x46=46; x46=46; x46=46; x46=.46; x46=46; x46=46; x46=46; x46=46; x46=46; x46=46; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x46+i*x46+x46)*x46+x46)+"px"; DIS.top=(Math.cos(R*x46+i*x46+x46)*x46+x46)+"px"}R++}setInterval('A()',46); void(46);
aliencodemaster 1 year ago
javascript:R=23; x46=46; x46=46; x46=46; x46=.46; x46=46; x46=46; x46=46; x46=46; x46=46; x46=46; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x46+i*x46+x46)*x46+x46)+"px"; DIS.top=(Math.cos(R*x46+i*x46+x46)*x46+x46)+"px"}R++}setInterval('A()',46); void(46);
aliencodemaster 1 year ago
really great talk - Crockford has also done a great series of javascript tutorials on video.yahoo.com - also mp4 for download on kiwi.kz :) - his book with the same title as this talk is well worth getting ahold of whatever level u'r at coding-wise.
jamin2288 1 year ago 14
how could i download this video cuz its very tall
thekasfamily 1 year ago
vbscript is better
iferio 1 year ago
Umm, now I know where Resig, umm, learned his speaking style.
jtnix 1 year ago
i fukken love google tech talks.
24oscar24 1 year ago
i watched the whole thing o_o.
cs2dfan 1 year ago
Na gut ich habe nichts zu verheimlichen, bitte, wenn es zu was beiträgt.
1aDemokrat 1 year ago
How can I switch off the damn captions? They are distracting like hell!
krxlprnft 1 year ago
nice video
skmn07 1 year ago
the "style isn't subjective" part really cracks me up every time
captmcneil 2 years ago
JSLint slapped me badly.
drlex 2 years ago 3
Very helpful! Explains why some things of JavaScript are as strange as they are and how one should use them.
tiangolo 2 years ago 6
This comment has received too many negative votes show
lol half the guys in the audience are balding
awesome11991 2 years ago
lol hahahxd wth,,
hiddan356 2 years ago
This comment has received too many negative votes show
wow i will not ever watch this google is actually good thats my last words
punkaddict02 2 years ago
lexical variables or "block scope" as he refers to it here is the main thing javascript really really should have!
tuleo554 2 years ago
Try this out in a javascript interpreter. You can replace print with alert if you want to run in a browser:
fizzlesaw 2 years ago
Google owns youtube.
azsrathud 2 years ago 2
how can u make video so long??
izarotade 2 years ago
You have to be someone that google worships.
RobKohr 2 years ago
This comment has received too many negative votes show
1 hour is super long.
xXdaveXsuperstarXx 2 years ago
Partner videos can be longer than the normal 10 mins . I dont know what it takes for you to be a partner with youtube but am sure if you become one, you can post really long videos.
arunpstvm 2 years ago
Google is more than a partner though....
vincentws03 2 years ago
Very nice. Interestingly every feature he mentions as "good" is also a feature in python.
UloPe 2 years ago
Can you get python to run on my browser? I think you got a bad comparision
roeltz 2 years ago
I didnt realise Python could be used for client side script either, how widely is it supported by browsers?
tuleo554 2 years ago
Whats your point? So what if its a feature in Python, that doesn't negate the assertion that its a good feature.
hobolooter 2 years ago
Whats _your_ point? I was merly observing that all those things have been in python for quite some time.
UloPe 2 years ago
I love how everybody seems to feel guilty at 59:00 when Crockford says "it's easy to make things bigger, it's harder to make things better" ;-)
enos76 2 years ago 5
no HD?
revolutionize017 2 years ago
This has been flagged as spam show
hey dude...I need this
h t t p ://i39. tinypic. com/ngbc5. jpg
If you know how to program this plz help me..
tanx
rate 5/5
sunleoest 2 years ago
Comment removed
Estrilaa 2 years ago
This has been flagged as spam show
¤ø„¸¸„ø¤º°¨¸„ø¤º°¨ post to 9 other vids
¨°º¤ø„¸ Copy „ø¤º°¨ press F5 twice
¸„ø¤º°¨Paste ``°º¤ø„¸ OK
¸„ø¤º°¨¸„ø¤º°¨¨°º look at ur background
Jaiman1998 2 years ago
Love this book!
It should be obligatory reading for everyone who studies webdevelopment.
This was an eye opening speech.
ZerqTM 2 years ago 5
Better than Tim Collins' speech?
dowling1981 2 years ago
is tim collins's speech on javascript? where can i see it, youtube search only yields war speeches and random stuff...
mysweetgb 2 years ago
Have you tried googling it?
dowling1981 2 years ago
yeah i tried googling tim collins javascript speech and searching videos and all that comes up is colonel tim collins or musicians or nonsense. can you provide a link?
mysweetgb 2 years ago
But the speech itself is on youtube, ken?
dowling1981 2 years ago
This has been flagged as spam show
1:03:47 ore/hours .... fuck you is long time suck
NooBJokerLoL 2 years ago
This comment has received too many negative votes show
wow 1:03:47 sec!! its bad its long time but i dont try to bother
broundtown 2 years ago
This has been flagged as spam show
haha! turn down the lights!
zxqjj 2 years ago
Great talk...Great book...Rock On!
dbBrother 2 years ago 39
Very interesting. javascript is the gray area of the client side, and i like it a lot.
Waiting for next week's talk about the new features from FireBug.
Tweet ya'll later,
@heziabrass
hazhuz 2 years ago 6
This kind of credible certainty is rare and very valuable. Excellent talk.
tpreagan 2 years ago 61
Very nice... I've bought the book while watching.
DevelX666 2 years ago 3
Great!
Um.. whats with the 'floating Crockford' that starts at 3:45?
alfredogangsta 2 years ago
I found this very interesting, and even helpful. Im taking computer science and i was dreading my first programing class because it was all on jjavascript
w008jdt 2 years ago 5