Which programming languages support constant methods?
- by Derek Mahar
Which programming languages other than C++ support the concept of a constant class method? That is, what languages allow the programmer to constrain a method in such a way that it is guaranteed not to change the state of an object to which the method is applied?
Please provide examples or references in your answer.