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

Pages: 1-

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-02 3:59

Go is the eating ass of proglangs

Degenerate and filthy in theory, but made desirable by the ease of use to the point that you think everyday about eating an ass.

Name: Anonymous 2020-08-02 9:51

JavaScript is the raccoon that consumes everything.

Object.prototype.__noSuchMethod__
Allows a function to be defined that will be executed when an undefined object member is called as a method.

Name: Anonymous 2020-08-02 9:59

>>3
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Name: Anonymous 2020-08-02 14:31

>>4 Its the idea that such thing can exist at all

Name: Cudder !cXCudderUE 2020-08-03 5:04

>>3
That is disturbingly Pythonic.

Name: Anonymous 2020-08-03 11:54

>>6 Nah. This is.
from __future__ import division

Name: Anonymous 2020-08-03 16:20

>>4
Just use the modern equivalent with Symbols

var obj = {}
obj[Symbol.noSuchMethod] = function(name) {
return 'hax my ' + name;
}

obj.anus(); // 'hax my anus'

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

Name: Anonymous 2020-08-04 13:05

>>9
Based and frozenpilled

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