2,364 reputation
510
bio website juliahayward.com
location St Neots, United Kingdom
age
visits member for 3 years, 5 months
seen 2 days ago

2d
comment The coding monkey dilemma - any practical advice or strategies?
+1. Made worse by managers' instinct to silo everything in waterfall-like stages - first boss writes the spec, then and only then does the designer produce something that meets that spec without deviation, then and only then does the coder produces something that meets the design without deviation. Everyone (other than a control-freak boss) would probably be happier in a smaller, more iterative and communicative setup.
May
21
comment Should I tell someone that their commit caused a regression?
In a good shop, most regression bugs are caught by automated tests - in which case the culprit should be aware anyway due to an automated email. Those that slip through are unlikely to have arisen from a single person's failure - the code may be buggy but also the tests could be better, the code reviewers missed something, etc. etc. If you are in such a shop, follow the answers below and tread very carefully. In a bad shop, save your energy for improving the system to catch more regressions early.
May
6
comment A CLR SQL Server Stored Procedure calling an ASP.NET Web API
Sounds like a horrible violation of SRP. What triggers the stored proc, and why can that not look after calling other APIs?
May
1
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.
Apr
30
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.