Live data from Hacker News

The Arturo Programming Language

arturo-lang.io

1–10 of 25 posts

Re: The Arturo Programming Language

#5
I am incredibly thrilled that this exists and incredibly dissapointed I didnt create it. I love everything about it and am eager to learn more about this project. I have been interested in Nim for quite some time and see this is built with it. It even has a net package in the standard library! I would love to see some benchmark comparisons to other languages like Go and Rust, just for fun.

Re: The Arturo Programming Language

#6

Oh wow, I wonder what the Boolean value “maybe” is about! (It’s mentioned e.g. on the quickstart page.)

Testing in the playground: and? maybe true = maybe; and? maybe false = false; or? maybe false = maybe; or? maybe true = true; if maybe then "t" else "f" = "t".

So some kind of 3-valued logic with a conversion to true.

Re: The Arturo Programming Language

#7
Stylesheet on documentation is screwing up >= symbols under

; more comparisons

and in other places, in chrome.

The language is already so spatially dense/verbose, why use the full word "function" when fn would do?

Strange that sometimes expressions are in parens and other times sqbrackets:

    when? [>2] -> print "1 is greater than 2. what?!"
    when? [ print "1 is less than 0. nope..."
Some things make me do a double take, where consistent style will dictate one way to do something, but will be an endless hassle to watch out for the other:

    a: (2 > 3)["yes"]["no"]         ; a: "no"
    a: (2 > 3)? -> "yes" -> "no"    ; a: "no" (exactly the same as above)

Re: The Arturo Programming Language

#8

Oh wow, I wonder what the Boolean value “maybe” is about! (It’s mentioned e.g. on the quickstart page.)

Testing in the playground: and? maybe true = maybe; and? maybe false = false; or? maybe false = maybe; or? maybe true = true; if maybe then "t" else "f" = "t". So some kind of 3-valued logic with a conversion to true.

    if maybe then "t" else "f" = "t".
Wow, a very brave design decision :)
Post reply on HN