Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.24 KB

DeprecatedMethodCall.md

File metadata and controls

26 lines (17 loc) · 1.24 KB

Deprecated methods should not be used (DeprecatedMethodCall)

Description

In cases where it becomes necessary to mark a procedure (function) as deprecated, the word "Deprecated." Is placed in the first line of its description (rus. "Устарела.").

Use or extension of deprecated methods should be avoided. Marking method as deprecated is a warning that means the method will be removed in future versions and left for temporary backward compatibility.

Exception: It is possible to call deprecated methods from deprecated methods.

Examples

// Deprecated. Need to use NotDeprecatedProcedure.
Procedure DeprecatedProcedure()
EndProcedure

DeprecatedProcedure(); // Triggering diagnostics

Sources