Hacker News new | ask | show | jobs
by pacala 2410 days ago
Hopefully only the specific Java incantation. Other languages have different syntax, so arguably they are not Java.

    Java: public String concat(String str)

    Javascript: String.prototype.concat ( [ string1 [ , string2 [ , … ] ] ] )

    Python: def __add__(self, *args, **kwargs)

    C++: function <string> std::operator+ (string)