Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Need a biiiiiiiiiiiiiiiig favour Nightrider!
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2, 3, 4, 5, 6, 7
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: Need a biiiiiiiiiiiiiiiig favour Nightrider!
PostPosted: 07/25/2007 12:24 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:48 AM
Location: St Pete, FL
peace.gif
Trigger driven means that when an assignment is made to a variable, it triggers an event that launches elsewhere.  The triggers are generally removed from the source where it was triggered, so it can be difficult to follow, especially if you can't easily distinguish the triggers from normal code.  And one trigger could act like a domino affect triggering other triggers all completely removed from the code that originally started it.  That is quite different from Function driven code.  You can actually see the call to the function at the source, so it is much easier to follow...

Your friend may be new to this but he writes very complicated code, which isn't always a bad thing unless many others have to be able to follow it too...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Need a biiiiiiiiiiiiiiiig favour Nightrider!
PostPosted: 07/25/2007 5:16 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 7:48 AM
Location: Birmingham, UK.
greatbrE.gif
Aah right I think I've got it.

Nightrider wrote:
Your friend may be new to this but he writes very complicated code, which isn't always a bad thing unless many others have to be able to follow it too...


know what you mean  munky2
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Need a biiiiiiiiiiiiiiiig favour Nightrider!
PostPosted: 07/25/2007 4:52 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:48 AM
Location: St Pete, FL
peace.gif
I once was told to work on code that wasn't working.  I was able to convert over 700 lines of code into 3.  It was incredibly complicated to follow my code but it did work correctly.  I had to write about 700 lines of comments to describe what I was doing just in case someone else had to work on it later...

So complicated code isn't always bad, but it can be a real PITA for others who have to work on it...

Shocked
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Need a biiiiiiiiiiiiiiiig favour Nightrider!
PostPosted: 07/25/2007 5:21 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 7:48 AM
Location: Birmingham, UK.
greatbrE.gif
I guess Karlos didn't expect anyone else to work with the code though, which could be the reason why the codings not commented out  Sad
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Need a biiiiiiiiiiiiiiiig favour Nightrider!
PostPosted: 07/27/2007 4:32 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:48 AM
Location: St Pete, FL
peace.gif
That's probably true.  I once had a boss that told me to comment everything even if no one else will ever see the code.  My comments actually helped me to figure out what I was doing when I looked at the code later on after not seeing it for a long time.  So good coding practices are that you should always comment your code no matter what.  I'm sure that Karlos will discover that as he gains more experience...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Need a biiiiiiiiiiiiiiiig favour Nightrider!
PostPosted: 07/27/2007 5:14 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 7:48 AM
Location: Birmingham, UK.
greatbrE.gif
no doubt  banana
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Need a biiiiiiiiiiiiiiiig favour Nightrider!
PostPosted: 07/27/2007 9:48 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:48 AM
Location: St Pete, FL
peace.gif
wave  wave  wave  wave  wave
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: Previous  1, 2, 3, 4, 5, 6, 7
Page 7 of 7


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0537s (PHP: 74% - SQL: 26%) - SQL queries: 48 - GZIP disabled - Debug on