Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@TitanLannister Afaik it's a weakly typed language (data types like int are optional or completely disregarded) and as personal preference, fucking hate that shit dude.
-
felbit4106y@AlgoRythm the first four words on the Kotlin page are "Statically typed programming language".
-
Omnisus3446y@felbit weak != static. Weakly typed language could change type of your variable without telling it do to so. String "101" could be changed to int
-
If I remember correctly kotlin is a weakly typed language but only under certain conditions. That's how you don't have to type-cast an object in the true block of an "if instanceof"-statement. But I think the compiler still forces you to have checked beforehand that the type conversion is valid.
Oh boy, kotlin and its world of statics and lambdas are glorious πππ
I just finished this attendence counter app i have been working on for last 4 days.its quite simple so i tried to add as much constraints as possible:
-Good practices and minimal warningy
-Room database
-Viewmodel and livedata
-constraint layout
-everything in kotlin
Although i already have worked with room and livedata previously but i dont even have a hello world experience in kotlin . However it doesn't felt that bad tho for a newbie
Every code here is so small . Synthetic binding? Love at first sight.Although at some places its irritating , not having ?: Operator or its ugly 'when' logic, but overall its Awesome!!
random
kotlinπ