http://img35.imageshack.us/img35/1700/dsc02096ld.jpg
sysadmins party
ent1ty wrote:success is a matter of concentration and desire
at a cost measure in computer resourcesButler Lampson wrote: all problems in Computer Science can be solved by another level of indirection



///@todo: this is a hacky fix, fix the hacky fix to fix the problem which is of causing
ent1ty wrote:success is a matter of concentration and desire
at a cost measure in computer resourcesButler Lampson wrote: all problems in Computer Science can be solved by another level of indirection

ChaiRuiPeng wrote:world will never know...
Lambda wrote:Geomaster wrote:I personally like this piece of code:
- Code: Select all
void Woman::toBathroom()
{
while (true) { }
}
^^
This one is better![]()
- Code: Select all
void CWoman::InitBathroom()
{
CWoman* pFriend = 0;
CWoman* pHuman = CBaseHuman::FindNextHuman( EHT_GIRL );
while( pHuman )
{
if( pHuman->IsFriend( this ) )
{
pFriend = pHuman;
break;
}
pHuman = CBaseHuman::FindNextHuman( EHT_GIRL );
}
while( true )
{
if( pFriend )
pFriend->ProcessMisteriousThings();
ProcessMisteriousThings();
}
}
void CWoman::ProcessMisteriousThings()
{
//! Who knows...
}

IPlatformAnimatorVisualDebugger::getAnimator()
ent1ty wrote:success is a matter of concentration and desire
at a cost measure in computer resourcesButler Lampson wrote: all problems in Computer Science can be solved by another level of indirection

ChaiRuiPeng wrote:tonight i feel i dodged a bullet![]()
look at this method
- Code: Select all
IPlatformAnimatorVisualDebugger::getAnimator()
well IPlatformAnimatorVisualDebugger is kind of an injective class, draws lines to oultine animation paths, dervied from ISceneNode. good thing i made it getAnimator() and not getAnimators(), since that is an irrlicht method and could cause mayhem.. when some irrlicht internals call that...![]()
i dont know how thats funny but i laughed creepy when i realized i should make that method name more specific to my class. now off to go eat breakfast.. or a midnight snack... or whatever time it is..
EDIT: probbly good time for sleep too

bool Me::WakeUp()
{
if(m_bladder->IsFull())
GoPee();
WashFace();
return true;
}
kazymjir wrote:I see that not only I dream about code
Radikalizm wrote:kazymjir wrote:I see that not only I dream about code
I've actually solved some really nasty bugs in my dreams, and amazingly enough the fixes used in the dream mostly work in real life too
ent1ty wrote:success is a matter of concentration and desire
at a cost measure in computer resourcesButler Lampson wrote: all problems in Computer Science can be solved by another level of indirection

Users browsing this forum: No registered users and 1 guest