Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #6926

J

Javier Chávarri

Personal blog · javierchavarri.comprogramming

Javier Chávarri's personal blog at javierchavarri.com covers programming. Since 2019, 12 different Hacker News readers have linked it 13 times, most often “Data-first and data-last: a comparison of APIs (2019)”. No feed was found, so read it on the site itself.

No feed foundVisit the blog
13mentions?
12HN people?
2019–2025first – last linked?
Links on Hacker News per year · peak 3 in 2020

Too few sampled comments (5) to say how often HN recommends it.?

Why HN links it

Javier Chávarri's posts cover ReScript/BuckleScript, record performance and the data-first versus data-last argument-order debate. HN readers link them when discussing pipe operators and function argument order.

Summarised by Claude from a sample of 5 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Hi there! 👋Welcome to my site, where I write about the challenges of creating software products, type systems and programming languages, especially JavaScript and OCaml.

Most-linked posts?

  1. Data-first and data-last: a comparison of APIs (2019)
    8 people · 8 mentions · first linked 2019-05-15
  2. Beyond TypeScript: Differences Between Typed Languages
    2 people · 2 mentions · first linked 2023-09-08

What Hacker News says?

  1. ReScript changed their api from data-last to data-first for this reason. Coupled with amazing type inference you will almost always receive correct autocompletions (that are type valid as well). It is a great experience. It is sometimes still a problem when you define a function without reference to it (because the types are unnkown ofcourse). You will have to add types to it or call the function before implementing…

    Comment linking /data-first-and-data-last-a-comparison/

    on “Left to Right Programming”
  2. Submitted JS_of_OCaml: A Bundle Size Study as a story · 3 points

    HN discussion
  3. There's also ReasonML for those looking to scratch the itch sooner. Also, don't be turned off by the sea of comments. Pick one, they are all great. but yes ML language enthusiasts can be a bit overenthusiastic, but I don't fault them for that. They are all anxious to spread the gospel of ML. The Reason community on discord is excellent, one of the best I have had the pleasure to be a part of. I didn't go with straig…

    Comment linking /js_of_ocaml-and-bucklescript/

    on “F# Pipeline Operator in JavaScript with Babel”
  4. Submitted Beyond TypeScript: Differences Between Typed Languages as a story · 1 points

    HN discussion
  5. I would bet my money on Bucklescript/ReasonML/ReScript. https://github.com/rescript-lang/rescript-compiler/wiki/Why-... https://www.javierchavarri.com/performance-of-records-in-buc... Its Standard library Belt is optimized to compile to efficient JS too. (edit: added line about Belt)

    Comment linking /performance-of-records-in-bucklescript/

    on “Is your programming language unreasonable? (2015)”
  6. Submitted Beyond TypeScript: Differences Between Typed Languages as a story · 1 points

    HN discussion
  7. The discussion and reasons of "data first" vs. "data last" can be found by searching these terms (including type inference"). For example for Rescript (TAFKA Bucklescript) which changes OCaml's data last to a dáta first syntax. https://www.javierchavarri.com/data-first-and-data-last-a-co... which does explain the actual "technical" reasons behind the decision.

    Comment linking /data-first-and-data-last-a-comparison/

    on “My Favourite Gleam Feature”
  8. Submitted Data-first and data-last: a comparison as a story · 1 points

    HN discussion
  9. Zababa · 2021-11-02Recommends
    You're right, this also causes tradeoffs between good compiler errors and ease of composition when considering pipe first and pipe last. A good article on that: https://www.javierchavarri.com/data-first-and-data-last-a-co...

    Comment linking /data-first-and-data-last-a-comparison/

    on “Javascript RORO pattern”
  10. Submitted Data-first and data-last: a comparison (2019) as a story · 1 points

    HN discussion
  11. Submitted Data-first and data-last: a comparison of APIs (2019) as a story · 1 points

    HN discussion
  12. Submitted Data-first and data-last: a comparison as a story · 1 points

    HN discussion
  13. Submitted Data-first and data-last: a comparison as a story · 1 points

    HN discussion

Search all of HN for javierchavarri.com

Linked by the same people?