Used in a Sentence

subclass

Definitions, parts of speech, synonyms, and sentence examples for subclass.

Editorial note

The counterexample: if one subclass smells, leave it until there is a bug in that particular subclass.

Examples15
Definitions4
Parts of speech2

Quick take

A secondary class within a main class.

Meaning at a glance

The clearest senses and uses of subclass gathered in one view.

noun

A secondary class within a main class.

noun

(taxonomy) A rank directly below class.

verb

(transitive, computing) (in object-oriented programming) To create a subclass of (some class).

Definitions

Core meanings and parts of speech for subclass.

noun

A secondary class within a main class.

noun

(taxonomy) A rank directly below class.

verb

(transitive, computing) (in object-oriented programming) To create a subclass of (some class).

noun

(object-oriented programming) An object class derived from another class (its superclass) from which it inherits a base set of properties and methods.

Example sentences

1

The counterexample: if one subclass smells, leave it until there is a bug in that particular subclass.

2

The species properties (so map returns the right thing when you subclass Array for example), is even more complex.

3

The fact that subclassing Object, vs subclassing null, vs no subclass will be a lot of fun to understand.

4

The base class is contracts, everything else is a subclass on top of that.

5

An example can be in OO, if a base class has a bad design, don't add yet another subclass to make a new feature.

6

In es6 it's finally possible to properly subclass internal types, it properly separates Class properties and prototypes, and it allows users to extend arbitrary classes.

7

Later when bool was introduced it was a subclass of integers.

8

I then change it to a subclass, for example to a mailer stream.

9

>So you have to be careful when dealing with forking and databases, which has lead us to subclass multiprocessing.

10

As for.call - native promises let you subclass them.

11

Sadly, because of the names involved (subclass, etc), I doubt that any judge without specific programming knowledge would rule that subclassing isn't automatically derivative.

12

The fact that I can subclass Function is a bit absurd.

Quote examples

1

Moreover, when properties of a subclass change, it is difficult to find and modify all the affected code segments." It's very interesting to me that there is such wide disagreement here on which of these two patterns represents better design.

2

> So what if, whaaaat if, we made a little box called Customer (call it a “class,” as in the taxonomical sense, like a Customer is a subclass of the species human, which is a subclass of mammal, etc.), and we put the data and methods relating to customers into that box.

3

"True" and "False" as aliases for integer 1 and 0 were added in 2002, and the actual boolean type -- implemented as a subclass of int since that got automatic compatibility with existing code using integer values -- was added in 2003.

Frequently asked questions

Short answers drawn from the clearest meanings and examples for this word.

How do you use subclass in a sentence?

The counterexample: if one subclass smells, leave it until there is a bug in that particular subclass.

What does subclass mean?

A secondary class within a main class.

What part of speech is subclass?

subclass is commonly used as noun, verb.