6 ms·
> the 'whitespace operator' for concatenating two strings with a space Very interesting, awk(1) also does this style of string concatenation; does anyone know
by kiwidrew 4y ago
> the 'whitespace operator' for concatenating two strings with a space
Very interesting, awk(1) also does this style of string concatenation; does anyone know of other languages with a similar design?
(I'm aware that many functional languages treat whitespace as function application.)
- 1vuio0pswjnm7 4y agoSNOBOL uses the space operator for concatenation. That is probably where AWK copied the design from. (Not to mention associative arrays. SNOBOL was the first language to have them.)
- kiwidrew 4y agoAh, that makes sense!