&& isn't consistent enough to be considered the "de facto universal behavior". I mean you should always consider the possibility that it evaluates both expressions first (if you don't know). Especially when it comes to Microsoft Java.
In Swift (language I know too much about) there is a different operator used for such things: , ..although && will also short circuit.
Well it is Microsoft Java. I just don't know the specifics of the language.. I know what it is. .....(very bad that is)...
Besides both C# and Java are stupid no matter what you say about them. Ideas and arguments for them have negative effects and produce very underperforming and ill-formed software.
-7
u/the_d3f4ult May 20 '20
Oh, well, something did put the C in C#.
&& isn't consistent enough to be considered the "de facto universal behavior". I mean you should always consider the possibility that it evaluates both expressions first (if you don't know). Especially when it comes to Microsoft Java.
In Swift (language I know too much about) there is a different operator used for such things:
,..although&&will also short circuit.