http://www.perlmonks.org?node_id=154220


in reply to Style geekcode

<person> <uniq><name>Drake Wilson</name><name>premchai21</name></uniq> <ccode type="perlstylecode"> I4t! On ;02S,>.<+><**><=>&&<and>++<gt>== B0 L1 C0 P0 N>e R1 Vl(en)c3a12p0(ha)r0d0 Hsw1 main-sub|{main}-sub|main </ccode> </person>

Gripe: some items should be more "officially" multi-choosable; for instance, see the last item in my code. Also, floating-point numbers are not the best way to go about doing combinations I think; what about "somewhere between 1 and 3"? And, for instance, 1.5 tends to be read as biased towards 1.

Replies are listed 'Best First'.
Re: Re: Style geekcode
by Adze (Acolyte) on Mar 26, 2002 at 12:39 UTC
    I dunno, I kind of like the floating-point idea. You could even write a style-comparison metric which would treat a style block as a point in n-dimensional space, and measure the distance between two hackers' styles in the standard Pythagorean way.

    Hell, you could even incorporate that into interviews if you were hiring people, to make sure you never hired someone whose style was radically different to your own ... any takers? ;-)