2,354 reputation
510
bio website juliahayward.com
location St Neots, United Kingdom
age
visits member for 3 years, 4 months
seen yesterday

2d
comment Is 100% code coverage a pipe dream?
+1 for Andrea - also code coverage from unit tests is orthogonal to race conditions and cross-thread pollution, UI bugs, and mismatches between what the code does and what the users expect. The effort spent squeezing out the last few % of coverage could probably be spent better elsewhere.
2d
comment How to make people new to programming stop asking me questions and distracting me?
Mail them lmgtfy links beyond the point where the joke wears off.
Apr
8
answered Why are my unit tests so expensive?
Mar
26
awarded  Custodian
Mar
26
reviewed Reject Why does the boolean type in C++ support `++` but not `--`?
Mar
16
comment Naming conventions for instance, local and parameter variables
The prefixes duplicate information that is already contained in the code and displayed in any half-decent environment. And as we all know, duplicate information can become inconsistent. DRY should point you towards not using the prefixes.
Mar
10
comment When do programmers use code first approach?
This just reads like a rant along the lines of "code-first isn't doing it properly".
Mar
9
comment Robot in a grid
Aha, thanks! (Though I have seen too many interview candidates fail questions that trivial...)
Mar
9
comment Robot in a grid
Am I reading it wrongly? When you change j (move down) you do it by i not by 1. Therefore the number of down steps you need depends on how many rightward (increasing i) steps you have taken and where in the sequence they happened.
Mar
6
comment How to organize code which converts from one type to another
If you use parameterised queries in general, why develop an exception specifically for date ranges? Is there some problem passing range_start and range_end as separate parameters?
Mar
5
answered How to organize code which converts from one type to another
Mar
2
comment Good interview programming projects
+1 @Jer. Last time I interviewed for a programmer, six out of eight candidates couldn't complete the most basic tasks (even with Google and SO). There's no way I would let them near my real codebase for five minutes, let alone 30 days.
Feb
23
comment Does Oracle reap economic benefits by maintaining Java?
Also if not Oracle, then probably someone else would take their place. Imagine how many companies out there would effectively lose their flagship product, or have to embark on years of rewrite, if it were announced that Java was permanently dropping out of support. They would all have a strong interest in chipping in to keep it going. Particularly in the business world, where users tend to be highly risk-averse and keep legacy systems going far longer than in the consumer world.
Feb
20
awarded  Nice Answer
Feb
20
answered How to sell DRY architecture
Feb
6
answered Can we defend 8.3 file names?
Feb
4
comment Potential abuse of observer pattern
+1 Your goal should be simplicity, not "how can I apply a pattern to this problem." <-- this. It ought to be the opening line of every CS course on patterns.
Feb
4
comment Does it matter how I format the name of a function?
Just to clarify - it matters to whom? The compiler/interpreter? You, now? Consumers of your API? Your colleagues? Your future self doing maintenance?
Feb
3
comment Should one check for null if he does not expect null?
@k3b For the end-user as well, "database-server is not reachable" is very helpful. At least, for any end-user that has a bit of a clue about common problems - it may help him find that a cable's loose, the router needs restarting, etc. rather than getting angry about buggy software.
Jan
29
awarded  Good Answer