Andrew Hannigan
10/04/2021, 8:53 PM@task
decorator, or as classes by subclassing Task
. In general when programming in python and presented with these options, I typically reach for the subclassing option. I find I can think about problems at a higher level with OOP, easier to build up complex components from simpler ones, cleaner abstraction, etc. However I do find it’s a bit clunky with at times when building flows. Is it recommended to avoid the subclassing approach and use a functional approach instead when possible?Kevin Kho
10/04/2021, 8:59 PMAndrew Hannigan
10/05/2021, 3:38 PMKevin Kho
10/05/2021, 3:42 PMAndrew Hannigan
10/05/2021, 4:32 PMKevin Kho
10/05/2021, 4:53 PM