ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Sapego <isap...@apache.org>
Subject Re: Thin Client lib: Python
Date Wed, 25 Jul 2018 15:46:21 GMT
Well, at least name should be changed, IMO, as the API function name
should say what we do, and not how we do it. For example, cache_id()
looks better to me than hashcode().

Best Regards,
Igor


On Wed, Jul 25, 2018 at 6:22 PM Dmitry Melnichuk <
dmitry.melnichuk@nobitlost.com> wrote:

> Dmitriy,
>
> The short answer is: Python client uses hash code (or any cache
> identifier) instead of Java Cache object, since such an abstraction is
> not necessary in Python.
>
> As for why (IMO) Cache object may be needed in Java, but not in Python −
> the main reason is the difference in typing systems of both languages.
>
> On 07/25/2018 06:52 PM, Dmitriy Setrakyan wrote:
> > Dmitriy,
> >
> > To be honest, I got a bit lost in such a big email. Can you tell us
> briefly
> > - why do we not need the hash code on API in Java and we do need it in
> > Python?
> >
> > D.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message