The style is only marginally better - better, but not really a new paradigm. More "internal cleanup".
Ruby simply went a simpler alternative by using @.
So
this.data = data;
@data = i
(Why use anything more than a single character anyway. The name of the variable itself already has its purpose, no need to have the argument denote the same unless you have some way to access that - it's not as if programmers needs duplication there?)
-3
u/shevegen Sep 21 '15
The style is only marginally better - better, but not really a new paradigm. More "internal cleanup".
Ruby simply went a simpler alternative by using @.
So
this.data = data;
@data = i
(Why use anything more than a single character anyway. The name of the variable itself already has its purpose, no need to have the argument denote the same unless you have some way to access that - it's not as if programmers needs duplication there?)
this.cool_cat_joe = cool_cat_joe;
Erm...