Dave's Brain

Browse - Tech Opinion - Why no public, static, final on davekb?

Date: 2016apr18
Language: Java

Q.  Why no public, static, final on davekb?
Its good practice to use this.

A.  I agree.  In regular code I use them but here I don't want to
clutter the examples.

Same with const in C++.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.