jaysoifer
What's the name of the <> operator?
Sheer curiosity.
I’ve asked this question on StackOverflow and I got some answers assuming that this operator is the same one that is used in Java, thus it is probably called the same.
I know. Who cares?
I do.
Is there a proper way to mention the <> (binary concat) operator specific to Elixir? Should I call it the “diamond” operator?
Marked As Solved
peerreynders
elixir-lang.org: Binaries (and bitstrings)
The string concatenation operation is actually a binary concatenation operator
elixir-lang.org: Binaries, strings and char lists:
Similar results can be achieved with the string concatenation operator <>
Elixir In Action p.46
Because strings are binaries, you can concatenate them with the <> operator
Also Liked
michalmuskala
What’s wrong with “binary concatenation” operator? It makes it explicit and leaves no room for confusion.
dardub
jaysoifer
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









