Been doing this a while. I enjoy this a lot. ;-/
programming is supposed to be fun and it should be clear what the code does. That is my attitude to it.
I really try to control how the code behaves...
Current Issue I think is important (or 'Bee in Bonnet'?) ;-/
On Answers: The following are my 'priorities'
- I try, really hard, to make it correct - but it must return the correct results according to my understanding of the problem.
- I try hard to make it good as well.
- It may be 'less than good' code
but it _must return the correct results that we all agree about.
Useful Stuff?
On Debugging PHP scripts:
Also:
- i try and check the existing comments and answers to see if the answer i provide is 'different' and 'maybe useful'. Or just 'different'!
On 'comments':
- try to be 'useful' - i try. :-)
On Iterating arrays:
- I really like PHP 'array's as each comes with an 'iterator' built in! See 'current', 'key', 'next' and 'reset'. I don't care what the 'indexes' are unless they are 'names'. I use 'current($array)' to get the first entry rather than 'array[0]' as the first index may not be zero.
This is so me... (XKCD: - someone is wrong on the internet).
real email: rfv123 \dot questions \at gmail \dot com