Correct, I mean value types (or objects) that have value semantics and support
operator overloading.
> On Nov 19, 2014, at 06:31, Katelyn Gadd wrote:
>
> You don't mean typed objects, right? You mean value types, pass-by-value?
>
> -kg
>
>> On 18 November 2014 02:36, Benjamin (Inglor) Gruenba
Christian Mayer wrote:
Am 18.11.2014 um 06:50 schrieb Biju:
> Just want to add, usually in corporate world a .Net or Java developer
> is who code JavaScript. The code above may be little complex for them.
What I actually sometimes really miss in JavaScript (having a big C++
background) are d
I have wanted something similar to this. But I think of it as having
RAII in JS.
So what I would like is:
function f() {
let x = g();
finally { x.cleanup(); }
let y = h();
finally { y.cleanup(); }
doStuff(x, y);
}
You can sort of do this with try..finally:
function f() {
let x, y;
Am 18.11.2014 um 06:50 schrieb Biju:
> Just want to add, usually in corporate world a .Net or Java developer
> is who code JavaScript. The code above may be little complex for them.
What I actually sometimes really miss in JavaScript (having a big C++
background) are destructors.
(I haven't check
Hey, I know ES7 value types are not yet done and are definitely not ready
for prime time but I'd really like to play with them to get a hang of the
API.
I'll be working on a library that will likely take a while to build and
will greatly benefit from them and I want to think about the API.
Are th
5 matches
Mail list logo