Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Equivalency of Code

by paulbort (Hermit)
on Feb 07, 2005 at 21:32 UTC ( [id://428824]=note: print w/replies, xml ) Need Help??


in reply to Equivalency of Code

If you want to know if two pieces of code are functionally the same, you could write a test framework and if they both pass all the same tests, they are similar to the extent of your tests.

But that is impractical in the general case.

If you want to see how similar two source files are, zip them. This is done in plagiarism detection.


--
Spring: Forces, Coiled Again!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://428824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found