Raised This Month: $ Target: $400
 0% 

Help for a useful plugin?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 07-08-2010 , 18:30   Re: Help for a useful plugin?
Reply With Quote #9

Quote:
Originally Posted by SnoW View Post
You shouldn't use jumps( breaks, continues and returns ) as they just make the code harder to perceive and mess it up. You want to keep things simple and it's much easier to think that you eat if you'r hungry instead of if you'r not hungry you skip eating.
I know this discussion is already far away from this quote, but I have to say, what you're saying pushes coders to do workarounds instead of proper logic. Jumps are made to be used, they're part of the logic and if you can code you should understand them. I agree with not using gotos, but breaks and continues are fine features of repeat block logic. Code should be efficient without breaking design issues, not easy to read.
Seta00 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode