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

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

The newest version!

Why is this an issue?

Imports should be done using the full name of the unit, as this facilitates code readability, avoids potential ambiguities about which unit is being imported, and ensures consistency throughout the codebase.

Using the full name of the units not only improves code clarity and maintenance but also optimizes the compilation process. The compiler does not need to spend time searching implicit scopes to resolve which units are being referenced. By specifying the full unit name, the compiler can immediately locate the necessary files, resulting in faster and more efficient compilation.

How to fix it

Fully qualify the unit name.

uses
  Classes,
  SysUtils;
uses
  System.Classes,
  System.SysUtils;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy