Skip to content

refactored to class - #1

Open
tyeshi181 wants to merge 5 commits into
masterfrom
tenzing-yeshi
Open

tyeshi181 wants to merge 5 commits into
masterfrom
tenzing-yeshi

Conversation

@tyeshi181

Copy link
Copy Markdown
Owner

No description provided.

@NickStrick NickStrick left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! Demonstrated The concepts really well.
just try and get in the midset of thinking about the relationships between classes, and what exactly each class needs in terms on attributes and methods/data.


// student class

class Student extends Instructor {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

student should be an extend Person no Instructor, because we dont want Student to have the attributes of Instructor, just those of Person.

Suggested change
class Student extends Instructor {
class Student extends Person{

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants