Nice article about Single Responsibility and code for class Employee is refactored ...
but i disagree with AttendanceTracker having has a relationship with Employee object...
and operation on employee object doesnt require another class but in fact there is a need of util or in functional paradigm we need functions to perform operation on employee object ...in my opinion
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.