2,099 reputation
1921
bio website gordiansolution.co.uk
location United Kingdom
age
visits member for 3 years, 7 months
seen Jan 14 at 13:05

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.


Jun
28
answered Are there any good use-cases for variable variables?
Jun
23
awarded  Yearling
May
31
comment What are the alternatives to “overriding a method” when using composition instead of inheritance?
It's a bit of an oversimplification to say "composition good, inheritance bad". Inheritance is in fact the preferred method when dealing with "is a" relationships. Composition is meant for "has a" relationships. The trick is determining which relationships are "is a" and which are "has a". For example, at a school would student and teacher be subclasses of person, or would teacher and student be roles that a person could take on?
May
29
comment Is writing software in the absence of requirements a skill to possess or a situation I should avoid?
If you fail to plan, you plan to fail. These projects built without requirements may or may not meed the customer's expectations when they leave the shop but they almost certainly hide a multitude of sins that mean that when the requirements change (and they always do) a world of hurt awaits the person who has to make the necessary changes. Programmers who write without formal requirements shouldn't be praised, they should be reprimanded for failing to be prepared for the long term future maintenance of the project
May
25
comment Is it legal to use icons from some other application while developing?
Everything that you create is implicitly copyrighted to you (or your company if you do it on company time). Even if he's not planning on redistributing the icons there's always a risk that it will happen by accident (they publish the app and forget to replace one or two rarely-seen icons). Is it really worth the risk of a lawsuit, especially when there are already plenty of icon packs available on the internet with liberal licensing terms or fully public domain?
May
25
answered Is it legal to use icons from some other application while developing?
May
24
comment Should we avoid object creation in Java?
A well-designed class shouldn't do heavy-lifting in its constructor, for just this reason. For example, your file-reading class could lower its cost of instantiation by only verifying that its target file exists on startup, and deferring any actual file operations until the first method call that needs data from the file.
May
24
comment What was the historical impact of Ariane 5's Flight 501?
My own memories of engineering ethics lectures when studying computer science at university :)
May
23
answered What was the historical impact of Ariane 5's Flight 501?
May
23
awarded  Nice Answer
May
23
answered Web Developer interview questions
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