-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Solution Software Engineers #1168
base: master
Are you sure you want to change the base?
Conversation
app/main.py
Outdated
def __init__(self, name: str) -> None: | ||
BackendDeveloper.__init__(self, name) | ||
FrontendDeveloper.__init__(self, name) | ||
self.skills = ["Python", "SQL", "Django", "JavaScript", "HTML", "CSS"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__init__
redundant here
app/main.py
Outdated
class FrontendDeveloper(SoftwareEngineer): | ||
def __init__(self, name: str) -> None: | ||
super().__init__(name) | ||
self.skills = ["JavaScript", "HTML", "CSS"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.skills = ["JavaScript", "HTML", "CSS"] | |
self.skills += ["JavaScript", "HTML", "CSS"] |
app/main.py
Outdated
class FullStackDeveloper(BackendDeveloper, FrontendDeveloper): | ||
|
||
def __init__(self, name: str) -> None: | ||
super().__init__(name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There no need to have this method here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.