[HN Gopher] Arturo Programming Language
       ___________________________________________________________________
        
       Arturo Programming Language
        
       Author : yownv
       Score  : 20 points
       Date   : 2022-10-16 13:38 UTC (9 hours ago)
        
 (HTM) web link (arturo-lang.io)
 (TXT) w3m dump (arturo-lang.io)
        
       | Art9681 wrote:
       | 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.
        
       | h3rald wrote:
       | Wow! Your web site changed a bit since last time I saw it,
       | congratulations Yanis! It's great to see a programming language
       | implemented in Nim to look so polished!
        
       | mlajtos wrote:
       | I like this a lot. One thing that I miss is the pipeline
       | operator.
        
       | herrherrmann wrote:
       | Oh wow, I wonder what the Boolean value "maybe" is about! (It's
       | mentioned e.g. on the quickstart page.)
        
         | Mathnerd314 wrote:
         | 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.
        
           | ajuc wrote:
           | if maybe then "t" else "f" = "t".
           | 
           | Wow, a very brave design decision :)
        
         | xamolxix wrote:
         | maybe "null", can't think of anything else.
        
       | Supermancho wrote:
       | 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? [<0] -> 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)
        
       ___________________________________________________________________
       (page generated 2022-10-16 23:01 UTC)