I saw a function like this
function operator!(c::Matrix, out::Matrix) ...... end
What does !
mean here?
Exclamation mark makes any function always return a boolean. The final value is the negation of the value returned by the function.
The name explanation point is often used to convey a sense of excitement on the part of the text receiver upon receiving a text from the texter. The Name Exclamation Point is a good way to signal to someone that you're excited to talk to them without seeming too over the top in the rest of your text.
In Julia, it's a convention to append !
to names of functions that modify their arguments. The reason is Julia function arguments are passed-by-sharing, without this "bang" convention, it's not easy to know whether a function will change the content of input arguments or not.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With