Mehdi Akiki

Posts tagged "API design"

  • Published on
    A page cursor belongs to an ordering, filter, and authorized scope. Version its format and reject incompatible reuse without mistaking encoding for authorization.
  • Published on

    Article · Interrupted execution

    Return HTTP Success After the Database Commit

    Follow a checkout result through the commit and HTTP response. Handle rollback and a lost commit response as different outcomes.
  • Published on
    With Rust 1.99 you can define C variadic functions like printf, not only call them. I called a small Rust library from C and from Rust: the compiler checks the C promotion rules, but the number and the types of the arguments stay a promise between the caller and the function.