Comments on The impressiveness of ugly hacks

  1. Reflection

    This is actually close to where a lot of new paradigms in programming languages is going, particularly in the areas of reflection. Although I don't think that Java allows viewing of the call stack, it is definitely possible to find out lots of type and signature information about anonymous objects. Others allow deeper interactions (and modifications) to be performed, including some modified kinds of C++.

    An interesting parallel is in the discussion of AspectJ, an aspect-oriented programming language. Just because the function has "debug" in its name doesn't mean that it's just useful (or wise to use) for debugging. http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20010087661_2001143786.pdf

Add your comments #

A comment body is required. No HTML code allowed. URLs starting with http:// or ftp:// will be automatically converted to hyperlinks.