Post-Mortem Exams

If in reality there is no postmortem exam(ination), then has moral life and education not bern in essence a pointless effort?