Quite a few times I find the need to try out small snippets of code, like string manipulation.
Creating a new class for this is a pain. Fortunately Eclipse provides an easy way
to do this. All you have to do is create a scrapbook (File > New > Scrapbook
Page) and try out your code here.
The scrapbook has syntax highlighting and code completion. This lets you execute snippets
and see the results or even inspect the results. This is a big time saver.