Good to see that Bjorn has a sense of humor.
- Josiah
路路路
John Meisner <jmeisnerlist@sift.info> wrote:
On Sunday 08 January 2006 10:34 pm, Josiah Carlson wrote:
> Ben De Luca <bend@bedel.mine.nu> wrote:
> > > In the root Python standard library path for Python version 2.4
> > > (all .py
> > > files in /Lib and no subpaths on Windows 2k), there are 4907
> > > function or
> > > method definitions. Of those, only 17 are >= 26 characters long. The
> > > average length of function/method definitions is 9.27 characters. The
> > > standard deviation is 4.56 characters.
> >
> > These are pretty dodgy statistics, its hard to assume a bell curve
> > there when you have that names must be at least 1 character long
> > floor effect. Though i would have to go and find a stats book that
> > did have valid statistics.
>
> I'm curious as to what kind of semantic meaning we would want out of 0
> or fewer characters in an identifier...His paper, first published in the Journal of Object-Oriented Programming
(April 1, 1992), is available online from his web site:
http://public.research.att.com/~bs/whitespace98.pdf