Это видео недоступно.
Сожалеем об этом.

Douglas Crockford: Really. JavaScript.

Поделиться
HTML-код
  • Опубликовано: 18 янв 2013

Комментарии • 56

  • @AdrienBeITube
    @AdrienBeITube 9 лет назад +46

    One thing the description should mention: this video is from 2010 (April).
    The fact that it was posted on RUclips in 2013 leads to confusion.

  • @margareth9473
    @margareth9473 7 лет назад +9

    wow, had my volume turned up really loud and that "AARR!" at the beginning scared me to death 😂😂

  • @edgeeffect
    @edgeeffect Год назад

    Thank you Douglas for possibly the single most important software book I ever read! Not only did it teach me functional programming, it also showed me that a language (any language) can have good parts and bad parts.

  • @christophertown7136
    @christophertown7136 10 лет назад +1

    I've coded for 16 years (including javascript), and this video filled-in the gaps in my understanding. Thank you!

  • @roblevintennis
    @roblevintennis 11 лет назад +3

    Who's your daddy...Crockford's your daddy! But seriously, thanks to his book and vids I "opened up" to JavaScript a few years ago and haven't looked back! Always love his presentations; nice!

  • @ryasmi
    @ryasmi 11 лет назад +2

    I know right. The man is a legend.

  • @thohangst
    @thohangst 20 дней назад

    Well, here we are, 14ish years after this was filmed. JS is still going strong. es6 takes care of a lot of the bad parts, and TypeScript is a pretty good piece of tooling.

  • @tarathetechchick4840
    @tarathetechchick4840 7 лет назад +2

    I lol-d so hard at "Security by inconvenience" :-)

  • @vishnutekale
    @vishnutekale 11 лет назад +3

    As always, very good.... Real Legand.

  • @tomatopotato4229
    @tomatopotato4229 4 года назад +2

    I was promised sexual content, language and nudity.

  • @jjames1977
    @jjames1977 9 лет назад

    Here is a variant of aspects to solve the mashup problem. The building block is a component, and components are composed in packages. There is a notion of A being a subcomponent of B. One package may incorporate a parameterization of another. A package may declare an equality between two components.
    Syntax:
    "A for B" A is a subcomponent of B
    "A is B" A is the same component as B
    The algorithm for mashups is:
    If (A for B) is (C for D), first mash B with D
    If (A for B) is (C for B)...
    If (A for B) is abstract, set (A for B) = (C for B)
    If (A for B) and (C for B) are both concrete, mash A with C
    The definition of "mash" can be different for each type of component. E.g. it could mean, "take the union of the members."
    Packages can also be forced to obey additional properties, which the weaver must prove in order to complete a solution to a mashup.

  • @clivegrant8980
    @clivegrant8980 10 лет назад

    Usually the msb is the sign bit. So if adding 0xx..xx to 0xx..xx overflows into the sign bit, the result.is negative unless the overflow is caught as an error.

  • @ErnestLebedev
    @ErnestLebedev 11 лет назад

    Loved the applause at 32nd min when Douglas predicted the death of IE6 :D

  • @moshemalka9904
    @moshemalka9904 10 лет назад

    Links:
    On the Criteria To Be Used in Decomposing Systems into Modules
    www.cs.umd.edu/class/spring2003/cmsc838p/Design/criteria.pdf
    The Lazy Programmer's Guide to Secure Computing
    The Lazy Programmer's Guide to Secure Computing

  • @reyou7
    @reyou7 8 лет назад

    He says Threads are evil. I can mostly agree. However, if I have multicore machine and cannot create new threads through tasks how I will get benefit out of it? Will javascript use only single core forever?

  • @RashidOmar
    @RashidOmar 10 лет назад +2

    Douglas Crockford === javascript // true

  • @kevincloinger3328
    @kevincloinger3328 10 лет назад +1

    Where did he get the ie6 number from please?

    • @sabbiirr
      @sabbiirr 10 лет назад +2

      It was in 2010 :)

  • @user-ui1ns8tt2c
    @user-ui1ns8tt2c 7 лет назад

    The Lazy Programmer's Guide to Secure Computing (Marc Stiegler) ?v=eL5o4PFuxTY
    It has been referenced in the video

  • @MalteUbl
    @MalteUbl 11 лет назад

    Google for integer overflow.

  • @scoreunder
    @scoreunder 7 лет назад +1

    Mashups are nothing new - they're a lesson that Unix taught us, the lesson that mashups are good and that dumb utilities working together can be very clever indeed.

  • @1Sentient
    @1Sentient 10 лет назад

    I like everything he said except the one Java comment about bytecode. JVM startup time is slow, but not because of the intermediate bytecode. That's just silly.

  • @Ioan190
    @Ioan190 9 лет назад

    35:38 I don't understand, how Ajax library looks like?

    • @essellar
      @essellar 9 лет назад

      Ioan190 Think jQuery. Back in 2009/2010, when this talk was given, there were a number of competing libraries with no clear "winner" in sight. These days, just about everybody uses jQuery (as opposed to things like YUI or raw Prototype). The selectors and searches and so forth in all of the AJAX libraries made more syntactic sense than the native versions (either MSIE, the W3C DOM interface or the old Netscape Navigator methods); the problem is that you need to force a download of something like jQuery to make a two-line call easier on a 10KiB page, and that's ridiculous. A native standard DOM API that looks something like jQuery would make pages a lot lighter. (People will tell you that cache handles it; sites all use different jQuery versions with different plugins and most users will only visit one page or a small number of pages on a site, so there really is no net download savings.)

  • @DanielBeecham
    @DanielBeecham 11 лет назад

    Tail calls please. Soon please.

  • @1Sentient
    @1Sentient 10 лет назад

    It won't happen any time soon

  • @JohnHaugeland
    @JohnHaugeland 9 лет назад +9

    i love how crockford says microsoft was blindsided by ajax after disbanding its web team after forrester's 2000 declaration, when in reality, microsoft's web team is who created ajax in 1999

    • @JohnHaugeland
      @JohnHaugeland 9 лет назад +6

      ***** that's like making a distinction between a car and driving

    • @JohnHaugeland
      @JohnHaugeland 9 лет назад

      +popasmuerf okay, name a company that you can't name dead initiatives from, and you just named a company that never took any initiatives. ooh, anti-microsoft hate. that's novel. i'll see you on slashdot

    • @nateschultz8973
      @nateschultz8973 8 лет назад +2

      Microsoft was also the driving force in developing and promulgating XML. Further, it was IE's creation of a JavaScript XML document request that made AJAX possible. Other browsers adopted it before it was ever formalized as a standard, but they all copied the IE implementation.
      Don't mistake a marketing emphasis for their entire development.
      Much of what's gone wrong in the WWW is their fault, too, but give them their due. Microsoft is the single entity most responsible for AJAX. More so, even, than the W3C.

    • @RogerBarraud
      @RogerBarraud 8 лет назад +1

      +Nate Schultz M$ responsible for the shittiest kludge ever? Now *that's* novel.... ;-)

    • @gengkev
      @gengkev 8 лет назад

      _new ActiveXObject("Microsoft.XMLHTTP")_ - ah, the good old days...
      see also: blogs.msdn.com/b/xmlteam/archive/2006/10/23/using-the-right-version-of-msxml-in-internet-explorer.aspx

  • @gadfly132
    @gadfly132 11 лет назад +3

    Do you have any fucking clue how annoying that pirate opening is?

  • @caparcher2074
    @caparcher2074 7 лет назад

    "Threads are evil". Advance to 2017 and multi-threading is the state of the art

    • @johannes-vollmer
      @johannes-vollmer 6 лет назад

      Cap Archer threading is indeed the best option for parallelism in 2017, but that does not mean it is a good way to do parallelism

  • @asdqwe4427
    @asdqwe4427 9 лет назад

    "Javascript is good for beginners and masters" that might be true. But it does NOT suit the intermediates who do not use it very often.

    • @asdqwe4427
      @asdqwe4427 9 лет назад

      Efreitor Habibulin I learned this the hard way as meny before me :P. I was far too locked up thinking in the same way as i would if I was writing Java, C++ or C#. There is an unessesary amount of mindfucks in the language though. Getting OK att js was painfull to me, I like it a lot now but it took some time.

    • @Fergrus001
      @Fergrus001 8 лет назад

      +Efreitor Habibulin OOOoooHHHHHH!!! ZIN G!

  • @billkammermeier
    @billkammermeier 8 лет назад

    I disagree with the supporting IE6 comment Doug makes in this video. Unless you are targeting China there is no need to support that browser. And the reason so many people in China are still using IE6 is because they are also using older, more easily pirated versions of Windows. If you are selling a product it probably won't be these people purchasing it.
    developer.microsoft.com/en-us/microsoft-edge/ie6countdown/

    • @kunqian4882
      @kunqian4882 8 лет назад

      Well IE is also gradually becoming obsolete. The current most popular browser in China is built based on Chrome (though many people just don't know) IE is used now usually due to legacy programs targeting the browser (and, occasionally, since it is the browser comes along with their pirated Windows XP. Seriously, XP)

  • @Javislaterlp
    @Javislaterlp 7 лет назад +3

    I think that whoever is using IE as of today is disrespecting and spitting on the work of web developers. You can't do that damage to thousands of devs only because you don't give a damn fuck about installing a new browser (which actually takes one click and one minute) and be considered a nice person. Im sorry but if we don't stop supporting IE lazy people won't change browser ever. I am telling this from 2017 and IE is still lurking out there. Oh and FFS uninstall whatever windows

    • @RylanEdlin
      @RylanEdlin 7 лет назад

      Javi Hernandez This was in 2010

  • @serrocsc
    @serrocsc 7 лет назад

    no mention of the horrible security issues in java script

    • @JonathanRose24
      @JonathanRose24 Год назад

      Lol did you even watch? He talked about security for like half the talk 😂

  • @H0H0H0Falcon
    @H0H0H0Falcon 9 лет назад

    Oh dear. I hate JavaScript because it is not type safe. It is a write-once language. Not even in his list. IE6 must die!? Well I have an old XP computer running an old version of IE. It runs fine and I'm no upgrading it so this chap can satisfy his wish list. "Like another language, then go program in it." - Well no, JavaScript has a monopoly. I cant. Java failed because the libraries were so huge. I remember trying to download an app and being told it would take 3 hours to download with the new libraries it needed. Very disconcerting that this chap is so out of touch with the real world.

    • @EricCote42
      @EricCote42 9 лет назад +2

      Freddy Falcon Even Microsoft went to the "IE6 must die" route. They even had a web page to educate people that 12% of the web using IE6 was too much. Here is that page from over 4 years ago: web.archive.org/web/20110307020932/www.ie6countdown.com/ .
      Today, there are less than 1% of users who -- like you -- are still using IE6: www.modern.ie/en-us/ie6countdown

    • @notamage131
      @notamage131 9 лет назад +3

      Freddy Falcon Enjoy not having web apps run on your shitty pc.

    • @JonathanRose24
      @JonathanRose24 Год назад

      I know this comment is now 8 years old, but it’s wild seeing anyone defend IE😂😂😂. Its 2023 and IE is now FINALLY dead in all its monstrous forms