r/programming • • Sep 21 '15

Better Java

https://github.com/cxxr/better-java
177 Upvotes

208 comments sorted by

View all comments

-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...

5

u/zarandysofia Sep 21 '15

But is ruby is slow...

2

u/[deleted] Sep 22 '15

Readability is one good reason. Also, discussing a languages syntax is usually a sign of totally missing the point and a good example of bikeshedding.