3 ms·
For a while now I've been interested in learning more about Julia, though not exactly sure yet what use-case I have for it. I guess I wouldn't know until I do
by jrapdx3 12y ago
For a while now I've been interested in learning more about Julia, though not exactly sure yet what use-case I have for it. I guess I wouldn't know until I do study the language enough to figure it out.
This tutorial looks promising, building knowledge carefully but not too much "hand holding", like it's for programmers experienced in other languages. Got part of the way though it so far, obviously not a "one-shot" kind of exercise.
My only complaint is the same one I make with many other tutorials of this kind. I find it very annoying when some feature or function is used in an example, but the function comes "out of the blue", not defined or explained, as though the reader is supposed to magically divine its meaning or definition.
In this case, everything goes along swimmingly until encountering the function/method "repr(a)" in "Arrays" examples. I dutifully spend several minutes tracking it down, and what do you know, basically the same as (->string ...) in Scheme (i.e., object->string representation).
I'm not giving up on Julia. I'll carry on from that point when I return to the site. But really, IMO every newly introduced term/function/feature should be defined so that the example can actually be completely understood.
Otherwise there's a substantial risk of losing readers who will not so likely be motivated to keep trying to figure it out.
</end of minor rant mode>
- okasaki 12y agoYou can say ?symbol in the prompt and it will tell you what it is help?> repr Base.repr(x) Create a string from any value using the "showall" function.