Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class Template #102

Closed
brannondorsey opened this issue Aug 23, 2014 · 1 comment
Closed

Class Template #102

brannondorsey opened this issue Aug 23, 2014 · 1 comment

Comments

@brannondorsey
Copy link
Member

I'm not absolutely convinced that our Class template is the way to go. Right now we are abstracting

class Blah {

public:

};

Into simply:

Blah() {

}

Public member variables that are then defined above the constructor. We should do some thinking as to wether this abstraction is helpful or confusing.

brannondorsey added a commit to brannondorsey/ofSketch that referenced this issue Aug 26, 2014
@brannondorsey
Copy link
Member Author

Creating a new class now generates this template:

class MyClass{

public:

    MyClass(){

    }

};

Example projects have been updated to accommodate this change.

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

No branches or pull requests

1 participant