20,200 reputation
14078
bio website thehungersite.com
location United Kingdom
age 46
visits member for 3 years, 5 months
seen 23 hours ago
experienced software engineer with many years in the industry, mostly c++ for large-scale, high-reliability systems.

Aug
20
comment Project structure: where to put business logic
Alas, I think he is expecting an instruction manual - after all, design patterns like MVC (and the frameworks that provide them) do tend to be a cookie-cutter approach. IF you "do X then it'll work" is how coders are being taught to program nowadays. Its why frameworks should be considered evil (if a necessary evil for some people)
Aug
19
comment How meaningful is the Big-O time complexity of an algorithm?
There was a story about a scholar who performed a great service to a king in ancient times. The king offered a reward, so the scholar asked for a chessboard with 1 coin on the first square, 2 coins on the second and so on. The king readily agreed to such a simple (and obviously cheap) solution. Now, given this is a O(n^2) problem, do you think the king would have been happier if he'd known about big-O complexities?
Aug
18
comment In the days of modern computing, in 'typical business apps' - why does performance matter?
@JanHudec not quite true - its just that the up-front costs far outweigh the continued costs in the minds of those getting paid to produce it. So its easier to ship something cheaply and quickly, even if its rubbish. The user has to suffer with it, but the salesman who sold it no longer cares - he's off spending his commission. (I guess same applies to the startup that needed to get to market first). In most cases, the crappy code that was knocked up quickly gets replaced with something well designed later and doesn't cost massively in maintenance spend... oh no, wait...
Aug
16
comment Are first-class functions a substitute for the Strategy pattern?
"However an anonymous function by itself can only hold state that ceases to exist the moment the function finishes execution." : not forgetting global variables, and static variables at the very least.
Aug
14
comment Why is build.number an “abuse” of semantic versioning?
Even that is broken in the field, for example Microsoft's NuGet versioning uses semver, in a broken way (using the prerelease style for build numbers), and Ruby uses major.minor.teeny.patch. Anyway, as the build number can be part of the semver, the architect was talking tosh (though admittedly, it should be +build, not in the 3rd position).
Aug
14
comment How to approach program design with respect to data strucutres and algorimths - is there an equivelant of the OO design process for d.s.'s + algs?
There are plenty of approaches to use formal specifications in OO systems, I used to know an analyst who used them to produce OO designs that were very good. Just because most developers bang stuff together that mostly works doesn't mean there isn't better ways of doing it (if much less fun!). I recall being taught formal analysis stuff, and it was dull.
Aug
14
comment Why is build.number an “abuse” of semantic versioning?
@herpylderp not at all, Tom Preston-Werner's 'spec' is just his opinion, loads of other companies have different (generally very similar to each other) standards. In most of those, an automatically-generated number is part of the version. Use the CI build number is a sensible thing to do.
Aug
14
revised Why is build.number an “abuse” of semantic versioning?
deleted 372 characters in body
Aug
14
revised Why is build.number an “abuse” of semantic versioning?
added 712 characters in body
Aug
14
answered Why is build.number an “abuse” of semantic versioning?
Aug
14
answered Reliable secure data exchange between service written on .NET and an iOS client app
Aug
14
comment Estimation of space is required to store 275305224 of 5x5 MagicSquares?
@Oded 5/8th the size in fact, still 4Gb uncompressed. Though as he mentioned the web, I'm sure the modern answer would be to store them in an XML format :-)
Aug
14
answered Estimation of space is required to store 275305224 of 5x5 MagicSquares?
Aug
14
comment Have enterprises adopted pure FP to create desktop user interfaces? Examples?
@MarioT.Lanza Job postings.... right, the ones that say "we do cool stuff, please come work for us", and when you accept you find they "intend" to do the cool stuff, but first there's some core VB6 code that needs maintenance...
Aug
12
comment Develop in trunk and then branch off, or in release branch and then merge back?
@TorbenGundtofte-Bruun I prefer a feature-branch approach, branch off trunk, make changes, then merge back onto trunk when its done, reviewed, tested etc. This can be a problem if you leave branches lying around for a long time - only create a feature branch if you intend to merge it onto trunk! The advantage is that it allows devs to work independently, without affecting others - you might ave problem when merging, but generally such problems are rare and easily fixed anyway (ie 2 devs change the same thing). Don't be afraid of branches or merging.
Aug
12
comment Develop in trunk and then branch off, or in release branch and then merge back?
@TorbenGundtofte-Bruun if that's the way you want to do it, that's fine. Bugfixing on trunk allows you to get the bug fix right (as it is unstable itself until proven) and then the final, proven good bugfix is merged. If you;ve ever had a bugfix that took several iterations to get right then you realise why you don't want to make bugfixes directly on Release. You create an unstable release branch temporarily. Its safer to make changes elsewhere and merge when reviewed, tested etc. You could make a branch from release for these if you prefer though.
Aug
12
comment Develop in trunk and then branch off, or in release branch and then merge back?
@TorbenGundtofte-Bruun well, if trunk is unstable, is it "considered unsafe to merge from an unstable codeline into a stable codeline" (to quote yourself) when making release branches from trunk. You must trust trunk enough to create a release in the first place, just use the same testing you do on a release to ensure its fit.
Aug
12
comment Develop in trunk and then branch off, or in release branch and then merge back?
@TorbenGundtofte-Bruun trunk is stable, surely. Releases are based off it, therefore it must be stable or all your codelines will be unstable.
Aug
12
answered Distributed game development and security of source code
Aug
10
answered When running PHPUnit tests - is it common to use a separate database for testing?