Closed JulietTeoh closed 3 years ago
There is no rule against having code in the DG, but we have the following DG tip.
So, it's a matter of deciding if the code snippet is even necessary to be in the DG. Some questions you can ask:
thank you prof!
I reported a bug in the DG stated that they had used low-level details when explaining how their feature was implemented. For instance, they stated the use of previousAppointmentLists.push(new ArrayList<>(appointments.asUnmodifiableObservableList())), which is a reference to actual code that I can see in their codebase.
I remember in tutorials that it was emphasised that the documentation should be sufficiently high-level as the reader can refer to the code for lower-level details.
However, they rejected my report saying that their explanation is "crystal clear" because "is the actual executing command to copy the appointments list and added to the previousAppointmentLists"
Is this a valid justification?