Hacker News new | ask | show | jobs
by kiwidrew 1495 days 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.)

1 comments

SNOBOL 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.)
Ah, that makes sense!