+ 1

Can anyone tell me why we use objects ...why we directly use variable and remaining sentence ..

28th Jul 2019, 5:50 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
4 Réponses
+ 3
It is easier to model the real world that way.
29th Jul 2019, 1:38 AM
Sonic
Sonic - avatar
+ 3
1: it allows code to be modular. 2: it groups useful information together. 3: it allows for the same property identityer to be used in different classes to mean different things. This means property names can be more meaningful as they just have to be unique to there scope, not unique across the whole codebase.
28th Jul 2019, 5:59 PM
josh mizzi
josh mizzi - avatar
+ 1
Thanks ..josh
28th Jul 2019, 6:00 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
0
Thanks sonic
29th Jul 2019, 3:47 AM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar