Reputation
6,770
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 15 38
Newest
 Steward
Impact
~301k people reached

12h
comment Creating two-way object references and keeping data integrity
oh yeah, it is expensive. But it might be the only way, hopefully you won't need to query that thing a lot (or it doesn't contain a lot of data). In practice you're likely going for a hybrid, having the most frequently accessed direction maintain a direct list and the other side gets queried through the link table.
15h
comment Creating two-way object references and keeping data integrity
not really. You can have things where there's ambiguity or the relation depends on who's viewing it. E.g. system I work in has machines. According to you, you're the leading authority in your dog/person relationships. Your dogs probably think otherwise (and if they were cats they'd definitely think otherwise).
15h
comment Creating two-way object references and keeping data integrity
N-N relations are common. While in this case there may be no need to define one, saying that they don't exist (which you're doing) is blatantly false.
2d
comment Is testable code better code?
that said, often I see methods that should have been private being forced public or package level in order for the unit testing framework to be able to access them directly. Far from an ideal approach.
Jun
28
comment My boss has a bad case of “Not Invented Here”
@JoelEtherton in my experience such decisions come from people inside the IT department, usually sysadmins with some management training, people who're completely paranoid about anything they can't directly control.
Jun
28
comment My boss has a bad case of “Not Invented Here”
you forgot one: the rewrite, while bringing no value to the business, and creating cost for the business, also creates risk. New bugs may be introduced, causing costly compensation claims from customers. The company now becomes dependent on another company as well (the creators of that library) and there's little or no control over that company.
Jun
24
comment Why isn't Java used for modern web application development?
@CraigRinger JSF is easy. Your comment reads like the question itself: a religious rant
Jun
24
comment How safe is it to compile a piece of source code from a random stranger?
@TomDworzanski doesn't matter. He still seems under the impression that simply compiling a piece of code will execute that code and potentially cause his computer to become accessible over the internet by someone else, even after he's read the code and hopefully understood it... Even IF the first falsehood were to happen (code becoming executed simply by compiling it) the second (that code execution making his computer accessible over the net) indicates a severe security lapse in the company, the applicant wouldn't want to work there :)
May
16
comment What difference with Android when iOS is not open?
@Ramhound and in addition it is almost certainly a breach of contract with your telco, most of which (maybe all) have clauses that prohibit it.
May
11
comment Is specifying copyright necessary in a closed source project?
copyright is implicit, there's no legal requirement to have such notices at all. They MAY serve as a reminder to people that copyright is in place, but that's all.
May
11
comment Is specifying copyright necessary in a closed source project?
in fact, copyright is implicit in most jurisdictions so headers like that are not a legal requirement in those places (of course it may be different where you live and work, but that's the case in most of the world).
May
11
comment What is Android's payment system like?
if they don't pool the payments in one lump sum, you'd end up paying more in credit card transaction fees than the value of most micropayments.
May
10
comment Why create a Global-ish Object.create function?
he doesn't ask where it's defined, but why.
May
9
comment Is it better to spend resources on a skilled team or good process practice?
a skilled team will get you the best out of your good process. A good process does not a skilled team make.
May
1
comment GPL question : web application using Imagick and GhostScript => Which would be the final licence?
the best (and likely only) way to ensure you're not pulled into a GPL morass is to ensure that you don't have any GPL dependencies anywhere at all.
Apr
27
comment Is it always a good idea to divide large classes into smaller ones?
@Zibbobz don't refactor unless it's required by your assignment (iow, it's explicitly your task or you're working on a problem involving the code you want to refactor directly and refactoring will save time on your task). Unless you're the person setting the budgets and tasks it's not up to you to decide that refactoring should be done. You can of course let your team lead or whomever is responsible know that in your opinion refactoring would be a good idea and they can then consider it for the future.
Apr
27
comment I want to explain why the specification must not be changed during development period
another reason for not changing the specs, which is also paradoxically a reason for changing them, is legal requirements. Many pieces of software deal with that. As long as the laws they have to content with don't change, those requirements are static. As soon as they change, the requirements change. And that is completely out of the hands of the development team or their customers (unless those customers are the people who're enacting those laws directly, which is exceedingly rare).
Apr
25
comment Partial or full changelog for release
What about an incremental change log... You'd have the best of both worlds...
Apr
24
comment What kind of copyright laws should I be aware of when creating software?
short answer: all of them. Long answer: get a lawyer and let him figure it out.
Apr
17
comment Job Interview Challenges
@SebastianRedl if an interviewer were to ask me that question I'd wonder why he asked it but not voice my opinion about where he should stuff it, a doing so is more likely to get you rejected than accepted (even if in your specific case it'd be exactly what you are looking for). In fact I've at least once rejected an offer to do a "test" that had questions like that, because if that's the kind of questions they ask during a programming test it's unlikely to be the kind of environment I'd want to work in.