Documentation: Difference between revisions

Content added Content deleted
(added Ol)
No edit summary
Line 6: Line 6:
* Related task: [[Here_document]]
* Related task: [[Here_document]]
<br><br>
<br><br>
=={{header|6502 Assembly}}==

The language doesn't support this on its own, you'll have to do it with comments.
=={{header|Ada}}==
=={{header|Ada}}==
In some ways, Ada is a self documenting language by design. When building packages (the equivalent of modules in python), you have to create two separate files: a spec and a body. The spec resides in a .ads file, and contains the interface to the package that is visible to someone using it.
In some ways, Ada is a self documenting language by design. When building packages (the equivalent of modules in python), you have to create two separate files: a spec and a body. The spec resides in a .ads file, and contains the interface to the package that is visible to someone using it.