Re: Classy logging for Classes

2006-06-22 Thread Yuval Kogman
On Thu, Jun 22, 2006 at 19:19:47 +0200, Szilakszi Bálint wrote: > I'm trying to collect ideas about how could be (optionally available) logging > added/implemented for classes, as in logging what methods are called at > runtime, the parameters they are called > with, etc. without embedding the w

Classy logging for Classes

2006-06-22 Thread Szilakszi Bálint
I'm trying to collect ideas about how could be (optionally available) logging added/implemented for classes, as in logging what methods are called at runtime, the parameters they are called with, etc. without embedding the whole logic in the methods themselves on a one-by-one basis. What I'm s

bind variable name to type

2006-06-22 Thread Daniel Hulme
Would it be useful to have a way of 'binding' a variable name to a given type, in a given lexical scope, such that every time a variable with that name is declared in that scope it gets to be of that type? What I'm thinking of is a bit like how in Fortran variables called n are automatically intege