Welcome Guest, Not a member yet? Register   Sign In
re-thinking function names or acts on service() and shared_service()
#1

(This post was last modified: 12-27-2016, 07:25 AM by takekoshi.)

Two functions, ``service()`` and ``shared_service()`` make somebody think that service class returns new instance typically. At first, it was right.
It is turned over by github issue #55. Now, Service class returns shared instance by default.

I think ``service()`` should return shared instance, but I cannot judge whether we should do or not do from now.
Reply


Messages In This Thread
re-thinking function names or acts on service() and shared_service() - by takekoshi - 12-27-2016, 07:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB