5,470 reputation
2027
bio website
location
age
visits member for 3 years, 11 months
seen 2 days ago

2d
comment How do I communicate to a colleague that their code does nothing?
@DocBrown I certainly agree. Just having PTSD flashbacks to a wack-a-mole Java/Rails/.NET sandwich I was just supposed to be doing the UI for a couple years back. You know it's bad when people move all the business logic to templating because they don't trust what happens before then. Lost count at 18 layers and sub layers of JSPs, mixed with front end calls calling more content plugged into more JSPs.
May
21
comment How do I communicate to a colleague that their code does nothing?
@DocBrown And that's when the race conditions from their other code they were preventing totally by accident start to kick in.
May
20
comment How do I communicate to a colleague that their code does nothing?
Yeah, but sometimes that's when their eyes glaze over the color of the kool aid they've been snorting and they get really excited and start man-splaining some concept that they clearly don't understand as if it's supposed to justify a construct that is either 100% redundant or actually DNGN.
May
19
answered How do I communicate to a colleague that their code does nothing?
May
19
comment With only backend development experience, how do I go into frontend development (js, html, css)?
Learn the DOM. Start playing. !@#$ Angular. It's for the JavaScript/DOM illiterate.
May
19
comment Whether to abstract small repeating code segments in HTML templates?
Are you just hoping a web UI dev like myself with 10ish years of experience and more knowledge of CSS/JS than probably the top 95th percentile-conservatively in his field will come out and tell you that Angular sucks giant mega-balls? Cuz I'll totally say that. It's a modern-times framework. A framework for people so turned off by knowing things they'd rather just crank those wrenches over and over in the same spots until they lose their freaking minds. It reinvents hooks to the HTML, its own scope scheme, and gives us directives in a language with first-class functions. There is no DRY here.
May
9
awarded  Nice Answer
May
4
awarded  Enlightened
May
4
awarded  Nice Answer
Apr
2
awarded  Necromancer
Mar
18
awarded  Necromancer
Jan
26
awarded  Necromancer
Nov
28
awarded  Enlightened
Nov
28
awarded  Nice Answer
Nov
22
comment Disadvantages to using “associative arrays” in JavaScript
I certainly wouldn't go through great effort to lambast the evils of using the Object and Array constructors over the literal expressions. In 8 years of sometimes frightfully stupid code bases I've never seen someone overwrite the Array or Object constructors and the performance benefit is negligible barring scenarios involving instantiation of massive amounts of arrays. But it's fewer keystrokes and you don't have to explain anything to the because-doug-crockford-said-so types on the team. Point #2 is more important but it's at least a little bit silly not to do it the easy way.
Oct
10
comment How can DB and UI agree on default values?
I'm no DB expert but anything you would just read once from a DB on app initialization smells funny to me.
Oct
7
comment Backbone/JQuery, ExtJs 4… is there something else worth looking?
I would actually like to update a few opinions on this. Backbone is probably one of the less pervasive of the architectural frameworks in terms of locking you into the one uber-alles way to do all the things. Bootstrap is very much overrated IMO, but at the very least don't load the whole damn thing in just to solve responsive or use a plug-in or two. Maybe not bad for honest-to-god prototyping where the prototype doesn't ultimately become a feature. Responsive isn't that hard and it will change a lot as more and more apps drop IE8 support. Not sure why we decided it requires frameworks.
Oct
5
awarded  Nice Answer
Sep
11
awarded  Necromancer
Sep
5
comment What's wrong with comments that explain complex code?
Assembly fight!