16,827 reputation
13063
bio website thehungersite.com
location United Kingdom
age 45
visits member for 3 years
seen 10 hours ago
experienced software engineer with many years in the industry, mostly c++ for large-scale, high-reliability systems.

Apr
3
comment Why is “Select * from table” considered bad practice
@jwenting think for a bit. Fast code that does not work, is code that does not work. If performance matters more than correctness, I have some awesome code that runs in almost 0 milliseconds that I can sell you for a quite reasonable sum :)
Apr
3
comment Why is “Select * from table” considered bad practice
@jwenting really? performance matters more than correctness? Anyway, I don't see that "select *" performs better than selecting only the columns you want.
Apr
3
comment How to handle or prevent all Admins and users being removed
Isn't this turning into a "but what if the user smashes the database server to bits with a sledgehammer". If someone uninstalls or otherwise trashes the DB tables, then its restore from backup, or reinstall time.
Apr
3
awarded  Enlightened
Apr
3
awarded  Nice Answer
Apr
3
revised Why is “Select * from table” considered bad practice
edited body
Apr
3
answered Why is “Select * from table” considered bad practice
Apr
1
comment Can I get jobs in software development with a degree in a major other than Computer Science?
some comp sci major didn't like that answer, lol. Its true though, generally if you have no experience, a recruiter is more interested in your willingness to learn. Your degree just shows them that you are intelligent. I also found that comp sci graduates think they know it all and are strangely less suitable for the job.
Apr
1
comment How to manage a single branch
Note that the single-branch concept is very Visual Sourcesafe. I find TFS fits into that mindset a lot, even if it does dress it up with the "innovation" of having 2 or 3 'branches'. (they're more steps than branches in that model)
Apr
1
comment How to manage a single branch
Ah, I see.. well, in that case you'll find you cannot. I worked on the "Microsoft model" of Dev branch -> Main -> Release and it worked, just so long as all development was done for tasks that would go on to be part of the build. There is shelving in TFS but I always thought of that as a temporary thing while you worked on something else. You can't cherrypick revisions to merge as you will forget the old ones, if that works at all. I simply would not recommend single branch dev unless you have a small team able to step on each others toes and a very linear dev process.
Apr
1
answered How to manage a single branch
Mar
31
awarded  Nice Answer
Mar
31
answered To use or not to use a backing app for website?
Mar
29
comment Model-View-Controller: Does the user interact with the View or with the Controller?
2 answers, both upvoted, one says "interact with the view" the other says "interact with the controller".... makes me think MVC is not quite good an architecture if its this confused at such a fundamental level!
Mar
28
revised Should I pass array or pointer?
edited tags
Mar
28
comment Dynamic git URL for Jenkins builds
@btype I think the Jenkins plugin is FOSS, so you could take it and modify it to suit you (I don't use git,and I don't code Java or I would have by now, but you might find it quite easy to change the mercurial calls to git equivalents)
Mar
28
comment What are the advantages of strictly maintaining separate data | algorithm | interface layers?
now why didn't you say that in the first place :-) I'll upvote you if your answer says that.
Mar
28
answered How to apply IoC (or something similar) to a constant?
Mar
28
comment What are the advantages of strictly maintaining separate data | algorithm | interface layers?
I thing getters are an anti-pattern, what you should be implementing is proper methods that return meaningful data based on your class. True, if all you are doing is implementing getters on a POD, then you might as well have a POD. If you were trying to explain this in your answer, putting methods like tryToHit, Compare and calculated getters like getCost are really bad examples, no wonder I was confused by your answer!
Mar
28
answered Help understanding server-side scripting