Re: RFC: Breaking existing Euphoria functionality

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> However ...
> 
>    DEF = (XYZ < ABC)
> 
> should be a sequence operation (then an assignment) because it is not in 
> the context of a conditional statement ('if', 'while' ...)

FWIW, I am firmly in the "must be written as 'DEF = sq_lt(XYZ,ABC)'" camp.
While I would hate to see it left as-is, I would even more hate to see mods
which mean that:
if <expr> then

is nowt like:
x = <expr>
    if x then

or:
f(<expr>)


The meaning of code should not be context-sensitive like this, imo.

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu