[Gambas-user] Is the &= efficient?

Cedron Dawg cedron at exede.net
Tue Mar 5 22:58:15 CET 2019


I'm sorry, I should have specified, I meant on a syntactic sweetness scale.


----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>
> Do you prefer
> 
> Inc x
> Dec x
> 
> or
> 
> x += 1
> x -= 1
> 
> ?
> 

No difference, it compiles to the same bytecode.

-- 
Benoît Minisini

----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----


More information about the User mailing list