The Ember Creed
- Optimize for programmer happiness
- Convention over configuration
- The menu is omakase
- No one paradigm
- Exalt beautiful code
- Provide sharp knives
- Value integrated systems
- Stability without Stagnation
import Component from '@glimmer/component'; | |
export default class extends Component { | |
} |
// observed popover is interested in changes to `width` and `height` relative to the | |
// page's origin, and normalized by rounding them to the nearest integer. | |
let observedPopover = new RectObserver( | |
popoverElement, | |
{ | |
width: Math.round, | |
height: Math.round | |
}, | |
{ | |
relativeTo: 'origin' // not viewport |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
value: 'Hello world', | |
inputted(e) { | |
Ember.set(this, 'value', e.target.value); | |
} | |
}); |
// default tagName is 'div' | |
// The problem | |
function createElement(tagName: string): Element { | |
// very broken | |
return document.createElement(tagName || 'div'); | |
} | |
// you might want to use defaults |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
}); |
import { unknown } from 'ts-std'; | |
import { ErrorMessage } from "monad-test"; | |
export type ErrorPath = ReadonlyArray<string>; | |
export interface ErrorMessage { | |
key: string; | |
args: unknown; | |
} |
import FirebaseAdapter from 'emberfire/adapters/firebase'; | |
export default FirebaseAdapter.extend({ | |
}); |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
Response to The Birthering of the Democrats
Let us accept from the outset that partisan Democrats and I will never agree on the substance of the particular claims they have made about the election. Let’s simply try to find common ground on what they’re alleging. Conventional post-election debate among Democrats has involved…
Freddie claims that "conventional post-election debate among Democrats" is made up of a number of characteristics. I don't think the debate has been nearly as homogenous as he implies, and the bullets are full of misleading hyperbole that further amps up the emotion of the piece.