Skip to content

Consider using a constructor for Pyramid #5

@mpmenne

Description

@mpmenne

Hey the code looks great. Nice job.

One suggestion would be to consider using a constructor for Pyramid that accepts row and column. Since those two attributes don't change over the life of a pyramid, they're great candidates for being included in a constructor. Furthermore, it would allow you to make you Pyramid object immutable (which in general is a good thing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions