I agree, sadness is not how I would describe depression. It's more like... a deep sense of apathy, emptiness and hopelessness with no apparent cause or end in sight.
Of course that mental state would hinder learning, you're missing all the brain signals and reward feedback to care about anything.