Write the worst implementation of hello world you possibly can in an hour. That's it. Winner get's a prize.
A giant homemade elephphant pillow (seriously, I'm already jealous of the winner).
- A computer
- PHP ^5.6
- Composer
- A desire to inflict terrible code upon your fellow devs
- Decide wether you want to compete alone or as a team
- Fork this repo
- Clone the fork to your local machine
- Run
composer update
(to get PHPUnit) - Run
./vendor/bin/phpunit tests/HelloTest.php
and watch the test pass - Call forth the dark ancient ones. Let their arcane knowledge seep into your soul, forever dooming you to madeness (optional step, but it will give you an edge in this context).
- Write terrible code that passes the test
- Submit your code using either of the following
- Email (contact@barryosull.com)
- Twitter (@phpdublin, #worldworstphp)
- The PHPDublin team will spend 10 to 15 mins judging the entries, then we'll announce a winner.
This repo comes with a single test case. This testcase runs a simple php script, called "hello.php", that's it. You cannot change the testcase, but you can do whatever you want to hello.php. Anything goes. As long as it passes the test, it's good.
Pretty much anything.
While you're allowed to do anything you like, keep in mind that we need to be able to judge your code. This means we need to be able to read/understand it to some degree. Here are some tips.
- Don't purposely obfuscate
- Format the code so that's it at least readible
- Be pointlessly clever
- More design patterns == better
- Use whatever libraries you want, go wild with composer!
- Use infrastructure (s3, DBs, etc..), but if you do, you'llneed to prove it works on your machine (as we won't have that infra)