Public Notes


Recent Activity

  • Tobin shared from JavaScript: The Good Parts: The Good Parts by Douglas Crockford
    The this parameter is very important in object oriented programming, and its value is determined by the invocation pattern. There are four patterns of invocation in JavaScript: the method invocation pattern, the function invocation pattern, the constructor invocation pattern, and the apply invocation pattern. The patterns differ in how the bonus parameter this is initialized.
    Note: Four patterns of JavaScript invokation.
  • Tobin shared from JavaScript: The Good Parts: The Good Parts by Douglas Crockford
    The prototype link has no effect on updating. When we make changes to an object, the object's prototype is not touched:
    Note: read-only access to prototype links
  • Tobin shared from JavaScript: The Good Parts: The Good Parts by Douglas Crockford
    It is usually necessary to test object.hasOwnProperty(variable) to determine whether the property name is truly a member of the object or was found instead on the prototype chain.
    Note: javascript property reference in inheritance chain.
  • Tobin shared from JavaScript: The Good Parts: The Good Parts by Douglas Crockford
    JavaScript do not create a new scope, so variables should be defined at the top of the function, not in blocks.
    Note: well known by now. however its worth reinforcing.
  • Tobin shared from HTML5: Up and Running by Mark Pilgrim
    Why an <img> element? Quite simply, because Marc Andreessen shipped one, and shipping code wins.
    Note: great thought for all developers, PMs, and managers. ship it!
  • Tobin shared from The Law by Frederick Bastiat
    While society is struggling toward liberty, these famous men who put themselves at its head are filled with the spirit of the seventeenth and eighteenth centuries. They think only of subjecting mankind to the philanthropic tyranny of their own social inventions. Like Rousseau, they desire to force mankind docilely to bear this yoke of the public welfare that they have dreamed up in their own imaginations.
    Note: I'll be damned if I didnt find my liberal friends in an 1850's pamphlet by Bastiat.
  • Tobin shared from The Law by Frederick Bastiat
    when you resettle a nation with a past into a new country, the skill of the legislator rests in the policy of permitting the people to retain no injurious opinions and customs which can possibly be cured and corrected. If you desire to prevent these opinions and customs from becoming permanent, you will secure the second generation by a general system of public education for the children. A prince or a legislator should never establish a colony without first arranging to send wise men along to instruct the youth...."
    Note: If you want to control a nation, control the education system.
  • Tobin shared from The Law by Frederick Bastiat
    Nothing can enter the public treasury for the benefit of one citizen or one class unless other citizens and other classes have been forced to send it in.
    Note: the source of socialism.
  • Tobin shared from The Law by Frederick Bastiat
    When law and morality contradict each other, the citizen has the cruel alternative of either losing his moral sense or losing his respect for the law.
    Note: lose morality, or respect for the law.
(Redmond, WA)
Tobin Titus