Skip to content

Naming of classes line, circle, polygon, etc. #52

Description

@tobydriscoll

There is some reason for caution when it comes to the classes line, circle, disk, polygon, and ellipse, namely that these are very common and generic names that easily clash with user choices. The options I see are:

  1. Ignore the problem. Except that you really can't with line, because that's a built-in.
  2. Put closedcurve and region classes in the +cmt naming scheme.
  3. Prefix these class names with a "z" (as in complex).

My approach in the early version was to use number 3 with the line class only, and leave the others naked.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions