python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Question about code smell related to data class and long parameter list
Both data class and long parameter list are considered as code smell. However, the solution is of long parameter list smell is to create parameter objects. Is parameter objects the same as data class?...
Pengqi Chen
Votes: 0
Answers: 1
SQLDelight and data classes with one to many relations in Kotlin
I am trying to create a small app using Kotlin Multiplatform where i can save book titles and their authors but i'm struggling with the data classes and how to map them together so that i get the auth...
Andy
Votes: 0
Answers: 1
how to write Kotlin Base class for multiple data class for multiple similar API JSON response structure - CLOSED
All the API JSON responses would have the following structure:
{
"status": <Integer>
"data": <Object or List of Objects>
"message": <String>...
Alraj
Votes: 0
Answers: 1
Kotlin data class with default values using MapStruct
I have a kotlin data class with default values and when I try to map it using MapStruct it throws an error at runtime because it will try to assign a null value to a non-nullable type for a property w...
zhaider
Votes: 0
Answers: 1