# On using \`=\` vs \`:=\` for assignment

**URL:** <https://discourse.julialang.org/t/on-using-vs-for-assignment/110302>\
**Category:** Offtopic\
**Created:** [February 8, 2024, 3:46pm UTC](https://discourse.julialang.org/t/on-using-vs-for-assignment/110302 "2024-02-08T15:46:21Z")\
**Posts on this page:** 1\
**Showing post:** 50

<div class="post-metadata">

**Author:** ![adienes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adienes/32/37459_2.png) [@adienes](https://discourse.julialang.org/u/adienes)\
**Post date:** [February 28, 2024, 4:42pm UTC](https://discourse.julialang.org/t/on-using-vs-for-assignment/110302/50 "2024-02-28T16:42:43Z")

</div>

> [@mcmuffin6o](#):
>
> sacrificing familiarity for mathematical purity. Julia uses `*` instead of `+` for string concatenation

depends on what you’re familiar with… `+` for concentation is by no means a universal convention. it just happens to be the convention of the most popular language

I made this list some time ago

> [@Why are there all these strange stumbling blocks in Julia?](https://discourse.julialang.org/t/why-are-there-all-these-strange-stumbling-blocks-in-julia/92644/7):
>
> Not really trying to pile on, but I just got curious so I compiled a list of string concatenation operators across a bunch of languages. If any of these are incorrect, blame ChatGPT slight_smile Some languages (C,, Lisp-y ones) do not have infix operators for string concatenation at all. Maple uses || Mathematica and Gap use \<\> Agda, Idris, Erlang, Haskell, Elm, Zig all use ++ F#, OCaml use ^ Ada, Nim use & Fortran uses // Lua has .. Perl has . Smalltalk has , And of cour…

---

_[View the full topic](https://discourse.julialang.org/t/on-using-vs-for-assignment/110302)._
