Just wondering if it is possible, by some loophole, to define a method name that ends in a colon. The purpose it to make things look like this:
mymethod: arg1,arg2,arg3
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is technically possible to define a method with that name, but you can’t call it like that because of syntax rules. (The colon is considered a different token.) You would have to do
send('mymethod:', args), which defeats the purpose.