Skip to content

Layout in Restaurant? #8

Description

@ntalbs

private final Layout layout;

Can you explain why layout is necessary in Restaurant class? My understanding is that Restaurant doesn't directly interact with Layout, but delegates its work to ReservationManager, which uses Layout internally. So, I think you can safely delete the field.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions