conventions
General convention for python libraries that also have an interface module?
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[详细]
2023-01-20 20:42 分类:问答Scala naming convention for "setters" on immutable objects
I do not know what to call my \"setters\" on immutable objects? For a mutable object Person, setters work like this:[详细]
2023-01-20 18:49 分类:问答When to use 'this' keyword in Java? [duplicate]
This question already has answers here: Closed 12 years ago. Possible Duplicate: Java - when to use 'this' keywo开发者_如何转开发rd[详细]
2023-01-20 16:58 分类:问答What should have javadoc in Java?
What should be documented by javadoc comments (classes, methods, constructors and fields? Or only classes methods and constructors?)? Is there any convention about that ?[详细]
2023-01-20 05:26 分类:问答Does naming conventions make better maintainable code?
I like to give my variables, methods and objects descriptive names. Obviously not going overboard, but let me give you a couple of examples.[详细]
2023-01-19 18:58 分类:问答Are there any conventions on throwing exceptions from implementations of IObserver?
I\'m implementing IObserver. Are there any conventions about th开发者_StackOverflow社区rowing exceptions from IObserver?[详细]
2023-01-19 04:56 分类:问答Creating a new package in Java to make Web Service requests, what should I call it?
Bit of a newbie question, but I\'m unfamiliar with Java.I\'m thinking either: com.company.we开发者_JAVA技巧bservices[详细]
2023-01-18 07:26 分类:问答Coding conventions for method returns in C++
I have observed that the general coding convention for a successful completion of a method intended functionalityis0. (As in exit(0)).[详细]
2023-01-17 08:53 分类:问答How do I make an IgnoreProperty convention in fluent nhibernate?
public class MyObjectMap : IAutoMappingOverride<MyObject> { public void Override(AutoMapping<MyObject> mapping)[详细]
2023-01-15 11:54 分类:问答set/get methods in C++
Java programmers and API seems to favor explicit set/get methods. however I got the impression C+开发者_如何转开发+ community frowns upon such practice.[详细]
2023-01-15 03:37 分类:问答