Rob Bennet Interactive

  • Archive
  • RSS
  • Have a Question?
  • Submit

Alex Sexton’s Explanation on Prototypal Inheritance in JavaScript

var defaults = { zero: 0, one: 1 }; var myOptions = Object.create(defaults); var yourOptions = Object.create(defaults); // When I want to change *just* my options myOptions.zero = 1000; // When you wanna change yours yourOptions.one = 42; // When we wanna change the **defaults** even after we’ve got our options // even **AFTER** we’ve already created our instances defaults.two = 2; myOptions.two; // 2 yourOptions.two; // 2

 

http://alexsexton.com/blog/2013/04/understanding-javascript-inheritance/

    • #JavaScript
    • #Code
    • #Develop
    • #Programming
  • 5 days ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Amazing talk about Design.  Very conceptual and mind-blowing.

  • 7 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Delightfully funny

  • 8 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Install MySQL on Mountain Lion using Homebrew

A post I wrote for Houndstooth that seemed to garner some attention, thought it could be helpful.

  • 9 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Capture looks like a really interested new show on Photography

  • 9 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Building better browser apps with thoughts on performance hits.  I especially like the points about offloading and using hardware acceleration and his work with “pinch to zoom” on elements within a page.

  • 9 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

A platform and business model I whole-heartedly agree with.

  • 9 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

The Mac app Alfred is awesome and this is just another reason why.

  • 9 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Adobe CS6 and iPad can do some pretty cool stuff…

  • 10 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Ditch Your Old Browser

Really tired of this even being an issue.  We’ve officially dropped support for IE6 and IE7 and if it wasn’t for 1 client we would be dropping IE8.  The best way to make a change is to spread the word, educate and don’t support legacy browsers.

  • 10 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
Page 1 of 30
← Newer • Older →

About

@rwbennet
  • RSS
  • Random
  • Archive
  • Have a Question?
  • Submit
  • Mobile
Effector Theme by Pixel Union