2,855 reputation
1520
bio website zzzzbov.com
location -
age 27
visits member for 4 years, 2 months
seen 8 hours ago
Have something to say? Send me an email:

zzzzBov at gmail dot com

or find me on twitter @zzzzBov


2d
comment Leaving intentional bugs in code for testers to find
Intentionally adding ducks (#5) should be an indicator that there is a problem.
Dec
18
comment Are all magic numbers created the same?
Relevant: thecodelesscode.com/case/19
Nov
25
comment Function guaranteed to never return the same value twice
function neverReturns() { throw new Exception(); } will never return the same value, but that's just because it never returns any value.
Nov
25
comment URLs in javascript in the browser
Ajax is often used to replace what a standard form would otherwise submit to the server, so one of the best places to put the URL is in the [action] attribute of a <form>.
Nov
17
awarded  Yearling
Oct
2
revised What is the benefit of a function without parameters which only calls another function
edited body
Sep
10
comment What is the purpose of a Code Review
"What is the purpose of a code review?" to prevent developers from writing terribad code, and to steer them in the right direction.
Jun
23
comment When making responsive design how many versions of account for?
"A good responsive design will flow to fill the available space." this implies that designs that do not flow to fill available space are not good responsive designs.
Jun
13
answered What if(event) statement means in JavaScript?
Jun
13
comment What if(event) statement means in JavaScript?
"if(event) is the same as if(event == true)" no, this is not correct.
May
23
answered Should our team order Javascript class methods/properties consistently? If so, how?
May
23
comment Should our team order Javascript class methods/properties consistently? If so, how?
@StevenBurnap, while alphabetical may mess up order from an execution standpoint, I find it highly useful for organizing code for things like functions in a prototype, or APIs. The reason it's useful is because it can become faster to find what you're looking for especially when you're learning a new code base. It's also reasonably unambiguous when training interns on a coding standard. Different teams have different needs, YMMV.
May
10
awarded  Guru
Apr
8
comment Why do JavaScript frameworks/libraries have functions which already exist in pure JavaScript?
jQuery.each and Array.prototype.forEach are not equivalent.
Apr
8
awarded  Guru
Apr
8
revised Referencing external javascript vs. hosting my own copy
corrected tyop
Mar
27
comment Tight Coupling Between Javascript, HTML, and CSS: A More Modern Approach?
I actually recommend against using class, element, and ID selectors for many things, and instead focus on using custom [data-*] attribute selectors, which can be used in very powerful ways.
Jan
22
answered Separating UI from logic in JavaScript modules
Jan
22
revised Why Should I Avoid Inline Scripting?
added 122 characters in body
Jan
22
answered Why Should I Avoid Inline Scripting?