Cassette

Languages and libraries

programming language

SHOW HN2023

231points
71comments
#228of 3,109 in 2023
Top 8%of 2023 by points

How HN took it

LovedMost comments that take a side are positive

13 positive, 13 neutral or asking, 1 mixed, 1 critical, out of 28 comments about the project. Thread score +0.42.

Idea: 5 for, 1 againstDesign: 5 for, 0 againstDocs: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Clean, concise website and syntax-first introduction

    From 2 comments
    • What a great introduction: what it is, how it looks, why you might like it, what the design goals are, and how to write it - all while being short, to the point, and relatively…
      anigbrowl on HN
    • I agree that it's a wonderful page (although the :symbols confused me a bit), and I want to add that the simplicity of the page, size and lack of complex (almost any) Javascript…
      mobiuscog on HN
  • Syntax feels new and appealing (backslash lambdas, colon symbols)

    From 2 comments
    • I'm so impressed. I love the syntax (especially the backslash for lambdas and the colon for symbols). I don't know so many languages but it feels quite "new" to me, which is…
      Einenlum on HN
    • Alternatively, we can go the other way, and dispense with the arrow: ``` \x \y x + y ``` rather closer to the lambda notation in maths, and works well for compact expressions…
      somewhereoutth on HN

Objections

  • Lambda and let/def scoping choices are unusual and debated

    From 2 comments
    • Thanks for sharing! ``` ; these produce an error, since `b` isn't defined when the body of `a` is compiled let a = \x -> (b x * 3), b = \x -> (a x / 2) ``` It surprised me when…
      lubutu on HN
    • By the way, why do you need a backslash to define a lambda? Apparently it doesn't give any additional information. All you need to know that's a lambda is the presence of the ->…
      pmontra on HN
  • Build instructions were not working on Linux initially

    From 2 comments
    • I really like the syntax! I am having trouble building on Linux but I will send patches your way when I figure it out.
      tekknolagi on HN
    • Ah yeah, I got a little lazy at the end so the build process is probably a little macOS specific. I'd love to receive patches or bug reports when you get the chance!
      news_to_me on HN

Requests

  • Blog post on lexer and parser implementation

    From 1 comment
    • I'm so impressed. I love the syntax (especially the backslash for lambdas and the colon for symbols). I don't know so many languages but it feels quite "new" to me, which is…
      Einenlum on HN
  • Clarify or remove the Robin Sloan link on the site

    From 1 comment
    • I'm so impressed. I love the syntax (especially the backslash for lambdas and the colon for symbols). I don't know so many languages but it feels quite "new" to me, which is…
      Einenlum on HN

Questions

  • Why use a backslash for lambdas instead of a skinny arrow

    From 1 comment
    • By the way, why do you need a backslash to define a lambda? Apparently it doesn't give any additional information. All you need to know that's a lambda is the presence of the ->…
      pmontra on HN
  • Why let is not recursive while def is

    From 1 comment
    • Thanks for sharing! ``` ; these produce an error, since `b` isn't defined when the body of `a` is compiled let a = \x -> (b x * 3), b = \x -> (a x / 2) ``` It surprised me when…
      lubutu on HN

Alternatives named

  • Elixir

    From 2 comments
    • Looks a lot like Elixir and reminds me of Swift. Cool!
      sergiomattei on HN
    • Yeah, the syntax is heavily inspired by Elixir, which was of the first languages that "looked right" to me. And Elixir's syntax is very Ruby-inspired, in turn.
      news_to_me on HN
  • Swift

    From 1 comment
  • Lisp

    From 1 comment

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/38827876)