2,079 reputation
1921
bio website gordiansolution.co.uk
location United Kingdom
age
visits member for 3 years, 6 months
seen Dec 3 at 7:35

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.


Jul
30
awarded  Popular Question
Jun
23
awarded  Yearling
May
28
comment What are the alternatives to “overriding a method” when using composition instead of inheritance?
@AmoghTalpallikar Chances are that if a person can have multiple roles, then there will probably be a requirement to acquire or lose roles during the course of the person's existence in the system. As classes are in theory immutable (a thing, once created as a particular class shouldn't be able to change its class during its lifetime), composing roles in is almost certainly the correct choice.
May
7
awarded  Good Answer
Apr
27
comment Recursion or while loops
One thing you forgot to mention, iterative code tends to perform better when you're dealing with a single thread of execution, but recursive algorithms tend to lend themselves to being executed in multiple threads.
Apr
26
awarded  Quorum
Apr
7
comment How important is it to reduce the number of lines in code?
Comments are comments. They're not code. Therefore they don't apply to LOC counts. While self-documenting code is better than well-commented code, removing comments from code that's less obvious isn't helpful to anybody.
Apr
7
answered How important is it to reduce the number of lines in code?
Mar
12
accepted When to use DI and when to create yourself in Java
Mar
11
asked When to use DI and when to create yourself in Java
Mar
3
answered Why does automated testing keep failing in my company?
Mar
3
comment How can I deal with a team member who dislikes making comments in code?
Not saying anything at all isn't a good idea obviously, but threatening people is just going to foster a climate of fear, especially over a relative minor thing such as commenting style. If you explain to him reasonably why the team considers commenting important that's fine. But I know if someone threatened me with the sack over something relatively minor I'd be more inclined to just start looking for another job instead.
Feb
27
comment A simple definition of client-server
Is this a homework question?
Feb
26
answered Re-gaining confidence of senior programmer
Feb
17
answered How can I deal with a team member who dislikes making comments in code?
Feb
17
comment How can I deal with a team member who dislikes making comments in code?
I don't think threats are necessarially going to be effective, they can come across as bullying (even if that wasn't the intent) and coders as a rule tend to be resentful of edicts from higher ups and in this case he may just dig his heels in even more. It may come to that as a last resort, but only as a last resort.
Feb
17
comment How can I deal with a team member who dislikes making comments in code?
Clean Code is a decent book, but it should not be treated as gospel. You have to apply common sense and decide for yourself what works. I disagree with the advice on comments, because programming languages are geared towards expressing the how of a problem with scant regard to the why. I was writing code for Google Shopping that appends a country code to the product SKU. It's obvious what the code is doing, but unless you know that you can only use the same product code once, even in different markets, you wouldn't know why I was doing this. The comment I added clarifies it.
Jan
15
awarded  Revival
Dec
9
comment How can I give my client “full access” to their PHP application's MySQL database?
I have to say that from the sound of it the client doesn't really know what they want, or if they do they don't know how to articulate it to you. I think you need a good long sit down with them to find out what it is they think "full access" and "data mining" really mean.
Nov
28
answered Is there a way to develop desktop software using PHP?