Talk:Kotlin (programming language): Difference between revisions

Content deleted Content added
COI edit request answered.
Data Class: new section
Line 109:
===Reply 16-DEC-2019===
{{border |[[File:Emojione1_2705.svg|20px]]{{nbsp|2}}'''Edit request implemented'''{{nbsp|2}}|display=table |width=1px |style=solid |style2= |color=black |lh=1}} <span style="font-size:75%;border:2px solid red;border-radius:50px;font-color:#008">[[User:Spintendo|<span style="color:#008;">&nbsp;<b>Spintendo</b>&nbsp;</span>]]</span> 20:33, 16 December 2019 (UTC)
 
== Data Class ==
 
The section on data classes contains false information. A data class can contain a body, properties not defined in the primary constructor, as well as functions. It is not like a struct in C. The data class adds `hashCode`, `equals`, `toString`, `componentx` functions automatically and I believe that is the main purpose. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 13:31, 18 October 2020 (UTC)