Any pointers for someone looking to gain an amateur understanding of this, or is this a topic of sufficient complexity that it precludes an amateur understanding?
717 karma · joined August 3, 2010
Any pointers for someone looking to gain an amateur understanding of this, or is this a topic of sufficient complexity that it precludes an amateur understanding?
You value some things because you enjoy them, more than you value other possible uses of that time.
The included quote is not a personal attack on any individual. Yes, its strongly worded - more than I would personally like. But its not a wild rant saying women are an inferior race. The quote doesn't even suggest women shouldn't be in tech - it simply suggests an explanation for the gender imbalance (however accurate that explanation may be).
Why not attack that explanation instead? Leave no doubt in anyone's mind that he is painfully wrong - not by public shaming and ostracizing, but through the rational argument the author seems to so eagerly want.
Not sure what you meant by running a tight ship. If you mean allowing strangers into the office, I understand - I mentioned the office only because it can be a good icebreaker meeting new people. If coffee shops would be a more comfortable meeting spot, I'm happy to buy.
If you meant something else, I'd be interested in learning what. I didn't think asking to meet new people would be off-putting.
In my experience, promises can be more difficult to debug (once the promise library takes my callback, I can't follow the flow of execution until it is called, unless I crack open the library itself), and are less intuitive. While those shouldn't disqualify the idea immediately, it does make me hesitate.
And I'm not sold on the benefits to error handling either. In the author's example, yes, all those error handlers could be grouped together - but how often do you have that many async function calls with identical error handlers? In most situations, that is a warning sign that you aren't handling errors properly and with enough "resolution".
All that said, I don't think promises are useless. There may be times when it makes sense to use them. But calling them the "next great paradigm in JavaScript programming" seems like a bit of a stretch to me.
Even in nasty scenario (like GoDaddy's DNS service going down), you can still point your domain somewhere else, even temporarily. But the worst case, your domain registrar going down, leaves you with no alternatives.
However, I don't think that should hold back someone who is in the same position I was (a longtime lurker trying to break out). For me, a primary takeaway from this experience was the small downside compared to the large upside of each of my decisions.
Worst case: your post goes nowhere on HN, the person you reach out to ignores you, or your conversation turns up nothing fruitful.
Best Case: your post pins it on HN, the CEO agrees to meet, and it turns into a job offer.
For 30 minutes of effort - that calculation is a no brainer to me. It just takes getting over that lurker inertia, and a lot of patience for failure!
I imagine the session state would consist of client side Javascript (since this service would be ideal for the type of single page apps served well by Backbone.js and the like). The javascript would probably submit time-expiring authentication tokens with each request. That way, session could be persisted client side, while maintaining permissioned access to the CRUD actions on the service side.
EDIT (to respond to 6ren's edit):
I agree that, in a production environment, the flexibility of the rapid prototyping could, in many cases, turn into rigidity when faced with just a RESTful API.
But not necessarily in all cases, especially when implementing a single page app style site, where you are more likely to persist data client side in the background for when you need it.
Ultimately, I think the tradeoff might be worth in some circumstances. And given the apparent success of the many mobile BaaS solutions, it seems to be often enough to capitalize on.
And if that doesn't work, perhaps the schema-less prototyping is a free tier with a more robust backend service offering for the paid tier?