ca Nô ni co (Latin Canonicus, -a, -um) adjective
Of the canon or of it.
According to the canons or dogmas of the Church.
[Linguistics] Which follows the most usual or more neutral structure in the language (e.g. the canonical order of the elements of the phrase in English is
subject-verb-object.).
"", in Dicionário Priberam da Língua Portuguesa [online],
2008-2013, https://www.priberam.pt/dlpo/can%C3%B4nica [consulted in
04-12-2017].
In our context it may have some slightly different meanings.
Canonical is like a law, it is something that says unequivocally (within certain precepts) that it is true, preferably without noises that interfere with this truth. It is a rule known and applied in general. There is no need to challenge (under certain criteria, it is not enough to be a dogma).
Canonical is something validated, consensual, of universal domain, unique.
Synonyms: recognized, authoritative, accepted, sanctioned, approved, established, orthodox.
One of the things we can say about canonicity in programming is the DRY. The truth of an object must be in only one place. It cannot have two sources that deal with the same thing since they may end up distancing themselves. Understand that letting something be modified and/or extended or composed in a liberated way as part of the architecture and if it is well thought out does not make it non-canonical. Is known as canonical form.
In XML has a specific context. Or in DNS. Or web content. Just to name a few.
"a canonical response is needed"
We need an answer that serves as a universal reference, that is complete and correct and says everything you need on the subject and that can be used to close several specific questions that are ultimately answered well with the canonical generic response. One answer answers all questions.
If people understood every comma behind all canonical philosophy, separation of responsibilities and cohesion, they probably wouldn’t speak in OOP.
Example of a canonical answer I have already posted: https://answall.com/a/63736/132
– Victor Stafusa
The canonical term would be something like "reference standard".
– Victor Stafusa
I think your question lacks canonical answer.
– Jefferson Quesado