GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — Derivative code - Wikipedia

Not to be confused with Derivative work or Automatic differentiation.
icon
This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Derivative code" – news · newspapers · books · scholar · JSTOR
(April 2026) (Learn how and when to remove this message)

Derivative code or Chameleon code is source code which has been derived entirely from one or more other machine readable file formats. If recursive transcompiling is used in the development process, some code will survive all the way through the pipeline from beginning to end, and then back to the beginning again.

This code is, by definition, derivative code. The following procedure can be used to easily test if any source code is derivative code or not.

  1. Delete the code in question
  2. Build (or compile) the project

If the build process simply replaces the source code which has been deleted, it is (obviously) code which has been derived from something else and is therefore, by definition, derivative code.

If the build process fails, and a human needs to re-create the deleted code by hand, this is again, by definition, hand code.

The transcompilers and other tools which create derivative code, are usually themselves either in part, or entirely hand code.

References


Stub icon

This computer science article is a stub. You can help Wikipedia by adding missing information.

  • v
  • t
  • e
Retrieved from "https://en.wikipedia.org/w/index.php?title=Derivative_code&oldid=1349748707"
Categories:
  • Computer programming
  • Computer science stubs
Hidden categories:
  • Articles with short description
  • Short description matches Wikidata
  • Articles lacking sources from April 2026
  • All articles lacking sources
  • Use dmy dates from January 2022
  • Use list-defined references from January 2022
  • All stub articles
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.