On Sat, May 12, 2012 at 12:22 AM, Alexander Moskaliov wrote:
> 2012/5/12 Dmitri Ravazin
>>
>> Yes... That's just what I had in the RFC.
>
>
> Not at all. In RFC you use first expression in "for ... else" statement as
> condition for "else" statement.
>
>> if (some_very_expensive_and_ugly_looking_
2012/5/12 Dmitri Ravazin
> Yes... That's just what I had in the RFC.
Not at all. In RFC you use first expression in "for ... else" statement as
condition for "else" statement.
if (some_very_expensive_and_ugly_looking_calculation($array) < 0) {
}
I think it correct to use the second express
>
>
> Hey, I noticed you CC'ed internals, does that mean everyone on the
> list is getting this?
> Sorry, not entirely familiar with how these mailing lists work.
>
Yep. And at least for my part, I have no idea what RFC you guys are
talking about lol. ;P
--Kris
On Fri, May 11, 2012 at 2:33 AM, Alexander Moskaliov wrote:
>
> I think the main idea of this RFC: Run the code, if we had never entered
> in loop.
> In this case more sence to change "for .. else" condition to this:
> If second expression is equal FALSE before looping(but after run first
> expre
On Fri, May 11, 2012 at 8:33 AM, Alexander Moskaliov wrote:
> I think the main idea of this RFC: Run the code, if we had never entered
> in loop.
> In this case more sence to change "for .. else" condition to this:
> If second expression is equal FALSE before looping(but after run first
> express
I think the main idea of this RFC: Run the code, if we had never entered
in loop.
In this case more sence to change "for .. else" condition to this:
If second expression is equal FALSE before looping(but after run first
expression of course), we run "else" code.
By example:
for (exp1;exp2;exp3)