<@U6QF4BK4H> no. it’s perfectly fine to define ext...
# codingconventions
y
@joscha.alisch no. it’s perfectly fine to define extension functions for your own classes too, if the code is useful only in a limited context and is not worth cluttering the API with
👍 1
s
On the other hand, if it makes sense for the class to have a
sum
method I’d directly add it to it