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
-
Does your language not have target typed new.
Intent intent = intent()
Startactivity(intent) -
It’s only painful if you don’t know what you are doing. Reference Types are beautiful.
Right side “Intent()” allocates memory for an instance. Left side “Intent” is used to store the reference of the instance in the “intent” variable. What’s so painful in this? Or is it the “startActivity(intent)” that’s painful?
Alright, after writing all this, I realised people are allowed to have opinions. So if it’s painful for you, then it fucking is!
Sorry for my behaviour, world!
Related Rants
Intent intent = new Intent()
startActivity(intent)
rant
wk263
android