Right now I\'ve got a project that has the following layout: foo/ __init__.py __main__.py foo.py In this case, foo.py is actually the main api file, so developers are meant t开发者_开发百科o do \"f
I do not know what to call my \"setters\" on immutable objects? For a mutable object Person, setters work like this:
This question already has answers here: Closed 12 years ago. Possible Duplicate: Java - when to use 'this' keywo开发者_如何转开发rd
What should be documented by javadoc comments (classes, methods, constructors and fields? Or only classes methods and constructors?)? Is there any convention about that ?
I like to give my variables, methods and objects descriptive names. Obviously not going overboard, but let me give you a couple of examples.
I\'m implementing IObserver. Are there any conventions about th开发者_StackOverflow社区rowing exceptions from IObserver?
Bit of a newbie question, but I\'m unfamiliar with Java.I\'m thinking either: com.company.we开发者_JAVA技巧bservices
I have observed that the general coding convention for a successful completion of a method intended functionalityis0. (As in exit(0)).
public class MyObjectMap : IAutoMappingOverride<MyObject> { public void Override(AutoMapping<MyObject> mapping)
Java programmers and API seems to favor explicit set/get methods. however I got the impression C+开发者_如何转开发+ community frowns upon such practice.