http://www.reddit.com/r/programming/comments/dst56/today_i_l...
One of the code examples from here might be good if you're looking to scare people :-P
Edit: I have a more serious suggestion. Why not pick 8 lines from your own codebase?
One of the code examples from here might be good if you're looking to scare people :-P
Edit: I have a more serious suggestion. Why not pick 8 lines from your own codebase?
The sample I started with is kind of a magic-method interpretation of how our system works:
<?php
$jobs = array();
foreach (Companies::getAll AS $company) {
array_push($jobs, $company->getJobs();
}
$results = Search::fromKeyword($jobs);
foreach ($results AS $result) {
$result->displayJob();
}