Visual FoxPro (9.0)
This assessment applies the coupling account — coupling as access to a shared resource, and the coupling floor [1], [2] — and the knowledge-embodiment theorem [3]; the language is assessed against its official reference [4].
Snapshot Visual FoxPro (9.0) — released 16 October 2007 · lifecycle retired (the final version)
Family Visual FoxPro — shelf: Legacy and Retro
The language is retained for systems already written in it; new work in it is the exception. A shelf groups; it does not classify — the tags below carry every use, paradigm, and platform of this snapshot.
Trajectory FoxPro 1.0 (1984 — first xBase release) · 9.0 (16 October 2007 — assessed release; the final version)
Tags
Use — Application, Desktop, Data and statistics
Paradigm — Object-oriented, Imperative, Procedural
Lifecycle — Retired
Memory — Reference counted
Typing — Dynamic
Resources
The language’s official entry points, and the documents that name the release this page assesses. A link marked this release pins the document to Visual FoxPro (9.0); an unmarked link is the current reference for the language.
Landing page
Specification and reference
1 Assessment
This page assesses Visual FoxPro in five parts: core coupling — what the language’s own constructs force; ecosystem coupling — what the surrounding platform, tooling, and community cost; engineering readiness — whether the artifact can be reproduced, verified, observed, worked in quickly, connected to other languages, and governed openly; the profile — the unscored facts a score cannot express; and the scoring detail — the mechanism marks and the arithmetic behind every score. A ✅ bullet marks a construct that helps. A ⚠️ or ❌ bullet marks a cost; the scoring model does not price every cost named here.
Core coupling 63.4/100 · Ecosystem coupling 72.7/100 · Engineering readiness 27.5/100
1.1 Core coupling
1.1.1 Type
- ❌ A variable is loosely typed: A name holds a string, a number, or an object (T1)
- ❌ A macro substitutes text at run time:
&nameresolves a name when the line runs (T3) - ❌ There are no sum types (T4)
- ❌ There are no generics (T5)
- ❌ There are no namespaces: A procedure and a table share one project scope (T6)
- ❌ A field can be
.NULL.: The type does not carry the check (T10)
1.1.2 Construction
- ✅ A class has a constructor:
Initruns when the object is created - ❌ A public variable is global: A
PUBLICvalue is reachable from the session (C1) - ❌ A property is mutable by default (C2)
- ❌ One value, many names: user-defined functions receive parameters by reference by default (documented), and arrays alias across scopes (C6)
1.1.3 Memory
- ✅ The database is the runtime: A table, an index, and a cursor are part of the language
- ⚠️ A form’s object graph is the session’s memory: A large cursor is a sizing decision
- ❌ The undeclared class has no catch: ON ERROR catches statement errors; the runtime-level crash ends the session below the handler (Er6)
1.1.4 Error
- ❌
ON ERRORis the failure path: The handler is a procedure, and no signature states the failure (Er1) - ❌ An error can be ignored: The handler returns to the next line (Er3)
1.1.5 Concurrency
- ⚠️ A program is single-threaded: A long scan blocks the session
1.1.6 Platform
- ❌ A program runs on Windows through the VFP runtime: The runtime is a 32-bit Windows binary (P1)
- ✅ The database is abstracted by the cursor: A query fills a cursor and a scan reads it
1.1.7 Trade-offs (not coupling)
- The cursor is the unit of work: A query and a scan replace a general data layer
- The macro operator is the escape hatch: It makes a dynamic name cheap and unsafe
- The product is frozen: A program written in 2007 is the last version’s program
- The database and the form are one runtime: Deployment is a directory of DBF files
1.2 Ecosystem coupling
1.2.1 Performance
- ✅ A cursor is a local in-memory table: A query fills it and a scan reads it
- ⚠️ A row-at-a-time scan is the classic cost: A set operation is written by hand
1.2.2 Ecosystem
- ❌ The ecosystem is small and closed: The vendor stopped the product (Ec3)
- ❌ The product is proprietary: Microsoft owns the runtime and the IDE (Ec4)
- ✅ The data format is documented: A DBF table is readable by other tools
- ❌ A compiled program binds to a release: Microsoft lists .fxp as a compiled program and .fll as a Visual FoxPro library, ships updates as service packs per release, and states that a compiled provider’s requirements match the Visual FoxPro release it is built for [5], [6] (Ec8)
1.2.3 Evolution
- ❌ The product is discontinued: Support ended in 2015, and no successor accepts the source (V3)
1.2.4 Domain
- ❌ The domain is data-centric desktop software: A form over DBF tables (D1)
1.2.5 Learning
- ✅ The command language is small: A
SCANand aREPLACEstate the intent
1.2.6 Syntax
- ❌ The commands are English words:
SCAN,ENDSCAN,REPLACE(S1) - ✅ SQL is interchangeable with native commands
1.2.7 Testing
- ✅ The debugger steps through a program: Breakpoints and the call stack are in the IDE
1.2.8 Security
- ❌ The macro operator substitutes text: A name built from input is a code path (Q3)
1.2.9 Delivery targets
What ships from a producer to a consumer, and whether the interface across a release boundary is promised. Ec8 is present when one compiled target crosses with no promise.
| Target | Ships as | Crosses a producer boundary | Cross-release promise |
|---|---|---|---|
| .prg source | source | no | Source runs under the installed FoxPro release |
| .fxp program and .fll library | compiled | yes | no — Microsoft lists .fxp as a compiled program and .fll as a Visual FoxPro dynamic link library, ships Visual FoxPro updates as service packs per release, and states that a compiled provider’s requirements match the Visual FoxPro release it is built for [5] [6] |
1.3 Engineering readiness
1.3.1 Reproducibility
- ❌ A build is an executable assembled by the project manager (Y1)
- ❌ A dependency is a DLL and a registration (Y2)
- ❌ No contract the toolchain reads: the IDE opens the project it is pointed at, and no machine-read manifest validates dependencies or versions (Y18)
1.3.2 Supply chain
- ❌ A component is not signed (Y3)
1.3.3 Observability
- ❌ There is no tracing standard (Y5)
- ❌ There is no structured logging (Y6)
1.3.4 Feedback
- ✅ The Visual FoxPro IDE ships its debugger in the product. (Y13)
- ✅ The IDE builds and runs in seconds. (Y7)
- ✅ The IDE ships editing aids over the language. (Y8)
1.3.5 Interop
- ❌ There is no portable target: The runtime is Windows-only (Y10)
1.3.6 Governance
- ❌ One vendor governed the product (Y11)
- ❌ The specification is the vendor’s documentation (Y12)
- ❌ Semantics rest on the product documentation: the vendor’s manuals define the language as the shipped product behaves, and no conformance suite exists (Y17)
- ❌ No parser published: the syntax is documented per command, the compiler is closed, and no parser API ships (Y19)
1.4 Profile
Unscored, and kept separate from every score on purpose. The profile records what a mechanism price cannot express: what a running program costs, how well a coding model and an agent work in the language, and whether a safety-critical path exists.
1.4.1 Energy and cost
What this axis asks: what does a running program cost in energy and time?
- ⚠️ No independent energy or time benchmark for the language is recorded.
1.4.2 AI and agent readiness
What this axis asks: how well does a coding model and an agent work in this language?
- ❌ Sparse public training data: models write it less reliably than a mainstream language [7].
1.4.3 Safety certification
What this axis asks: is there a certified or standards-qualified path to a safety-critical system?
- ⚠️ No certified or standards-qualified path for safety-critical systems.
1.5 Scoring detail
1.5.1 Core coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Type | T1 |
dynamic no static check | language | ✅ | −15 |
T2 |
weak static | language | — | 0 | |
T3 |
dynamic/duck dispatch | language | ✅ | −8 | |
T4 |
no sum types | language | ✅ | −4 | |
T5 |
no generics | language | ✅ | −4 | |
T6 |
no namespaces | language | ✅ | −8 | |
T7 |
type erasure/reflection | language | — | 0 | |
T8 |
operator overloading | language | — | 0 | |
T9 |
inheritance required for polymorphism | language | — | 0 | |
T10 |
no null-safety | language | ✅ | −8 | |
T11 |
no module boundary | language | — | 0 | |
T12 |
no effect tracking | language | ✅ | −8 | |
T13 |
async/sync colouring | language | — | 0 | |
T14 |
unchecked foreign boundary | language | ✅ | −4 | |
T15 |
chars are encoding units | language | — | 0 | |
| Type cost | −16.9 (−59) | ||||
| Construction | C1 |
global mutable state by default | language | ✅ | −15 |
C2 |
no immutability by default | language | ✅ | −4 | |
C3 |
constructors coupled to allocation | language | — | 0 | |
C4 |
no constructor/validation | language | — | 0 | |
C5 |
unpinned collection order | language | — | 0 | |
C6 |
aliasing by default | language | ✅ | −8 | |
C7 |
undeclared control transfer | language | — | 0 | |
C8 |
no source-visible init order | language | — | 0 | |
| Construction cost | −7.7 (−27) | ||||
| Memory | M1 |
manual deallocation | runtime | — | 0 |
M2 |
GC non-deterministic pauses | runtime | — | 0 | |
M3 |
no RAII | language | — | 0 | |
M4 |
no ownership model | language | — | 0 | |
M5 |
uninitialized reads | language | — | 0 | |
M6 |
unchecked reinterpretation | language | — | 0 | |
Er6 |
uncatchable runtime fault | language | ✅ | −8 | |
M7 |
reference cycles leak | runtime | — | 0 | |
| Memory cost | −2.3 (−8) | ||||
| Error | Er1 |
no structured path | language | ✅ | −15 |
Er2 |
unchecked exceptions only | language | — | 0 | |
Er3 |
errors ignored/non-exhaustive | language | ✅ | −4 | |
Er4 |
no composable result type | language | — | 0 | |
Er5 |
no isolation unit for a fault | runtime | — | 0 | |
| Error cost | −5.4 (−19) | ||||
| Concurrency | K1 |
GIL/no parallel | runtime | — | 0 |
K2 |
shared mutable state default | language | — | 0 | |
K3 |
manual sync no race detection | runtime | — | 0 | |
K4 |
no structured concurrency | language | — | 0 | |
K5 |
no primitives | language | — | 0 | |
K6 |
thread-per-task cost | runtime | — | 0 | |
| Concurrency cost | 0 | ||||
| Platform | P1 |
cannot function outside one vendor/domain | context | ✅ | −15 |
P2 |
single-vendor but other uses | context | — | 0 | |
P3 |
legacy/discontinued platform | context | — | 0 | |
P4 |
poor domain fit | context | — | 0 | |
| Platform cost | −4.3 (−15) |
Core coupling score: 63.4/100 — 128 of the 350 inventory points are present, so the axis cost is 100 × 128 ÷ 350 = 36.6 and the score is 100 − 36.6. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.2 Ecosystem coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Performance | R1 |
interpreted no AOT/JIT | runtime | — | 0 |
R2 |
GC pauses | runtime | — | 0 | |
R3 |
JIT warmup | runtime | — | 0 | |
| Performance cost | 0 | ||||
| Ecosystem | Ec1 |
no package manager | context | — | 0 |
Ec2 |
fragmented tooling | context | — | 0 | |
Ec3 |
small/niche/discontinued | context | ✅ | −8 | |
Ec4 |
proprietary | context | ✅ | −8 | |
Ec5 |
platform-locked tooling | context | — | 0 | |
Ec6 |
monoculture | context | — | 0 | |
Ec7 |
legacy burden | context | — | 0 | |
Ec8 |
unpromised binary boundary | context | ✅ | −8 | |
Ec9 |
unpromised data boundary | context | — | 0 | |
| Ecosystem cost | −9.4 (−24) | ||||
| Evolution | V1 |
breaking changes | language | — | 0 |
V2 |
frozen | context | — | 0 | |
V3 |
discontinued | context | ✅ | −15 | |
V4 |
glacial standards | context | — | 0 | |
V5 |
silent default drift | runtime | — | 0 | |
V7 |
build-variant state space | context | — | 0 | |
| Evolution cost | −5.9 (−15) | ||||
| Domain | D1 |
domain/vendor lock-in | context | ✅ | −15 |
D3 |
framework forces architecture | context | — | 0 | |
| Domain cost | −5.9 (−15) | ||||
| Learning | L1 |
steep | context | — | 0 |
L2 |
large surface/multi-paradigm | context | — | 0 | |
L3 |
sparse docs | context | — | 0 | |
| Learning cost | 0 | ||||
| Syntax | S1 |
verbose | language | ✅ | −8 |
S2 |
inconsistent | language | — | 0 | |
S3 |
punctuation-heavy | language | — | 0 | |
| Syntax cost | −3.1 (−8) | ||||
| Testing | G1 |
weak tooling | context | — | 0 |
G2 |
poor debugging | context | — | 0 | |
G3 |
runtime-only errors | context | — | 0 | |
G4 |
no published monotonic clock | runtime | — | 0 | |
| Testing cost | 0 | ||||
| Security | Q1 |
memory-unsafe | language | — | 0 |
Q2 |
dynamic/weak typing risk | language | — | 0 | |
Q3 |
known vulnerability/injection | context | ✅ | −8 | |
Q4 |
silent integer overflow | language | — | 0 | |
| Security cost | −3.1 (−8) |
Ecosystem coupling score: 72.7/100 — 70 of the 256 inventory points are present, so the axis cost is 100 × 70 ÷ 256 = 27.3 and the score is 100 − 27.3. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.3 Engineering readiness Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Reproducibility | Y1 |
build not reproducible | context | ✅ | −15 |
Y2 |
dependencies not pinned | context | ✅ | −8 | |
Y14 |
no toolchain version pin | context | — | 0 | |
Y18 |
no machine-read project contract | context | ✅ | −8 | |
| Reproducibility cost | −18.1 (−31) | ||||
| Supply chain | Y3 |
no signed provenance | context | ✅ | −15 |
Y4 |
registry without namespacing | context | — | 0 | |
Y16 |
no advisory feed | context | ✅ | −8 | |
| Supply chain cost | −13.5 (−23) | ||||
| Observability | Y5 |
no stable tracing standard | context | ✅ | −8 |
Y6 |
no structured logging | context | ✅ | −4 | |
Y15 |
no post-mortem diagnostics | runtime | ✅ | −8 | |
| Observability cost | −11.7 (−20) | ||||
| Feedback | Y7 |
slow build | context | — | 0 |
Y8 |
no fast in-editor analysis | context | — | 0 | |
Y13 |
no bundled debugger | context | — | 0 | |
| Feedback cost | 0 | ||||
| Interop | Y9 |
no foreign-function interface | language | — | 0 |
Y10 |
no portable target | context | ✅ | −4 | |
| Interop cost | −2.3 (−4) | ||||
| Governance | Y11 |
single-vendor governance | context | ✅ | −15 |
Y12 |
closed specification | context | ✅ | −15 | |
Y17 |
no conformance mechanism | context | ✅ | −8 | |
Y19 |
no published parser | context | ✅ | −8 | |
| Governance cost | −26.9 (−46) |
Engineering readiness score: 27.5/100 — 124 of the 171 inventory points are present, so the axis cost is 100 × 124 ÷ 171 = 72.5 and the score is 100 − 72.5. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
Verdict: Visual FoxPro is a data-centric xBase language: the integrated database, the cursor, and the form make a small business application cheap, but the loose typing, the macro substitution, the flat scope, the ON ERROR path, and the discontinued Windows runtime keep the coupling high. Main strength: a database and a language in one product. Main weakness: the product is closed, and the program does not leave Windows.
The formal development. The definitions, theorems, and proofs behind this page are published in:
- On the Nature of Coupling: All Coupling as Shared Resource Access — Zenodo, 2026 — doi:10.5281/zenodo.21925122
- Coupling as a Consequence of Cohesion: Decomposition, the Coupling Floor, and Domain-Imposed Coupling — Zenodo, 2026 — doi:10.5281/zenodo.21925201
- On the Nature of Cohesion: Cohesion as Correctness Relative to a Partitioning Rule — Zenodo, 2026 — doi:10.5281/zenodo.21703193