Hi, Iβm Rob π - Head of Engineering @ Cognetivity
sealed interface Interest {
object Tech {
object IOS: Tech
object Android: Tech
data class NativeMobile(val ios: IOS, val android: Android): Tech
object Web: Tech
object Server: Tech
data class KMM(
val coroutines: Coroutines,
val native: NativeMobile,
val web: Web,
val server: Server
): Tech
}
object Quality {
data class Architecture(val all: [Interests]): Quality
object BestPractices: Quality
object HexagonalArchitecture: Quality
object TDD: Quality
object Management: Quality
}
}
fun main() {
val allInterests = Interest::class.sealedSubclasses
learn(studies = allInterests)
}
(Sorry in advance if I don't reply, I can be a bit s*** at it. Mention github and I'll be more likely to connect!)