Using Data as Code
Summary
The article explains using data as code by factoring a WAV file structure into a data representation, enabling parsing and writing of RIFF/WAV formats without changing parsing logic. It includes a substantial J language example illustrating a WAVE_HEADER and how data definitions can replace much of the code, improving maintainability.