< Return to Video

Mountain West JavaScript 2014 - Be Predictable, Not Correct. by Pete Hunt

  • 0:26 - 0:28
    Hey everybody, I'm Pete.
  • 0:30 - 0:34
    So, who is exited for some big O-notation in the morning?
  • 0:35 - 0:37
    Alright, alright, so we gonna get to that.
  • 0:37 - 0:39
    but before we do
  • 0:39 - 0:41
    i'm just gonna say I'm Pete.
  • 0:41 - 0:44
    I work at Facebook on the Instagram team
  • 0:44 - 0:47
    and I'm a contribute to a library called react
  • 0:47 - 0:52
    which you may have heard is the one that puts the
    angle brackets in your javascript
  • 0:52 - 0:58
    .. but, I'm not gonna really talk to much of that
    React and why it is so awesome because
  • 0:58 - 1:00
    that's not the interesting part
  • 1:00 - 1:02
    what I wanna talk about the ideas behind React
  • 1:02 - 1:06
    and React is a reference implementation of those ideas.
  • 1:07 - 1:08
    So. This isn't a turial
  • 1:09 - 1:12
    and I give a focus on ideas and not implementations.
  • 1:12 - 1:14
    So. I'm gonna talk about the ideas behind react
  • 1:15 - 1:17
    Some ideas behind other systems
  • 1:17 - 1:19
    how they're a different kind a
  • 1:19 - 1:22
    what a different tradeoffs are in there
    are different tradeoffs between them
  • 1:22 - 1:26
    and hopefully you take some of the ideas and
    bring them to your favourite system
  • 1:27 - 1:30
    or you maybe you think that react is cool
    and you can tribute to it.
  • 1:32 - 1:35
    Lets talk about what makes user interfaces
    difficult to build.
  • 1:37 - 1:40
    Has anyone build an user interface before?
  • 1:40 - 1:43
    Alright, OK. I figured it.
  • 1:43 - 1:45
    Was it really easy?
  • 1:45 - 1:47
    Yeah, testing it was super-easy,
  • 1:47 - 1:49
    maintainng quality was probably
    a joke, right.
  • 1:49 - 1:51
    It's just a kind a .. always works
  • 1:51 - 1:53
    He said sarcastically
  • 1:53 - 1:55
    But you get this a lot
  • 1:56 - 1:57
    This doesnt feel right
  • 1:58 - 2:01
    So, you know - even if you use all the test driven
    development that you can throw at it
  • 2:02 - 2:04
    you still have to have a human look at this
  • 2:04 - 2:06
    this doesnt look right and
    this doesnt fell right
  • 2:06 - 2:09
    and when I click this button and I click this button
    and I click this button ... it breaks
  • 2:11 - 2:13
    There's a lot of things that come in to this
  • 2:14 - 2:17
    They are human verifiedy but UIs
    are also deceptely complex
Title:
Mountain West JavaScript 2014 - Be Predictable, Not Correct. by Pete Hunt
Description:

Functional programming is a great way of managing complexity in user interfaces. User interfaces are very difficult to build due to the difficulty in determining if they're "correct" or not. In this talk I'll go into some ways that functional programming techniques like referential transparency and immutability can lead to easier-to-build user interfaces.

more » « less
Video Language:
English
Duration:
33:53

English subtitles

Incomplete

Revisions