by dexterlagan · 3mo ago · 0 comments
Rhombus' syntax is soooo beautiful. As a Racketeer, it's my dream language. All the power of Racket... without a Lots of Insipid, Stupid Parenthesis. Not that I don't like the parens, mind you, but Rhombus looks so much more... 2009. My only regret is that nobody will use Rhombus, except a few enthusiasts, for fun. In an AI age, new programming languages should really be LLM-first, sadly. But it makes me so happy that there are some people who still care about humans coding.
One of the other objections to SICP, at least outside of MIT, was that it was too hard (especially for high school students). Which is part of why HtDP, and much of Racket supported that and other educational initiatives by Matthias Felleisen, et al. https://htdp.org/
I'm curious: Did MIT use Racket at some point for SICP, rather than MIT Scheme, either officially or grassroots? Jens Axel Soegaard, Mike Sperber, and I made some conveniences for doing SICP with Racket, circa 2009, but I don't recall hearing that Racket was used for SICP at MIT itself, only at various other places. https://www.neilvandyke.org/racket/sicp/
Interesting. For me the interesting part of Racket has always been the language itself. What else is there that you like and can use from Rhombus?
The customizable aspect being an open-compiler API that is accessible to a wide audience.
I love parenthetical syntax but I accept that some people don’t like it and find it hard to work with.
I see Rhombus as taking a key innovation in Python - indentation syntax - and giving it an extensibility that is impossible to add to such an established language.
Lisps are great for fast iteration but the syntax is a big problem because it's so sensitive to a single misplaced paren. LLMs like clean syntax with as little noise and unnecessary tokens as possible. They work better with dynamic or inferred types, low verbosity, no repetition like `Foo foo = new Foo();`, clearly delimited blocks, you get the idea. Parts of the language should compose well so the chance that a reasonable edit will cause a syntax error is as low as possible.
Popularity was a big deal with early coding models that couldn't go from specific languages to a wider idea of programming. Modern LLMs can generalize a lot better and use Rhombus or Gleam with no major issues, but they still work better in Python or JS with more training examples.
Basically the things that make a language LLM friendly are the same ones that make it human friendly, at least if your human is an average developer instead of a FP fanatics or enterprise architect.
Much more than other languages are sensitive to misplaced braces/indentation?
That's more a problem for humans who have never programmed in a Lisp and are using notepad.exe.
(if p (foo) (bar))
if (p) { foo(); } else { bar(); }
if p:
<indent>foo()
else:
<indent>bar()
> LLMs like clean syntax with as little noise and unnecessary tokens as possible.Isn't that good news for Lisps?