Click here to Skip to main content
15,883,925 members

Comments by Delashmate (Top 8 by date)

Delashmate 13-Dec-11 4:14am View    
Deleted
This tip allows you to understand better the abstraction of LINQ,
I agree with you, that you can't imply value from it directly
Delashmate 7-Dec-11 7:20am View    
Deleted
Who said we have performance problem?!

PREMATURE OPTIMIZATION - Come on, do it!
Do it now!
It feels sooooo good.
Delashmate 15-Nov-11 2:47am View    
Deleted
Maragos thanks for your comment
Delashmate 9-Nov-11 8:41am View    
Deleted
Ok, thanks for your comments :)

By the way in case there is a need to iterate the result in another layer, I think it will be better to omit the toList() method, and use the deffer execution behavior
Delashmate 9-Nov-11 8:17am View    
Deleted
Who said I need to iterate through the "bestStudents" in the same place I need to filter it?!

maybe another layer will iterate over the result? such as api consumer, or bl layer?

In case I need to iterate the result in the same place I need to filter it you are correct, I am replacing the if,
but otherwise I am replacing both (if and foreach) with LINQ