On 2/5/12 9:57 AM, Jose Armando Garcia wrote:
On Sun, Feb 5, 2012 at 1:44 PM, Timon Gehr<[email protected]>  wrote:
immutable variable = (boolean_condition) ? {
    // initialize based on boolean_condition being true
}():{
    // initialize based on boolean_condition being false
}();



Cool, now I want some syntactic sugar ;). I write this all the time!

Make it a function.

Andrei

Reply via email to