Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Wheel of Type

Wheel of Type

Every time we use even the simplest values in our components, we re-invent the fundamental laws of computation without even knowing it. Over and over, we weave the same networks of meaning from the properties of our objects, even though they have the same shape and again and again reveal the same patterns. And to what end? For what reason do we trudge upwards along the same hill other than to follow the wagon ruts of tradition.

We'll stop for awhile by the roadside. We'll reflect on this problem that most of us don't know we even have, and we may find that relief to this endless toil was with us the entire time.

Charles Lowell

February 09, 2017
Tweet

More Decks by Charles Lowell

Other Decks in Technology

Transcript

  1. @cowboyd Complexer Datas actions: {
 addItem(item) {
 let list =

    this.get('items');
 list.pushObject(item);
 } } Small Wheels: Boolean
  2. @cowboyd actions: {
 swap(oldItem, newItem) {
 let list = this.get('items');


    let oldIdx = list.indexOf(oldItem);
 list.replace(oldIdx, 1, newItem);
 }
 } Small Wheels: List
  3. @cowboyd actions: { selectOption(option) {
 let list = this.get('choices');
 list.forEach(member

    => {
 if (member === option) {
 option.set('isSelected', true);
 } else {
 option.set('isSelected', false);
 }
 });
 } Small Wheels: List of Boolean