Skip to content

Python change#1

Open
shu1513 wants to merge 3 commits intomainfrom
python_change
Open

Python change#1
shu1513 wants to merge 3 commits intomainfrom
python_change

Conversation

@shu1513
Copy link
Copy Markdown
Owner

@shu1513 shu1513 commented Nov 3, 2023

No description provided.

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

class User:
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants