Open robertswh opened 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.
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
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.