Zum Inhalt springen

No Hungarian Notation (ARCH8011)

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Key kotlin.naming.no-hungarian-notation · Severity info · Category naming

Flags Hungarian-style type prefixes on identifiers (strName, iCount, m_value, arrItems).

val strName = "x"
var iCount = 0
private val m_client = Client()
val name = "x"
var count = 0
private val client = Client()

Drop the type prefix; the type system already carries that information.