-
Notifications
You must be signed in to change notification settings - Fork 40
Sara Nilsen - Space #40
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
base: master
Are you sure you want to change the base?
Conversation
HotelSection 1: Major Learning Goals
Section 2: Code Review and Testing Requirements
Section 3: Feature Requirements
Overall Feedback
Additional FeedbackGreat work overall! You've built your first project with minimal starting code. This represents an incredible milestone in your journey, and you should be proud of yourself! I am particularly impressed by the way that you broke up functionality between your classes! Each class is responsible for a small piece that pertains to its data, and other classes use those methods! Also, you are very thoughtful about what goes in your before blocks! Nice! I do see some room for improvement around understanding how Here are the warnings your code produced: Code Style Bonus AwardsWas the code particularly impressive in code style for any of these reasons (or more...?)
|
| end | ||
|
|
||
| def include_date_range?(date_range) | ||
| date_range.start_date.between?(@start_date, @end_date) || date_range.end_date.between?(@start_date, @end_date) |
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.
Nice clear logic here!
| @@ -0,0 +1,31 @@ | |||
| require_relative 'hotel_controller' | |||
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.
This creates what's called a circular load, think about your code like a tree. Some things are going to be closer to the root, some things are going to be the ends of branches. This file is the end of a branch!
Assignment Submission: Hotel
Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.
Reflection