Random header image

Teaching

I was following an advanced PHP class yesterday, and out of the blue the teacher asked me to show the class how I would solve a certain problem.

Despite a few problems I was able to keep the class interested for over an hour. And afterwards I received a lot of positive feedback from both the class and the teacher.

A little framework rant

I was looping through an Array like this:

for(var i in Entries)
{
	//do something with Entries[i]
}

But because the JavaScript framework Prototype had added a lot of methods to the Array object I was not only looping through the real Entries, but also these added methods. I should have done this the Prototype way:

Entries.each(function(Entry)
{
	//do something with Entry
});

This has only strengthened my hatred towards frameworks, because it prevents stuff being done the way it should be done.

Back to teaching

The teaching experience, or at least the experience of being in front of a class trying to explain something, was really cool. The teacher will inform me when a vacancy opens up for a student assistant, which I am looking forward to.

Share

Share on Google Buzz Share on Facebook Share on Delicious Share on Digg Share on Reddit Share on Stumbleupon

Comments (0)

Your comment
Your email address will not be published!
Receive an email for new comments containing @yourname