|
-
Apr 24th, 2015, 02:48 AM
#3
Thread Starter
Frenzied Member
Re: Refactor select-if statement with lot of duplicate code
 Originally Posted by ident
So is there any thing wrong with your code?
Well it works, but code that works is not always good code...
Like I stated
But that doesn't feel too good either. I dont really like logic in properties, plus we want to keep the data as generic as possible since we might decide to replace the current plot component, and that might not have these pesky booleans that control it's state (not a primary requirement though). It also feels like the code in the Show1 and Show2 properties could be refactored further?
Cheers
/Henrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|