beginner35 minby DevFox

When to use classes, and when functions and objects are enough

Learn when a class is worth it: a function for an answer worked out from its arguments, a plain object for data you read and save, and a class for data kept between calls under rules. Then see why TaskKit’s tasks stay plain objects.

  • TypeScript
  • Fundamentals
When to use classes, and when functions and objects are enough. Read this lesson at .