All programs should be carefully commented. This is for the standard reasons of making program maintenance easier. As Prolog has such a regular underlying syntax, superficially similar programs can behave very differently. Consequently, program comments can be very helpful in aiding program comprehension.