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.


Jun
23
awarded  Yearling
Jun
23
comment Do objects maintain identity under all non-cloning conditions in PHP?
@RPM That hasn't been true since PHP 5.0.0. Class instances are always passed by reference (with some caveats, php.net//manual/en/language.oop5.references.php)
May
24
answered How much freedom should a programmer have in choosing a language and framework?
Apr
22
comment Why is Global State so Evil?
@Navin assuming that one was implemented in the first place. If state is global than all bets are off.
Apr
6
awarded  Popular Question
Mar
29
awarded  Good Question
Mar
1
comment Using a single table for identity and metadata
@BartvanIngenSchenau Am still in the early design stages and am just playing with ideas so hadn't thought of that. I guess I'd need a column in the business object table to indicate the class of the object being queried.
Mar
1
asked Using a single table for identity and metadata
Oct
6
comment Writing my problem solving approach on paper?
Whoever told you that real programmers don't use paper is dead wrong. Most programmers worth their salt will try to get a feel for any non-trival problem and its solution before writing any code, whether it's a formal method like UML or just a rough sketch. The kind of programmer that just tears into writing code without any kind of planning is the kind who writes pretty crappy code. I expect it's just cos you're new to it and your definition of "non-trivial" is still pretty broad.
Aug
16
comment Which programming languages are multi-platform, fast, and object-oriented with non-limiting low-level os access?
One big caveat with Java though, it's very difficult to give GUI apps a native "look and feel" because Swing is the default GUI library. While Swing does try to emulate the look and feel of the host OS, Swing never looks or behaves quite right. I've not tried it but I'm told SWT gives better results. On the plus side, porting your program's core logic to Android should be pretty easy (though you will have to redesign its GUIs)
Aug
16
comment How to maximise chances of success in an HR interview?
If the hiring company are using HR mooks with no technical experience to hire technical staff then you really don't want to be working for them anyway.
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