Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re: Style geekcode

by Adze (Acolyte)
on Mar 26, 2002 at 12:39 UTC ( #154378=note: print w/replies, xml ) Need Help??

in reply to Re: Style geekcode
in thread Style geekcode

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? ;-)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://154378]
[Corion]: ambrus: Oh - that one would be much harder to automate... The SYNOPSIS section should mostly be a runnable program IMO, but I write only small snippets in my documentation for single functions/methods, and creating the appropriate environment for ...
[Corion]: ... those in an automated fashion seems somewhat hard to me. Although it should do wonders for the test coverage ;)
[haukex]: Corion: I once wrote an automated thingy for that here
[haukex]: here's the code that uses it
[Corion]: haukex: Hmm - maybe I can reuse that. I see that it uses Pod::Parser, which I think was one of the more fragile parsers. But if I'm statically (re)generating the tests instead of doing that "live" on the client/tester machines, that's a much smaller...
[Corion]: ... problem space than trying to cater to all versions of Pod::Parser(s)
[haukex]: I think you're right, I think Pod::Simple is the preferred parser now

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-02-27 12:22 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.