987 karma · joined October 24, 2009
var eventHandler = handleEvent.bind(this);
document.addEventListener('click', eventHandler);
document.removeEventListener('click', eventHandler);
May seem redundant but if you are trying to remove a listener without using bind you still need a reference.This pattern encourages naming of anonymous functions that are used in callbacks. Which creates simpler stack traces. The new piece here about passing additional params to bind is also helpful, in that it will allow you to carry params across a callback stack. For me this will make carrying an express apps request and response objects across a callback chain much easier.
> "We’re delighted at being able to make this team change while having the Trigger.io product continue to improve and grow sustainably."
You still get that feeling that the 'founder spark' is gone.
I spent time at a company that superficially was very 'work/life balance'. When pressed on the specifics of what that ment to them regarding hours on call and in office They responded with a "We're talking more or a 'work/life harmony'" which ment your work should be your life.
In addition to layout templates that you guys provide, they also provide quality content templates. Most people suck at writing the resume content and that is a core need.
In addition to the content need people don't see the value in using a pay for resume service when they could just do it them selves. If you can provide some metrics that like 75% of your users got a job afterwards then you have some more value.
I can definitely relate to a lot of the article. The "perpetual feelings of guilt" that you should be working, thats a popular toxic Startup Machismo, Startupcore, mentality.
In addition to that, with this wordpress-style version, you get to use your own URL/and customize the branding if you want, the users become your users, it's your credit card processing (so you get that data too for future up-sells or feature purchases), and it saves you from paying the Kickstarter fees (this one is free, and Kickstarter charges up to 10%).
You could present color in a future sequel or expansion and even use it as a plot device.
https://developer.mozilla.org/en-US/docs/DOM/Mutation_events
"Adding DOM mutation listeners to a document profoundly degrades the performance of further DOM modifications to that document (making them 1.5 - 7 times slower!). Moreover, removing the listeners does not reverse the damage."
Using the modern DOM mutation observers may be a better solution.
I feel that Backbone.js was first on the scene and hence has found its way into the current developer lexicon and toolset, leaving Ember.js unfairly looked over.
Have them do one thing and do it well, keep them unix like, small sharp tools. You can always copy paste a large conditional from one function into its own named function. This significantly improves readability and divides the code in to smaller units which makes testing more graceful.
LESS and SCSS are syntactically conservative. I feel they retain the grammatical conventions of CSS (curly braces) as a way to ease the learning curve for conservative developers.
They introduce developers to the powerful features (mixins, variables) of extended CSS. But retain their familiar CSS curly bracket syntax.
Eventually it makes sense for said conservative developers to take the next step and adopt SASS's clean syntax.