1,996 reputation
819
bio website gordiansolution.co.uk
location United Kingdom
age
visits member for 3 years
seen Jun 29 at 7:24

I'm a professional PHP programmer with almost a decade of professional experience and considerably more as a hobbyist programmer. I've also had some exposure to Java, Object Pascal and am interested in learning objective C

I've started work on a PHP framework, though it's still at a very early stage and not yet really useful. The current source is available on GitHub.

I've also begun development of a CSS3 elastic grid for use on my own projects and had published that on GitHub as well.


May
23
answered Working on someone else's code
May
22
comment Who created the idea(s) of the first loop constructs?
True, but any turing-complete system has to have a way of expressing the concept of performing the same sequence multiple times, the mechanism can be recursion, or jumping backwards in the instruction list or anything else that achieves the same effect. If a system doesn't provide any way of repeating a set of instructions (other than physically repeating the instructions in the list) then it can't be Turing complete. The Analytical Engine was Turing complete, so it must implement looping in one form or another.
May
21
comment Who created the idea(s) of the first loop constructs?
The wikipedia article on loops describe recursion as a way of expressing a loop, rather than an entirely unrelated concept. en.wikipedia.org/wiki/Program_loop#Loops As for CPUs not having loops, they do have the tools necessary to implement them (jumping to an arbitary memory address)
May
21
answered Who created the idea(s) of the first loop constructs?
May
21
revised Is it safe to use CamelCased file names?
added 754 characters in body
May
21
comment Is it safe to use CamelCased file names?
What about PHP autoloaders? If you've camelcased a class name, then the autoloader will get a camelcased name as the basis for locating the class in the filesystem. Unless you explicitly strtolower() the class name the system will be looking for camelcased filenames.
May
21
answered Is it safe to use CamelCased file names?
May
21
comment How to prevent piracy on software which is sold online?
Somebody sufficiently determined not to pay for your product will find a way to circumvent any DRM you can come up with eventually, this effectively makes *make the software unpiratble" an unrealistic non-functional requirement. You're better off setting a level of piracy that's acceptable and making that your NFR. Also, legitimate customers HATE DRM! If you make your software resistant to piracy only to make it barely usable to the people who did pay for it you'll have pretty much scored an own goal.
May
20
accepted Open Source license compatibility checker
May
20
comment Open Source license compatibility checker
I was hoping for some kind of free tool or an open source product, but this looks like the only answer I'm going to get.
May
16
asked Open Source license compatibility checker
May
12
awarded  Nice Answer
May
12
comment What do I need to do to NOT steal “Hello World” code with a GPL license?
programmers.stackexchange.com/a/148362/28718 seems pretty trivial to me, assuming that that's the correct code.
May
12
comment What do I need to do to NOT steal “Hello World” code with a GPL license?
You try telling that to Oracle!
May
12
comment Has test driven development (TDD) actually benefited a real world project?
Sadly not, because nobody else seems to build unit tests, at least not on any of the code I've inherited from previous developers. My life would have been a hell of a lot easier if they had. I'd suggest you check out the book in the link, which does have real world examples, though it's for PHP rather than Rails. amazon.com/…
May
12
accepted Separation of concerns in an RMR framework
May
12
comment Separation of concerns in an RMR framework
I tend to do validation in 2 places. The models all have sanity checks on their setters that throw exceptions if you try to feed in invalid input, and I validate the input form before it gets presented to the model in the first place so I can handle errors in a more friendly way than by tossing an exeption at the user. I guess you just need to think in a different ray in RMR.
May
12
answered Has test driven development (TDD) actually benefited a real world project?
May
12
comment What do I need to do to NOT steal “Hello World” code with a GPL license?
Also, it's obvious that my code isn't a copy because it uses a greater than instead of a less than!
May
12
comment What do I need to do to NOT steal “Hello World” code with a GPL license?
You're not. But if you used my code you can claim you used it in good faith.