5
54
Fork
You've already forked blue
4

Document every procedure, variable and file #31

Open
opened 2025年05月30日 18:14:09 +02:00 by pastor · 4 comments

One of the great thing of Emacs is a de-facto standard to add docstrings to every procedure and variable. This makes it very accessible as an extensible platform.

I believe we ought to do the same before the release, and we should set ourselves the goal of adding a docstring for every procedure, a comment for every variable and a introductory paragraph for each blue module. This will truly make B.L.U.E the Build Language User Extensible we strive to create.

One of the great thing of Emacs is a de-facto standard to add docstrings to every procedure and variable. This makes it very accessible as an extensible platform. I believe we ought to do the same before the release, and we should set ourselves the goal of adding a docstring for every procedure, a comment for every variable and a introductory paragraph for each blue module. This will truly make B.L.U.E the Build Language User Extensible we strive to create.
pastor added this to the beta milestone 2025年05月30日 18:14:09 +02:00
Owner
Copy link

Yes. But not everything is made public in that some modules are not meant to be used by end-users.

I want us to be careful to what we expose, because it then become API and we can not just change it without breaking backward compatibility.

Yes. But not everything is made public in that some modules are not meant to be used by end-users. I want us to be careful to what we expose, because it then become API and we can not just change it without breaking backward compatibility.
Author
Owner
Copy link

Well documenting things and exposing them as API are separate things. I meant that, before the release, we should have a fully documented code base.

There is no reason for not documenting code and it will encourage future contributors.

Well documenting things and exposing them as API are separate things. I meant that, before the release, we should have a fully documented code base. There is no reason for not documenting code and it will encourage future contributors.
Owner
Copy link

Okay I'm fine with this. But I would avoid making the info manual by snarfing comments and stuffs like this if we don't have a way to filter-out what's not API.

Okay I'm fine with this. But I would avoid making the info manual by snarfing comments and stuffs like this if we don't have a way to filter-out what's not API.
Author
Owner
Copy link

Just to clarify. By document, I also meant to add comments. So if we don't want to add docstrings to internal procedures, that's fine. But we should, at least, add a comment above them.

I would like to to maintain a high standard before we make the beta release. One of the goals that I have for BLUE, is to make it a didactic piece of software that newcomers to Guile can use as a reference, and learn from it.

I know with you experience in Guile, you could find some comments unnecessary, in which case I would recommend you the hide-comnt.el Emacs package.

It's very useful for keep a highly commented code base while maintaining a low line count during development.

Just to clarify. By document, I also meant to add comments. So if we don't want to add docstrings to internal procedures, that's fine. But we should, at least, add a comment above them. I would like to to maintain a high standard before we make the beta release. One of the goals that I have for BLUE, is to make it a didactic piece of software that newcomers to Guile can use as a reference, and learn from it. I know with you experience in Guile, you could find some comments unnecessary, in which case I would recommend you the [hide-comnt.el](https://www.emacswiki.org/emacs/HideOrIgnoreComments) Emacs package. It's very useful for keep a highly commented code base while maintaining a low line count during development.
old modified the milestone from beta to alpha 2026年04月01日 19:23:23 +02:00
Sign in to join this conversation.
No Branch/Tag specified
main
pipeline-operators
documentation
shadow-fields
instance-walker
blue-shell
promote-serializers-to-metacommands
pre-alpha
Labels
Clear labels
bug
Something is not working
contribution welcome
Contributions are very welcome, get started here
discussion
duplicate
This issue or pull request already exists
enhancement
New feature
good first issue
Interested in contributing? Get started here.
help wanted
Need some help
invalid
Something is wrong
optimization
question
More information is needed
upstream
Related to an upstream repository, already reported there
bug
Something is not working
contribution welcome
Contributions are very welcome, get started here
duplicate
This issue or pull request already exists
enhancement
New feature
good first issue
Interested in contributing? Get started here.
help wanted
Need some help
invalid
Something is wrong
question
More information is needed
upstream
Related to an upstream repository, already reported there
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lapislazuli/blue#31
Reference in a new issue
lapislazuli/blue
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?