All Questions
Tagged with class coding-standards
3 questions
8
votes
4
answers
2k
views
Are there advantages to using an interface, rather than a class, for a Java application?
Java is often (rightly IMHO criticized) for overusing the class keyword, as it can denote:
a factory to instantiate objects (traditional classes)
a collection of global methods (when all methods are ...
6
votes
6
answers
5k
views
Should all classes have a default constructor as part of good coding convention
From the texts I have read so far, the conventions talk about organizing constructors, starting with the default, if any. I am wondering, should all classes have a default constructor anyway. This ...
1
vote
2
answers
1k
views
GUI architecture and class naming advice [closed]
Problem:
I'm working on coding a few light-weight touch-tablet games and often get stuck with difficulties naming my user interaction/interface classes and their relationships with each other (...