News for hackers. Stuff that matters.
Re:The Ur Programming Language Family by sesm on Saturday January 27, 2024 @12:02PM (#39157306)
Looks like a statically typed PHP replacement with a lot of domain-specific type checks. I really wanted to see how they enforce this one: ‘Include client-side code that makes incorrect assumptions about the "AJAX"-style services that the remote web server provides’, but couldn’t find any examples on GitHub.
Re:The Ur Programming Language Family by Yoric on Saturday January 27, 2024 @12:14PM (#39157436)
It's part of the ML family, so it looks more like Elm (or OCaml, or Haskell, etc.) than PHP.

If my memory serves, the way they enforce this is by generating the client alongside the server.

Re:The Ur Programming Language Family by shortrounddev2 on Saturday January 27, 2024 @12:29PM (#39157621)
I think he means PHP in the sense that you're inlining code with markup like in PHP (i.e: a templating engine)
Re:The Ur Programming Language Family by Yoric on Tuesday January 30, 2024 @12:56PM (#39193319)
Makes sense.
Re:The Ur Programming Language Family by manu3000 on Saturday January 27, 2024 @05:53PM (#39160706)
Also see Wadler’s Links and OCaml/Ocsigen for inline xml fragments, and client + server code generation