If you are using Scala 2.10, a good option is to use the recently introduced notation ??? . This way your code will be compiled even if the function is not yet implemented.
Of course, there is a better way, but this one will still be better than commenting on the code.
As suggested by Jesper, can you still implement ??? if you are working with previous versions of Scala:
def ??? : Nothing = throw new Error("Not implemented")
Christopher chiche
source share