Canonicalise, Don't Remember β Smart Constructors in Kotlin
5 months ago by codeinabox to c/kotlin
@programming.dev
Kotlin is a statically typed programming language for the JVM, Android, JavaScript, and native.
Subreddit rules:
Resources:
go to feed...
@programming.dev
Kotlin is a statically typed programming language for the JVM, Android, JavaScript, and native.
Subreddit rules:
Resources:
go to feed...
@codeinabox Iβm confused. Does
Cartlive in your domain or is it input (just a container for the data that creates a Cart in your domain)? If it lives in your domain, then your article read like an FP programmer slowly realizing OO. π If itβs input, then I donβt think itβs duplication of concept because one is used for rendering and the other for creating. π€save