DEV Community

Discussion on: Basics of Kotlin - Part 3

Collapse
csj5483 profile image
Chetan Author

Yes, we should explicitly state the type of object. It will also help in making the project error free.
Does this clear your doubt?

Collapse
wireless90 profile image
wireless90

Yea I really find it much easier to read code if the types were specified! haha

Thread Thread
csj5483 profile image
Chetan Author

Same here 🤝