101 reputation
5
bio website mzid.eu
location Slovenia
age
visits member for 3 years, 6 months
seen Oct 16 at 21:26

Your average CS student.


Sep
24
awarded  Autobiographer
Oct
14
awarded  Supporter
Aug
11
awarded  Editor
Aug
11
revised Is micro-optimisation important when coding?
someone changed && to || and i like it the way i typed it first. also his argument does not make any sense!
Feb
16
comment Is micro-optimisation important when coding?
@MarkBooth I have to agree with phkahler here, none of these functions should have side effects! The order of condionos in an if statement must not have an effect on the outcome of the program. My example would be better written as if (x<100 && isPrime(x)), just to make it more clear.
Aug
10
comment Is micro-optimisation important when coding?
@BozKay knowing more and learning, is always important. Lets say that the other condition is something like nLogn. If you don't normally think of this stuff, then you probably wont think of it when it would really matter.
Aug
9
awarded  Nice Answer
Aug
8
awarded  Teacher
Aug
8
answered Is micro-optimisation important when coding?