Hello. I’m new to Julia and am glad y’all have created such a programming language. However, when learning the syntax, I had the same problem as mentioned here.
Programming is a bit less stressful when certain symbols are easy to type, when the code is easy to read and when lesser nuances of the syntax need to be remembered. It’s like UI/UX for software syntax.
Some examples:
-
In
rand(Int, 2)
etc, it would be easier to typeint
,float
etc, if we could just type it without having to press the Shift key. Also, it looks neater when they are lowercase. -
Why is there an exclamation mark for
pop !(Array1)
? Why not justpop(Array1)
? The exclamation mark is what we are familiar with as a not operator. It’s very confusing to see it in a function name. -
I used to absolutely hate the
->
operator in C++. It was so annoying to have to reach out for those two characters on the keyboard when it would have been so much simpler to access a period “.”. Moreover, usingabc.hello()
looks so much neater thanabc->hello()
. In Julia I see the same problem with syntax likeDict3=Dict{String, Integer}("a"=>10, "c"=> 20)
. Could you please substitute=>
with:
and for specifying the typing,dict<string, int>
is so much more accessible on the keyboard, easier to type, readable and looks so much better. -
Case usage of functions like
SubString()
could perhaps besubstring()
orsubString()
.
There are many other aspects of Julia syntax that are well designed and I liked a lot. I hope y’all would be open to considering changing Julia’s syntax to make it easier to type and read, and to make it more intuitive. It’d also be nice to have a simple way to install and use Julia (especially in IDE’s we are already familiar with: Netbeans, Eclipse etc.). I went through a bit of a struggle the last time I tried installing it and using it via Atom.