View previous topic :: View next topic
|
Author |
Message |
naren_mcs
New User
Joined: 20 Mar 2005 Posts: 4
|
|
|
|
when we are using 88 Level no. we wil go for Evaluate most of the times. why we are not going for IF statement |
|
Back to top |
|
|
gorle_n4
New User
Joined: 11 Mar 2005 Posts: 8 Location: hyderabad
|
|
|
|
hi!
it depends on our logical thinking and comfort. as u know that evaluate is more efficient than if else statement. if we use if else we will be confused thats why most of the developers prefer evaluate i think so. |
|
Back to top |
|
|
therasith
New User
Joined: 02 Jan 2004 Posts: 52 Location: chennai
|
|
|
|
Hai,
If your are using Evaluate it is not a good programing style,to avoid evaluate is recommented.
Thanks
therasith |
|
Back to top |
|
|
learnmf
Active User
Joined: 14 Mar 2005 Posts: 123
|
|
|
|
Quote: |
when we are using 88 Level no. we wil go for Evaluate most of the times. why we are not going for IF statement |
Hi
Most of the time if we have more then 3 or 4 use of If stmt make the program more complicated.That why we use Evaluate.
thanks |
|
Back to top |
|
|
LlewellynNaicker
New User
Joined: 22 Mar 2005 Posts: 5
|
|
|
|
I think what learnmf is saying is correct it is better to use evaluate when do a condition statement for more than say 2 values if it is 2 values of less than use if. I think it makes the readibility and maintenence of the program much easier.
Regards
Lew |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
therasith,
You said
Quote: |
If your are using Evaluate it is not a good programing style,to avoid evaluate is recommented.
|
I would like to know which would be a better practice.
-Som |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
somasundaran_k wrote: |
therasith,
You said
Quote: |
If your are using Evaluate it is not a good programing style,to avoid evaluate is recommented.
|
I would like to know which would be a better practice.
-Som |
|
|
Back to top |
|
|
aabhas
New User
Joined: 22 Mar 2005 Posts: 2
|
|
|
|
Actually Evaluate is used to avoid nested if loops.
So its easy to understand the flow of program. |
|
Back to top |
|
|
|