-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Nix language tutorial: restructure introduction #609
Conversation
Deploying with Cloudflare Pages
|
What is the process here? Are you extending the introduction because it's too short? Is the desired length of an introduction documented somewhere? |
No, the intent is to focus the introduction on the motivation for the particular approach. I was thinking about cutting down on the elements of programming, but didn't find a good way so there they still are. How would you illustrate to someone not necessarily familiar with functional programming that a language is small and has few fundamental moving parts? |
I'd sneak in the three elements of lambda calculus (variable reference, lambda abstraction, application):
So this de-emphasizes the role of "primitive values" compared to The Elements Of Programming you referenced. Nix is a functional language, so maybe this is a useful model? |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-06-26-documentation-team-meeting-notes-58/29666/1 |
this collapses the "don't panic" section into a motivating introduction and gives the document a more distinctive name. this also addresses feedback stating that having "basics" in the title may be misleading about the effort required to work through the tutorial.
the allusion to the Elements of Programming[0] never really worked out [0]: https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/full-text/book/book-Z-H-10.html#%_sec_1.1
this fills a long-standing gap of not mentioning function arguments as another form of name assignment
introducing a negatively connotated word is probably not a good idea. there is some risk of inducing fear that was not there before, and the tongue-in-cheek aspect may not come across. the title should be unique and easy to recognise, and it was. "Reading the Nix language" is already the title of the talk most of this is based on, and we shouldn't reuse it
79a2d91
to
16ffcd0
Compare
I decided against renaming the article. The title should stay brief and unique, and it is. The content changes are already an improvement. |
this collapses the "don't panic" section into a motivating introduction and gives
the document a more distinctive name.
this also addresses feedback stating that having "basics" in the title
may be misleading about the effort required to work through the
tutorial.
this also fixes a long-standing gap of not mentioning function arguments as another form of name assignment.
@NixOS/documentation-team