2,119 reputation
1921
bio website gordiansolution.co.uk
location United Kingdom
age
visits member for 3 years, 10 months
seen Apr 29 at 8:10

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.


Aug
6
comment What is the Mars Curiosity Rover's software built in?
It's really all done in C? I thought NASA tended to avoid C on the grounds that its performance comes at the cost of being far too easy to shoot yourself in the foot with it, and preferred higher level languages with more robust error detection.
Aug
6
answered MIT License Question (download somebody else's code and throw it on github)
Aug
5
comment Should we ever delete data in a database?
You'd be surprised how many mysql databases I still run into that are exactly like that. A lot of developers seem to have an aversion to innodb and even those that don't don't use all its facilities.
Aug
4
comment Should we ever delete data in a database?
True, but the above example was exactly that, an example to illustrate what can go wrong if you mess around with autoincrement-generated keys. In reality it's more to do with referential integrity.
Aug
3
answered Should we ever delete data in a database?
Aug
2
comment Do accompanying tools/scripts also need to be licensed to put my bash script under GPLv3?
I'm not a big fan of the GPL licenses for exactly this reason. Do you absolutely have to go with GPL, or can you consider some other license such as Apache, MIT or BSD?
Aug
2
comment Inheritance using non-abstract base class
I'm not so sure about your first example. If you made Employee a superclass of Accountant then that would imply that someone who starts as an accountant will always be an accountant. Employee roles is often used as an archetypal example of roles. The Employee is not the job title, but has the job title. As they change departments, get promoted, etc, the title associated with the employee changes, making Accountant a role that an employee can take on and discard
Aug
1
answered Template rendering engine legitimate use of a singleton?
Aug
1
answered Is it bad coding practice to create something in a get if it does not exist?
Jul
31
comment Why can't the IT industry deliver large, faultless projects quickly as in other industries?
You talk that it's a given that projects that aren't software related are always more successful. That isn't necessarially true. Both the A380 and the Dreamliner had delays and cost overruns, and the F35 program is currently looking like a serious screwup, especially the B variant. Structural and mechanical engineering disciplines are more mature than those for software, that's certainly a factor, but there are plenty of projects that didn't go well that went nowhere near software.
Jul
26
comment How to store data in Gujarati language in SQLite?
It should just be a matter of using UTF8 and storing to the database the same way you would with anything else.
Jul
26
answered Is there any design pattern except MVC for web?
Jul
25
comment Does unit testing lead to premature generalization (specifically in the context of C++)?
Sir, I salute you.
Jul
16
comment PHP function __autoload($class_name) how to Load two class path directories
+1 for spl_autoload
Jul
16
comment PHP function __autoload($class_name) how to Load two class path directories
I'd advise against using __autoload as it only lets you register a single autoload method. The addition of spl_autoload_register has pretty much made __autoload redundant, and provides more flexibility.
Jul
12
comment Confusion of scope of a variable: Is Global Variable a solution?
@mattnz It serves its purpose, especially for beginner programmers. Before you know when it's legitimate to break the rules you have to know what the rules are and how to adhere to them.
Jul
12
answered Confusion of scope of a variable: Is Global Variable a solution?
Jul
10
answered test coverage reality
Jul
6
answered How many developers actually have private offices?
Jun
29
awarded  Nice Answer