10,659 reputation
52057
bio website
location
age
visits member for 3 years, 10 months
seen 10 hours ago

Feb
25
comment Are deadlines Agile?
Some of my deadlines have proved pretty agile.
Feb
25
comment Is it worth even checking to see if Guid.NewGuid() is Guid.Empty?
If you are seeing this pattern repeatedly perhaps a utility method would be in order? Repeating code chunks like this seems like a bigger problem than the fact that you are checking an edge case that will never happen and might not matter even if it did happen.
Feb
20
comment What would an anti-tree look like?
People, he means the mathematical dual of a tree. Mathematical duals are well defined.
Jan
13
comment Been working on a project for the last 6+ months. Consultants have been brought in and want to change everything. What should I do?
If they felt able to recommend that in just one day, it seems reasonable to wonder if they were going to recommend Angular no matter what. Also, even if their decision wasn't already made, if they know Angular but not JQM, JQM will seem more complicated. Also, they may get paid more if they scrap things and start over - it's awfully hard to teach someone something if their paycheck depends on not understanding what you teach.
Dec
17
comment Are all magic numbers created the same?
possible duplicate of When is a number a magic number?
Dec
12
comment Isn't there a chicken-and-egg issue since GCC is written in C++ itself?
Yes, but chickens and eggs have the same problem and they've solved it too.
Dec
11
comment What's the scariest piece of Other People's Code you've ever had to maintain?
@Mawg - Did I mention that it was a dynamic language with occasional use of an eval() kind of function? And that the variables were usually broadly scoped, often globally? Your approach is good but isn't always an option.
Dec
11
comment Does a licence exist where forking forces the developer to resell it when developer want to redistribute?
This question appears to be off-topic because it is about how to create a desired type of software license
Nov
21
comment Why is PHP so hated?
@Herrk I actual did talk to Yannis some time ago, asking a very similar question, in the whiteboard. chat.stackexchange.com/transcript/message/4302018#4302018 (keep reading a bit if you are interested, there is other discussion in between).
Oct
18
comment How to avoid module dependency chain nightmare caused by transitive dependencies?
Off hand, transitive dependencies aren't some weird artifact introduced by a weird implementation, there really are dependencies and they really are transitive. They are also common in programming. I'm not sure why it's confusing or a nightmare. Maybe you could elaborate on why this is something to be concerned about?
Oct
17
comment How to perform deferred tasks in backend
I don't think it's clear what your problem actually is. If you only consider them to have gold status if expiration Date>= now then there is no moment you need to "remove" it. So what exactly is the problem that remains?
Oct
17
comment How to perform deferred tasks in backend
Whenever you check the status check the expiration date too?
Oct
9
comment Static and not-static: programmer quantum theory
Is using $this not a "clear and unambiguous mode"? What is the problem you want solved?
Oct
8
comment Why is reading from memory not a side-effect but reading from a file is?
If someone wanted to implement a version of Haskell that did its own memory paging but kept the same public semantics then it would be side effect free (technically the files would have last access time modified and such, but that would not be exposed to the programmer directly) for the purpose of writing programs. The implementation of pure functional languages may, and do, have side effects. If as a programmer you are accessing a file at the level of the program itself you are dealing with a concept, files, that conceptually includes side effects.
Oct
2
comment FizzBuzz on Large Scale
@Doval - I think he did FizzBuzz with a switch statement.
Sep
19
comment Are Git branches, in fact, “homeomorphic endofunctors mapping submanifolds of a Hilbert space”?
I've always assumed that the author of the joke did get the monad joke but was purposely descending in to gibberish as a parody. One of those things that starts out plausible and becomes steadily less so until only at the end can you be sure its gibberish. It seems uncharitable to conclude he didn't get the monad joke.
Sep
16
comment Data model for persisting queries to database
Hmm, what are your UI requirements and target audience? A simple DSL for ANDs and ORs can be easier than a visual query builder (or a fancier interface can do both and have one update the other). Also, it's hard to tell if you are better off storing the query by constituent parts or just saving and parsing a string. Do you need to use SQL to query your saved queries?
Sep
15
comment Data model for persisting queries to database
Who will be creating the queries? How will they be evaluated - does the query need to eventually be expressed in pure SQL or is it up to you? What technologies are you using to implement this (some environments make some techniques easier or harder)?
Sep
13
comment How to signal that a method chain should not continue?
Usually you return something representing the invalid state, that can be used to continue the chain later.
Sep
8
comment What is meant by an HTML5 application?
This is somewhat nitpicking, but people also often mean "browser features not actually part of the HTML5 spec per se, but part of some other standard developed at roughly the same time as HTML5". For example, WebGL isn't part of the W3C HTML5 spec. Most people don't need to care about the difference. Most people saying "HTML5 application" are unaware such distinctions are possible to make.