I also always go with the first when explaining to people with little knowledge of Julia because:
- The person can past that in the REPL and it will work.
- The person can put it in a script and it will work.
- I do not need to explain REPL modes or even get them to understand what kinda of bracket I am talking about, no, the square bracket, yes, just the closing bracket, yes it goes against your programmer instincts to start with a closing bracket, yes, the bracket is not just to indicate it that you are in the REPL, you really need to type it, yes, the bracket is supposed to disappear, did the REPL change color? great, now type “add PackageName”, no, parenthesis are not needed, great now we can go back and, ah to go back you need to press backspace all the way back, did it change color, no? one more time, yes, you need to delete the closing square bracket that disappeared as it was there yet, yes aham, I agree with you that it is a bit weird.
The story, all names, characters, and incidents portrayed in this comment are fictitious. No identification with actual persons (living or deceased, especially my advisor, co-advisor, and lab colleagues), places, buildings, and products is intended or should be inferred.