Ways of Thinking and Mathematical Practices