To resist dogma and accept uncertainty, think like a pragmatist