Jump to content

Convenience function

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Boleyn (talk | contribs) at 20:09, 11 October 2024 (has ref). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A convenience function is a non-essential subroutine in a programming library or framework which is intended to ease commonly performed tasks. These convenience functions may be added arbitrarily based on the creator's perception of what these menial tasks will be, or they may be the result of a process of refactoring by the developers and community feedback on what could be made into a convenience function. A convenience function's task may almost always be expressed in terms of other operations, though this will likely have increased verbiage and reduced abstraction and possibly maintainability. From this perspective, any programming language above assembly language is a 'convenience language' to avoid writing machine code.[1]

References

[edit]
  1. ^ "Convenience functions". support.norkon.net. Retrieved 2024-09-18.