Skip to content

Commit 00d5ccc

Browse files
committed
docs: philosophy on summaries & comments.
1 parent bead89f commit 00d5ccc

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

Desktop/TODO.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
- docs: the focus on UX with the accelerators/shortcuts.
2-
- docs: when and why use comments & summaries.
3-
- refactor: use Commands and ViewModels instead of code behinds.
1+
- refactor: use Commands and ViewModels instead of code behinds.
42
- feat: allow for saving Tasks both locally and remotely at the same time
53
- feat: tasks modifications are persisted
64
- feat: style the front
75
- feat: error handling on the frontend->backend communication
86
- feat: show tasks in as project tree
97
- feat: tasks have a state
8+
- docs: the focus on UX with the accelerators/shortcuts.
109
- test(e2e): deploy the Backend to Docker rather than being launched locally
1110
- ci: run e2e tests
1211
- fix flakiness on CI where sometimes "an element cannot be found"

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ Regarding keeping track of pretty much any kind of decision that the team takes,
112112

113113
Given the simplicity of this project and that I am the only contributor, I've decided not to use them.
114114

115+
### Philosophy on comments & summaries
116+
117+
Since I value documentation, I consider having written documentation to its minimum, so that it conveys the relevant bits and important info about the matter at hand.
118+
119+
This means that comments in code are used only when necessary: if the information can be conveyed through member (class, method, variables, etc.) naming or by a test (executable specifications), it will be better documented as such. The same goes for any member documentation: `summaries`, `remarks`, etc.
120+
121+
Basically, this allows better [signal-to-noise ratio](https://en.wikipedia.org/wiki/Signal-to-noise_ratio): rather than having all members with redundant summaries, only the essential is there. In other words, if you see a "green stain" in the code (or in whatever colour you have configured in your IDE) you know it's something important and that you'd better read it. On the contrary, having all with redundant comments or summaries (set aside the out-of-date docs issue) trains your brain to just ignore it, so it's easier for that relevant info to go unnoticed.
122+
115123
### Tools
116124

117125
#### PlantUML

0 commit comments

Comments
 (0)