3,176 reputation
21029
bio website
location Chicago, IL
age 26
visits member for 3 years, 2 months
seen 1 hour ago

Aug
10
comment What does 'stage' mean in git?
@jiggy It can, just use git commit -a (for "all") to skip having to stage files, and commit all changes
Aug
5
comment Naming: StartDate or StartDateTime when working with DateTimes
Note that including the datatype is "Systems" Hungarian Notation, and is generally accepted as bad practice (let the IDE tell you instead of cluttering up variable names). "Apps" Hungarian on the other hand - using the semantic meaning - is considered "good" practice (use it for things the IDE won't tell you). For example, instead of Start, StartDate, or StartDateTime, why not ProjectStart?
Aug
5
awarded  Announcer
Aug
3
comment Is this approach to CSS correct?
@mattecapu It's probably more frequent because it's more flexible. With the "clearer" animal-based example, if you have interactivity with javascript, you'll either have to select all types of animals or go back and add the animal class to the elements. It also distinguishes between ambiguities in English - for example, is it "bat" or "bat"?
Aug
1
reviewed Approve suggested edit on Is making a small change, testing it, then “rinse and repeat”, a bad habit?
Jul
31
comment Customer is “deeply disappointed” in software because of one bug. How to reply?
If you're referring to this project, then even they had to make some assumptions. Granted, most of that looks like pretty safe assumptions (but I know nothing about kernel development).
Jul
31
comment Customer is “deeply disappointed” in software because of one bug. How to reply?
@RobertHarvey As I understand "But how would you react to such a pathetic and emotional Response?" it completely is. You have to respond to the client somehow, and prioritize the bug.
Jul
31
comment Customer is “deeply disappointed” in software because of one bug. How to reply?
@RobertHarvey Are you seriously suggesting companies should hire a psychologist to deal with all client interactions? I was under the impression this site was about software development, which includes client interaction about the software - such as, say, finding bugs...
Jul
29
comment Why are there so many CSS properties which are essentially the same?
@ParthianShot Yeah, this comic exists for a reason...
Jul
29
awarded  Nice Question
Jul
29
awarded  Revival
Jul
29
comment Why are there so many CSS properties which are essentially the same?
@JasonGoemaat Part of the point is that the prefixed ones don't have to change, because they're vendor-specific.
Jul
25
comment Why would programmers ignore ISO standards?
@Darkwater23 Actually, an ISO standard uses a weird unicode symbol (this: ) for decimal separator on keyboards, and I thought plain tick marks (') were standardized for digit grouping as well (although I can't find it now)
Jul
25
comment Why would programmers ignore ISO standards?
@djechlin That also specifies a time (which you may not want) and loses time zone (which you might want). There's multiple standards for a reason...
Jul
23
comment Why is polling accepted in web programming?
@slebetman I think you misunderstand. Using multiple IPs with multiple machines sidesteps the limit. (And anyway, StackOverflow does use websockets for updating vote counts (and, I think, notifications) while on a page, so they have sidestepped the limit)
Jul
23
comment Why is polling accepted in web programming?
@DonHatch For web programming? Websockets are relatively new. Polling was the only way for a long time, so most resources online will point at polling with javascript just because there's been more time for it to accumulate. With web programming, polling is also still simpler to implement..
Jul
22
comment Best practices / reasons for String constants in JavaScript
It wouldn't generate any extra requests, the data would be set in the template and used in the javascript. It was the usage of FIRST_NAME in particular that had me wondering - does it not change per user?
Jul
22
comment Best practices / reasons for String constants in JavaScript
FIRST_NAME? That looks like it comes from something server-side and is passed into the javascript. And that combined with you saying you come from Java/C#, I have the feeling you're misreading what these variables are for: Separating the data from the code, so that the .js file can be cached by the browser...
Jul
19
comment Isn't striving for elegance counter-productive?
@proskor No, the comparator function is. The sort function itself is not.
Jul
18
comment How do you deal with being behind on a task?
Working overtime should really only be a last resort for if the feature is actually needed at the end of that sprint (say, due to a bad promise from marketing). Otherwise your velocity is going to get screwed up and create the expectation that this higher number of story points is normal.