Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’m not sure what you mean by “composable” here — could you elaborate?


Composable is the ability to define things in the small and combine with confidence.

SQL not allow this:

    by_id := WHERE id = $1
     
    SELECT * | by_id


CTEs provide some pretty useful composability for SQL queries. I find myself using them all the time.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: