On Thu, May 28, 2015 at 9:01 AM, nwellnhof <[email protected]> wrote:
> GitHub user nwellnhof opened a pull request:
>
>     https://github.com/apache/lucy-clownfish/pull/23
>
>     CLOWNFISH-50-obj-method-to-inert-v2

+1 to merge

> Second version of the pull request that adds type-safe wrappers for
> `get_class`, `get_class_name`, and `is_a` for each class.

Looks good!

> I chose lowercase names like `Str_is_a` because I find them easier to read
> and write. I'm aware that this could result in a name clash if someone
> decides to implement an inert function like `is_a` in a class. But this
> would be a really bad idea anyway, so I don't think it's a problem.

Fair enough.  I'm not entirely satisfied with this approach, but I wasn't
satisfied with own suggestion either.

Marvin Humphrey

Reply via email to