3 ms·
Fortran I/O statements specifying a FORMAT are the first example I'm aware of (released 1957), so the basic idea is at least that old.
by rst 4y ago
Fortran I/O statements specifying a FORMAT are the first example I'm aware of (released 1957), so the basic idea is at least that old.
- Jtsummers 4y agoI think they meant string interpolation, not format. SNOBOL looks like a very early example, not sure it's the earliest. Though the example there looks more like a demonstration of, I guess, automatic concatenation versus what most people think of as interpolation ("foo {bar} baz" or "foo $bar baz" or similar). https://en.wikipedia.org/wiki/String_interpolation#Snobol https://en.wikipedia.org/wiki/String_interpolation#Snobol