final, const and beyond

C#constfinalimmutabilityJava

What are your thoughts on the following piece of code? public String someGibberishMethod() { int length = someMethodReturningLength(); int sum = 0; for (int index = 0; index < length; ++index) { // …

Read more →