5 ms·
Not to be antagonistically pedantic or anything, but just FYI, Go was definitely not the first to use an underscore to ignore variables.
by btmiller 11y ago
Not to be antagonistically pedantic or anything, but just FYI, Go was definitely not the first to use an underscore to ignore variables.
- sekasi 11y agoIf you don't mind me asking, what was? I thought it was too.
- jandy 11y agoHaskell and Erlang come to mind. They probably weren't the first either.
- illumen 11y agoIn python it is quite commonly used too.
- ellyagg 11y agoErlang got it from Prolog and Prolog's been around since 1972.
- btmiller 11y agoWe truly stand on the shoulders of giants.
- hellofunk 11y agoClojure idioms use it as well. Lots of languages do.