Skip to content

Conversation

@shu1513
Copy link
Owner

@shu1513 shu1513 commented Nov 3, 2023

No description provided.

app.py Outdated
def __init__(self, name, location, availabilities, price):
self.name = name

class User:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's not add baseclass for User yet. There is a powerful rule in programming: YAGNI.
https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it

@shu1513
Copy link
Owner Author

shu1513 commented Nov 3, 2023 via email

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.

3 participants