1. 9
  1. 10

    I kept looking at this wondering if I had misunderstood something. The first line “If React and Ruby had an indentation-based lovechild, what would it look like?” is nonsensical. React is not a language, it is a library. Its own website says so: https://facebook.github.io/react/

    Sure, the syntax is nice, but it’s nothing we haven’t already seen with Coffeescript (which is actually like if Ruby and JavaScript had a lovechild). The built-in support for DOM tags is nice, but it’s nothing to write home about.

    I don’t see how this solves any of the major problems with developing code in JavaScript, which is exactly what ES6 is doing. Rather, it’s just a slightly nicer way to write the some code you’ve been writing, with marketing copy designed to piggyback on the popularity of the React library.

    1. 2

      I have the exact same sentiments.

      This has absolutely nothing to do with React, it performs absolutely none of its functions. It does however take some notes from JSX, but why not just use JSX? I see nothing here that is really any improvement over it.

      The syntax also is just the same sugar as Coffeescript with different syntax.

    2. 4

      I am not overly interested in a language, but the performance is of interest. Is this reactive?

      1. 4

        The function syntax is called do? That is a bit odd. A function is the opposite impliciation (do this later)

        1. 1

          imba is an indentation based

          Nope nope nope. Not interested. Indentation based languages have one and only one advantage: immediately readable code. A tool like go fmt fills that need and doesn’t give me nightmares about debugging missing spaces with novice programmers

          1. 1

            Yeah, as a former big fan of Python, in retrospect, indentation makes anonymous functions syntactically impossible, which in turn cripples the language. It’s a shame, but you really need some system of braces or else you can’t make it work. Fortunately, nowadays gofmt-equivalents are common for every popular language.

          2. 1

            Why

            Stories with similar links:

            1. Full stack language that compiles to JavaScript with builtin syntax for DOM tags and CSS via eatonphil 9 months ago | 7 points | 2 comments