Skip to content

Make semesters object-oriented #82

@ZMYaro

Description

@ZMYaro

This is not something we necessarily have to do; just an idea.

What if instead of having a pile of functions in semesters.py we defined a Semester class that had those functions. Instead of passing floats (or strings or whatever else) around, we would pass Semester objects around, which could handle things like input validation and compensating for floating point errors.

We can discuss further at a future Webmaster Committee meeting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions