His work isn't like Terry Pratchett but I find that there is a commonality in their cleverness. Still can't get over Pratchett's 'ideon' (a fundamental particle that when it strikes the brain, creates an idea; hilarious!) or that weird story of Lem's where an abandoned traveler gene-chemical engineers a sapient civilization to build himself a ship so he can fly back.