3 ms·
I swear I remember once seeing a library that enabled this by wrapping the first object: Foo(user).get_balance().credit_amount() Maybe with an additional .get(
by Izkata 3y ago
I swear I remember once seeing a library that enabled this by wrapping the first object: Foo(user).get_balance().credit_amount()
Maybe with an additional .get() at the end to unwrap it? Though I imagine a dynamically-created class could avoid that.