I'll explain the quote in the title later in this post, but first my own quick writeup of the Dutch PHP Conference that was held in Amsterdam last weekend by iBuildings.
The Friday was a tutorial day and I had the privilege of hearing Sebastian talk about PHPUnit for the day. Now I've heard of PHPUnit and I've used the suite to test other people's code but I've never really used it for a project I worked one. The tutorial started with some of the basics about testing in general and why its a good idea but as the day progressed we covered some more in-depth stuff.
One questioned I asked was how do you test a 300,000 line code-base that has existed for a few years and the code is a mix of procedural and OO that has been intertwined over the years?
The answer here is to do some basic tests with Selenium, you can get a fair few done in a very short space of time using the IDE that integrates with Firefox. While this doesn't replace Unit Tests it is a reasonable substitute until we get some proper tests written.
However if you plan to write unit tests but don't know where to start then there is a pear package that helps you look for "smelly" code, this code smell is likely place where you'll get something broken, a bug or something that could end up on TDF. There is more information in the documentation and the project page.
After the tutorial there was a pre-conference social event held at Werck, though today I learnt from Derick that it means work in English. Must be a great way to bend the truth, "I need to meet some people at work, back later."
There was also the Netherlands playing against the French, though I couldn't muster the effort to fight my way through the hordes into the bar to see the match or even to get some beer.
The actual conference day was enjoyable, I attended both keynotes by Zeev and Marco, I really liked Marco's talking style, it was quite layed back and relaxed. At Zeev's talk we saw the first email regarding PHP to Andi, an interesting thing here was that it was in English and later on I found out this was due to the poor support for Hebrew and RTL languages in mail clients at the time.
In the afternoon I went to the talks on eZ components, PHP security and PHP 5.3/6. These were all great but overall the conference felt a little shot I think a second day of talks could potentially make the conference better There were definitely enough people attending, so maybe next year!
Now to the quote in the title, while travelling from downtown on the Sunday afternoon back to the hotel we were chatting with a few locals on the tram. After asking a girl about where to get Stroopwafels she then queried if we were here on a student trip, I guess Terry must look about 20 ;-). Terry's reply of course was "Do you go to school around here?", turns out she was studying law at University and not still at high school..., the conversation finished shortly after.