Skip to content

Get rid of global instances #24

@mschwartz

Description

@mschwartz

Console class should be static/namespace.

console.print should be Console::print.

Other classes might need to be instantiated via operator new.

Everywhere.

Not just console, but every class that has a global instance.

The reason is that you cannot control the order of instantiation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions