From: Ross Bamford Date: 2005-12-06T11:57:39+09:00 Subject: Re: injecting dynamic methods into a class On Tue, 06 Dec 2005 02:10:51 -0000, Trans wrote: >> ... singleton methods, or adhoc methods (my new prefered > term). I know I'm new, but humour me if you will ? Firstly, what's wrong with 'singleton'? It seems to me that it fits well, and makes the usage obvious to the reader (well, me, but I assume others too?). Secondly, 'Ad-hoc' seems to be a really odd choice to me. I am aware that it can be taken to mean 'Specific to a given problem', but it is also defined along the lines of 'impromtu', 'temporary' or 'disorganized'. Science uses it to mean a quick fix for a flawed theory. Upon seeing the word ad-hoc I tend to imagine 'jury rigged' - stuck together with duct tape to last us out the storm. Indeed, someone given to 'adhocism' (IMHO an awful word) exhibits 'the tendency to use temporary, provisional, or improvised methods to deal with a particular problem'. I wouldn't want my solutions to be seen as 'temporary' or 'provisional', whether tailor-made or otherwise. I'm sure this is an ongoing debate, and I don't want to tread on any beliefs, but I just thought I'd offer a perspective from a fresh pair of eyes. Is there a serious movement to replace 'singleton'? -- Ross Bamford - rosco@roscopeco.remove.co.uk "\e[1;31mL"