bpi-courses / introduction-to-rap

Introduction to Reproducible Analytical Pipelines (RAP) elearning course
0 stars 0 forks source link

Use of classes #5

Open robertswh opened 3 years ago

robertswh commented 3 years ago

Under Modular Code on The Practices page I read this as "writing classes is an important part of writing code well". I would say classes are optional, but that’s just my opinion. Maybe it's not implied, see what you think.

robertswh commented 3 years ago

Just checked the Duck book,

Individual pieces of logic are written as functions. Classes are used if more appropriate.

Up to you if you think it needs changing