Skip to content

Check NoSelfUse

github-actions[bot] edited this page Mar 6, 2024 · 2 revisions

No self usage.

When _self is not used, should this actually be a method? This might incidate a design issue, although this not always have to be the case.

Noncompliant Code Example

    _method exemplar.write_info()
      write("This is info about me")
    _endmethod

Compliant Code Example

    _method exemplar.write_info()
      write("This is: ", _self)
    _endmethod

NOTE: This page is generated. Any changes made to this page through the wiki will be lost in the future.