Remix.run Logo
selfhoster1312 2 hours ago

As an example of this, i remember a huge debate at the time about `await foo()` vs `foo().await` syntax. The community was really divided on that one, and there was a lot of drama because that's the kind of design decision you can't really walk back from.

Retrospectively, i think everyone is satisfied with the adopted syntax.

zozbot234 an hour ago | parent | next [-]

It makes sense that there was a huge debate, because the postfix .await keyword was both novel (no other languages had done it that way before) and arguably the right call. Of course, one can argue that the ? operator set a relevant precedent.

jurgenburgen 2 hours ago | parent | prev [-]

> Retrospectively, i think everyone is satisfied with the adopted syntax.

Maybe it’s a case of agree and commit, since it can’t really be walked back.

diondokter an hour ago | parent [-]

Various prominent people have said years after that .await was the correct choice after all