[Tutor] When to use classes

Neil Cerutti neilc at norwich.edu
Tue Aug 22 10:44:33 EDT 2017


On 2017-08-19, Cameron Simpson <cs at cskk.id.au> wrote:
> Personally, I do this a lot. It does cost some time, but it
> also has advantages. You get to explore the problem space from
> the point of view of your own needs, and you get insight into
> the costs/benefits of various ways of doing things.

Sometimes I use classes simply because it provides a convenient
way to organize the project's functions.

This crops up sometimes when I'm translating some data into
another form. Every object translates into itself.

-- 
Neil Cerutti



More information about the Tutor mailing list