19 karma · joined Apr 30, 2010 (16y ago) · 12 submissions
comment 15y ago · link · parent
A way I'd prefer might look like this:
function Person = function(gender) {
this.gender = gender || 'neuter' //the sauce that defines a fallback
}comment 15y ago · link · parent
Between 'proper' OO style, short circuiting on falsey assignment (var a = b || "default"), checking existence to avoid errors ( if (myObject && myObject.getJSON()){//block to deal with JSON} ) and the DOM, I feel like this is only useful to look up the Date() and Math() methods.
Sorry, just griping because it was the first 'real' programming book I got, and I feel that it misled me for quite a while. </rant>
comment 15y ago · link · parent
I would strongly argue for (if you have time) experiencing the progression of web dev to its current state from the ground up. Understand WHY templating is useful. Understand that most basic CRUD controllers have the same methods, and the schema underneath is setup the same way. Doing some things the 'hard' way I found made it much easier to understand the reasoning behind today's most modern frameworks. I understood their benefits.
comment 16y ago · link · parent
A joe-blow at home on the other hand is either at least at the "corporate" level, or even higher for gaming or media-centering.
comment 16y ago · link · parent
comment 16y ago · link · parent
Seems to work for them. How many other independent bookstores have gone under lately? When I moved out of Cambridge last year, Lorem Ipsum was just upgrading to a new, larger facility.
10.
Ask HN: Unique Developer Blogs?
3 points · by qqqq2010 · 16y ago · discuss
comment 16y ago · link · parent