Join Slack
Powered by
<https://blog.kotlin-academy.com/effective-java-in...
# feed
m
marcinmoskala
07/26/2018, 7:12 PM
https://blog.kotlin-academy.com/effective-java-in-kotlin-obsolete-items-thanks-to-kotlin-items-3-4-16-40-61-from-3rd-edition-31952da308f4
K 3
d
diego-gomez-olvera
07/27/2018, 8:19 AM
nice article 🙂 there is also
Item 22 - Favor static member classes over nonstatic
http://thefinestartist.com/effective-java/22
diego-gomez-olvera
07/27/2018, 8:19 AM
Kotlin does it by default
m
marcinmoskala
07/27/2018, 9:12 AM
I think it is still applicable. Moving constants to companion object is a good practice too.
marcinmoskala
07/27/2018, 9:14 AM
Also we should still prefer static classes over object expression
👍 1
d
diego-gomez-olvera
07/27/2018, 9:36 AM
I see, it only covers it partially
4
Views
Open in Slack
Previous
Next