multiply-org / multiply-core

The core functionality of the MULTIPLY platform
2 stars 5 forks source link

Do we really need to wrap a function with a class and a static method? #10

Closed jgomezdans closed 6 years ago

jgomezdans commented 6 years ago

In reproject, the function is wrapped around in a class and is decorated with a static method. In Python, you'd just put the function definition without the class boiler plate, although this might not be the convention in other languages (Java, c#). Is there a specific reason for this?

TonioF commented 6 years ago

Not really. It's just that I like to have everything in classes. In this case it is not necessary (yet), so replacing the class and method with a function is surely enough.

TonioF commented 6 years ago

Has been replaced by a function.