All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.delphi.rules.community-delphi.HelperName.html Maven / Gradle / Ivy

There is a newer version: 1.12.1
Show newest version

Why is this an issue?

Code that follows a consistent naming convention is self-documenting. In Delphi, all class or record helper names should:

  • Be in PascalCase
  • Start with a consistent prefix
  • Contain the name of the extended type
  • End with Helper

The default prefix is T, but some projects may use another prefix to separate their helpers from those of other projects. This can make code spanning several projects more easily understandable.

How to fix it

Rename the class or record helper to follow the convention.

Resources





© 2015 - 2024 Weber Informatics LLC | Privacy Policy