Home | About | Partners | Contact Us

SourceForge Logo

Quick Links
Home
News
Status
Building XL
XL Mailing List

Understanding XL
Conceptual overview
XL examples
Inside XL
Concept Programming

In depth
Browse GIT
Bugs
SourceForge Info
Contact

Other projects
GNU Project
The Mozart Project

XLR: Extensible Language and Runtime

The art of turning ideas into code

Concept Programming Metrics

Prev: The Concept Programming Process

Up

Next: syntactic noise

Concept programming suggests a few metrics to identify if the process has been applied correctly and if the mapping from the problem space to the code space is satisfactory:

  1. The syntactic noise measures the quality of the visible representation of the code (most often a sequence of characters known as the "source code").
  2. The semantic noise measures the quality of the non-visible aspects of the code, notably how it relates to the underlying concepts it represents.
  3. The bandwidth measures how much of the problem space is covered by a particular representation.
  4. The signal/noise ratio measures how much of the code is really useful to solving an actual problem from the problem space (as opposed to some form of artificial complexity).

The analogy to signal and music is deliberate. Much like in engineering, reducing noise is a worthy objective, but eliminating it entirely is in general impossible. Much like in music, what is noise to one person can be music to another.

Prev: The Concept Programming Process

Up

Next: syntactic noise


Copyright 2008 Christophe de Dinechin (Blog)
E-mail: XL Mailing List (polluted by spam, unfortunately)