All the sources codes "Joke"page 8
JavaScript
August 02, 2014 am31 08:38
#204
#Christmas tree initializer
toConnect = []
toRead = [ ]
toWrite = [ ]
primes = [ ]
responses = {}
remaining = {}
C++
July 29, 2014 pm31 12:50
#192
class God // Okay this is going well
{
private:
static God* m_God; // Point to yourself, eh? Pretty narcissistic.
public:
God &getSingleton() { if(!m_God) { m_God = new m_God(); } return m_God(); } // Woah woah. Only one of you? Poor design.
World *createWorldFromNothing() { return WorldManager::makeNewWorld(); } // You didn't really create a world from nothing, God... you just borrowed it.
const bool wasItGood(World* world) { return true; } // DA FUCK God?! You didn't even check! It could be garbage for all you know! It's a pointer!
God() { ; }
~God() { ; }
};
God* God::m_God = 0;
int main(...)
{
World *world = God::getSingleton()->createWorldFromNothing();
while(God::getSingleton()->wasItGood(world)) // Dude. This goes forever. You know that right?
{
world->update();
}
return 0; // THIS NEVER CALLS. DA FUQ GOD.
}