« first day (1976 days earlier)      last day (3163 days later) » 

23:04
This is @EᴀsᴛᴇʀʟʏIʀᴋ right now:
I remember trying to log in to the original Command and Conquer servers a year or two back and feeling like I was knocking on the boarded-up gates of a ghost town.
2
@Downgoat repl still down...
ok
i dont have time to make the auto deploy script >_> so itll be down for a while
if (!(OPERATOR instanceof CheddarFunction)) {
    return "THATS NOT A FUNCTION YOU IDIOT";
}
i make best error messages
@Downgoat will lambdas be an instance of CheddarFunction?
23:19
yes
also, what about letting people overload calling on objects to allow them to be used as functions?
you mean a function
under what circumstance would you call a not-function as afunction
that's just dumb
there are many reasons
if you really want you'll be able to make a custom literal
taking one example, what about a symbolic math library
23:21
how about a function with properties
@CᴏɴᴏʀO'Bʀɪᴇɴ does he allow that?
@Maltysen ?
@Maltysen Idk, does @Downgoat?
im very confused what
functions with properties
23:22
@DrGreenEggsandIronMan Oh my, this means that Cueball is playing Portal 2 now
Jeez, I can't believe that was 5 years ago
@Downgoat well, i'm just saying that sometimes you want to have a regular object, like, say a math function, and let it be callable.
Yeah
you can't define it as a regular function, because it isn't one
wait what
can you give an example
math("3+4"); math.add(3,4)
maybe?
23:23
yeah, i don't see what's wrong with that, you can do that
func math(str) { ... }
math.add => (a, b) a + b;
84
Q: Python __call__ special method practical example

mohi666I know that __call__ method in a class is triggered when the instance of a class is called. However, I have no idea when I can use this special method, because one can simply create a new method and perform the same operation done in __call__ method and instead of calling the instance, you can ca...

^ and entire SO post of examples ^
@CᴏɴᴏʀO'Bʀɪᴇɴ that also looks like what a class should be
I'm just giving an example
@Maltysen you're describing it backwards
23:36
cheddar> "foo".slice(1,2)
Runtime Error: THATS NOT A FUNCTION YOU IDIOT
excuse me chedr
Downgoat created a language so he could talk to himself
@Quill that's what chatgoat's for
0
A: Sandbox for Proposed Challenges

Abbathqwerty Cipher code-golf A qwerty cipher is a standard substitution cipher where each character from plaintext maps to a character in cipher text. The difference from classical substitution ciphers is that you use a keyboard layout (in this case, the standard us layout shall serve) to encrypt i...

Huh, I just noticed that OpenGL isn't actually handling alpha.... You'd think I would have noticed this considering I've been using this sprite with a transparent background for over a year

« first day (1976 days earlier)      last day (3163 days later) »