-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Front-end programming with invariants #1473
Comments
Use CaseAs a user of a documentation website, I want to bookmark pages to ensure I can find this page sometime later.
|
Interessante gedachte. Laat me ook mijn eerste gedachten delen, zonder dat ik daar goed over na heb gedacht. De invarianten zitten bij ons niet in de frontend en ook niet in de backend.. Het zit puur in de state van de populatie in de database. Rules (waaronder invariants) leiden nagenoeg altijd tot 1 SQL query die afgevuurd kan worden op de database om overtredingen te detecteren. Bij invarianten in de frontend moet ik denken aan zaken als verplichte velden in formulieren. Dus zeg maar de state van 1 instantie van een interface. |
Ampersand is about programming with invariants, aka constraint-based programming. However, Ampersand rules apply to the back end only. As a front-end programmer used to JavaScript, DOMS, endpoint programming, and the like, I would like to extend this programming paradigm to my front-end programming efforts. This idea came up in a discussion with @bramjoosten recently. It calls for a curiosity-driven thought experiment. @Michiel-s can you reflect on this interesting question?
The text was updated successfully, but these errors were encountered: