Posted on September 22, 2010
I've been reading my friend Steven Johnson's new book Where Good Ideas Come From. Steven gave me an advance copy of the book. It is available for pre-order at Amazon [kindle here] and it will be released on October 5th….
I’ve been asked this a lot lately from lots of different people:
What’s the difference between public, private, protected etc?
It’s quite important to understand that in good class design, these declarations will help you ensure encapsulation and appropriate logic where it’s supposed to be to do the job it’s got to do. Encapsulation is important so that work flow is contained, manageable and expandable. Read More
This week, I attended Over The Air mobile development conference at Imperial University, London. It was immense, as it was the first time I went in 2008. I loved that it was free, especially since I am no longer working for a mobile company and can’t get work to stump the fee, however missed the free stuff Read More
Recently I was asked by someone: “what is a hashmap?” and I’ll be honest – as a PHP developer who hasn’t really learnt java or anything, I didn’t have a clue!! So of course I asked my husband to be straight away and he says “it’s a collection of key value pairs”. Ohhh an array I said. So I learnt that PHP’s use of arrays is totally different to a lot of other languages and proceeded to inform Andrew that arrays in PHP are exactly that. He reckons it’s standard OO, which I think is rubbish as its a feature of the language but there we go. In PHP, arrays will serve you fine.
Another poem that amused me to write – I do worry about my imagination sometimes!
Charmed Kitty Catnip
“Gribbet gribbet” went a frog,
Hopping around his pond.
If you could also hear this thoughts,
“I’m sure I’m supposed to speak my own tongue..”
Of course with legend this is true,
But since this is no fable,
“Gribbet” is all that you can hear,
Of speaking, he’s not able.
It is assumed that to turn him back,
To his princely state of living,
A princess and a princess alone,
Her kiss she must be giving.
Alas that sadly is also false,
Hark! “Meow”, a kitty draws near.
A yummy frog he plans to catch,
He sees no princes here.
Pounce goes kitty and catches our prince,
“Slurp” a lick to taste his dinner.
Not only kisses can change this frog,
Prince grows, Kitty is our winner!
Prince stands shivering in his pond,
He stares at his feline hero.
“Maybe if I lick the cat,
My princess will be here also.”
Our prince decides to give it a go,
And hopes he’s favoured by Cupid.
But Kitty’s still Kitty and very confused,
“I’m just a cat, stupid!”