#object-oriented-design

[ follow ]
fromThepythoncodingstack
12 hours ago

And Now You Know Your ABC

Here's the task. I want to create a class to represent a track and field event held in a competition. This entry allows you to enter the raw results as reported by the officials-the athlete's bib number and the time they clocked in a race. It then computes the event's full results. There's more we could add to make this class more complete. But I won't. You can create a list of athletes that are competing in the track and field meeting:
Running
Java
fromHackernoon
3 years ago

Refactoring 029 - How to Replace NULL With Collection | HackerNoon

Replace nullable optional attributes with empty collections to eliminate null checks and leverage polymorphism.
[ Load more ]