Comment

Comment by OJFord

To me it seems quite nice, but really just trivially different from SQL - like if Ruby was 'friendlier syntax that transpiles to Python', meh? You'd use whichever you happened to learn first and not bother with the other. (That's often true even though it's more than that of course.)

The examples arbitrarily make SQL look more verbose:

    SELECT
      id,
      first_name,
      age
    FROM
      employees
    ORDER BY
      age
    LIMIT
      10
Yes! Of course I'd rather:

    from employees
    select {id, first_name, age}
    sort age
    take 10
..but wait, actually the SQL could've been:

    select id, first_name, age
    from employees
    order by age
    limit 10
and it's more verbose by a character or two... (no braces, but 'order by' vs 'sort')
parent OJFord 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton