Skip to content

Layout in Restaurant? #8

@ntalbs

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.

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