Oodikone has a lot of numeric types that are difficult to remember and have to be constantly referenced. They have now been properly documented but TypeScript will make dealing with them a lot easier.
Let's use enums to refer to these numeric types. This will eliminate the need to constantly reference documentation or existing code and allow quickly choosing from a list of predefined values. It will also get rid of unnecessary comments to explain what these magic numbers mean. Using enums will also make refactoring easier if the values ever change or new options are added.
Oodikone has a lot of numeric types that are difficult to remember and have to be constantly referenced. They have now been properly documented but TypeScript will make dealing with them a lot easier.
Let's use enums to refer to these numeric types. This will eliminate the need to constantly reference documentation or existing code and allow quickly choosing from a list of predefined values. It will also get rid of unnecessary comments to explain what these magic numbers mean. Using enums will also make refactoring easier if the values ever change or new options are added.
Progress:
studyright
)studyright
)element_details
)sis_study_right_elements
)semester_enrollments
)credit
)student
)For example, this
would become