nus-tic4002-AY2122S2 / pe-dev-response

0 stars 0 forks source link

DG Suggestion: Command section, can include some detail to be more helpful to other developer #250

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.


image.png

In the developer guide, "Command" section. I think it is helpful to add some code snippets to help developers understand the use of predicate here, especially since this is the first time predicate is mentioned in the DG.


[original: nus-tic4002-AY2122s2/pe-interim#277] [original labels: severity.Low type.DocumentationBug]

spencernah commented 2 years ago

Team's Response

This ticket is rejected because Predicate is a predefined functional interface in Java. The use and function of a built-in Java library should not be discussed in detail in a DG since materials that does so are readily available online.

To find out more about Predicate and it's uses, please refer to the links below.

https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html

https://medium.com/swlh/understanding-java-8s-consumer-supplier-predicate-and-function-c1889b9423d

Duplicate status (if any):

--