Live data from Hacker News

Rhombus Language

rhombus-lang.org

31–40 of 161 posts

Re: Rhombus Language

#31
post #28
post #27

How hard would it be to uniquely extend the language to make *fun* into *fn* and *...* into a single letter *…*? fun all_same([str0, str, ...]): all(str0 == str, ...)

Very easy. You could do it yourself after 5 min of reading ;-)

That time would only be enough to read the overview, go through the examples, click on the "uniquely customizable" link hoping to see the answer and then be flooded with the garbage digital tokens of the scientific world - 100+ references...

Re: Rhombus Language

#33
post #15

This actually looks good. It's like a less-obtuse Haskell. At a glance the features seem to be just the right mix of functional programming paradigms and standard imperative programming.

What is the relation to Haskell? The language is basically Racket, which is a Scheme at its core. There's very little in common with a language like Haskell.

Syntax-wise it looks a lot like Haskell to me, especially the pattern-matching, the variable declarations (with `::`), as well as the indent-based blocks.

Re: Rhombus Language

#36
post #8
post #5

Earlier quoted context omitted.

here is the "goal" page: https://rhombus-lang.org/goal.html (with related paper & talk)

Thanks. It’s nice to see at least a few in the FP community recognize that Lisp dialects, with their parenthesis-ridden S-expressions, are hard to read and write.

It is hard to have empathy for a problem you don't have.

I have only recently become open to the idea that people might legitimately experience pain using an unfamiliar syntax.

For me, it is a non-issue. From Lisp to C to APL to Forth to Prolog, syntax was never an issue for me. I greatly enjoy learning languages with different approaches to syntax. It has never caused me pain. Only joy. Then again programming languages are my special interest.

It kind of easy to dismiss complains about syntax as intellectual lazyness. After all, learning Lisp-style syntax takes maybe a few hours tops, how can that be a problem? Syntax is just the easiest to criticize but would these people really learn the language if it had curly braces or is it just an excuse?

I don't know. I am the kind of person whose day gets ruined by an app minimally changing its UI so maybe I shouldn't be too judgy about syntax sensitive people.

Re: Rhombus Language

#38
post #29
post #18

The examples on the home page are a nice way to quickly show the features of a language. I'll check the documentation to see how to work with files, make HTTP calls, parse JSON. It's the first time in more than 10 years that I actually feel like trying a new language. The last time was Elixir. Since then I had to use Lua (hobby project) and Python (work) but I don't enjoy them much. I would have skipped them if I had…

TypeScript & Rust don't "look nice to work with" because they force you to write maintainable code that doesn't just stop working because of a random runtime error. In my opinion, Go looks nice to work with but actually is a hidden monster full of footguns.

> Go looks nice to work with but actually is a hidden monster full of footguns.

Really? Me and my team been using it for years with no problems whatsoever.

Re: Rhombus Language

#39
post #34

Does anyone use Racket outside academia? Is it production ready (or friendly)? Especially Typed Racket.

I've used it for some command line [tools][1]. Nothing running on production. Mostly programs that process programs or markup. I haven't used Typed Racket.

[1]: https://github.com/dgoffredo?tab=repositories&q=&type=&langu...

Re: Rhombus Language

#40
post #34

Does anyone use Racket outside academia? Is it production ready (or friendly)? Especially Typed Racket.

Racket has been used outside academia for years. Racket has been production ready for years.

Here is a recent example https://blog.cloudflare.com/topaz-policy-engine-design/

Post reply on HN