Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Rust is the katana of proglangs

Name: Anonymous 2020-08-01 7:56

Powerful and useful in in theory, but made unbearable by the fanbase to the point that nobody is taking it seriously.

Name: Anonymous 2020-08-04 6:12

>>8 that is unsupported, you have to use ES6 proxies instead.

obj = new Proxy({},
{ get : function(target, prop)
{
if(target[prop] === undefined)
return function() {
console.log('an otherwise undefined function!!');
};
else
return target[prop];
}
});
obj.f() ///'an otherwise undefined function!!'
obj.l = function() {console.log(45);};
obj.l(); ///45

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List