Problem: I'm writing a pile of Java code and want a quick way to mark some bit of code as incomplete, but I also want it to compile so that I can mess with the parts that are working!
Solution:
static <T> T todo(String message) { throw new RuntimeException("TODO: "+message); } public static void main(String[] args) { System.out.println("Hello, world!"); todo("Decide what this program should do and write it."); }