Talk:Short-circuit evaluation: Difference between revisions
Content added Content deleted
(→Compiler optimisations?: Some cnfuso the example.) |
(→Compiler optimisations?: Explain if possible.) |
||
Line 77: | Line 77: | ||
end if |
end if |
||
Anyway, the question remains: should there be some mention of short-circuitry in the motivation for establishing the behaviour of the compiler for each language? [[User:Dinosaur|Dinosaur]] ([[User talk:Dinosaur|talk]]) 13:13, 1 May 2015 (UTC) |
Anyway, the question remains: should there be some mention of short-circuitry in the motivation for establishing the behaviour of the compiler for each language? [[User:Dinosaur|Dinosaur]] ([[User talk:Dinosaur|talk]]) 13:13, 1 May 2015 (UTC) |
||
:I think that for this task, if it is not a feature of the language then this should be noted, especially if it can legitimately become a feature of a compiler or is a feature of a popular compiler. If you know that you are depending on a feature of particular compilers/compiler optimisation settings then this should be stated. You can also do a nested-if solution for the general case. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 05:27, 2 May 2015 (UTC) |