I work on a medium sized development team that maintains a 8+ years old web application written in Java 1.4.
我在一个中型开发团队工作,该团队维护一个用Java 1.4编写的8年以上的Web应用程序。
For new development I always try to convince people to adhere to newer standards and best practices, That goes from simple things like using new naming standards like HtmlImplementation over HTMLImplementation, to things like why it's better to code against an interface versus coding against concrete classes, favor immutability or object composition a over class inheritance.
对于新的开发,我总是试图说服人们遵守更新的标准和最佳实践,这些简单的事情就像使用新的命名标准,如HtmlImplementation而不是HTMLImplementation,以及为什么最好是针对接口进行编码而不是针对具体类进行编码,支持不可变性或对象组合过度继承。
I have found this rather generic link in *, which is not Java-oriented nor complete.
我在*中找到了这个相当通用的链接,它不是面向Java的,也不是完整的。
I always try to explain the rationale behind my arguments, and always suggest people buy the latest edition of Effective Java, but it's not every developer that takes my word without questioning (which is a good thing).
我总是试图解释我的论点背后的基本原理,并且总是建议人们购买最新版本的Effective Java,但并不是每个开发人员都会毫不犹豫地接受我的话(这是一件好事)。
When that happens, they often ask me for pointers where they could read further about that specific good practice and sometimes I fail to quickly find pointers about that.
当这种情况发生时,他们经常会问我指点,他们可以进一步阅读有关该特定良好做法的内容,有时我无法快速找到有关此问题的指示。
Do you have any links to online material I could gather in a "collection" of Best Practices reference, in a way I can always look that up and suggest the "further reading" to my teammates?
您是否可以在最佳实践参考的“集合”中收集在线资料的链接,我总能看到这一点并向我的队友建议“进一步阅读”?
4 个解决方案
#1
2
Check out these links :
看看这些链接:
- Best Practice Software Engineering (more in depth)
- Software Engineeting Best Practices (lists briefly out some practices and tools by name)
最佳实践软件工程(更深入)
软件工程最佳实践(按名称简要列出一些实践和工具)
One book (that concentrates mostly on tools worth considering):
一本书(主要集中在值得考虑的工具上):
- Java Power Tools (O'Reilly)
Java Power Tools(O'Reilly)
#2
5
I really don't think there's anything in the same league as Effective Java. The cost of buying a book is much smaller than the developer time spent reading it (or other material anyway) - so I would strongly recommend going for EJ rather than trying to find anything similar.
我真的不认为与Effective Java在同一个联盟中有什么。购买书籍的成本比阅读它的开发者时间(或其他材料)要小得多 - 所以我强烈建议选择EJ而不是试图找到类似的东西。
There may be an online version of Effective Java - I'm not sure.
可能有一个Effective Java的在线版本 - 我不确定。
I know this probably isn't the advice you wanted to get, but I'm that passionate about the quality of Effective Java :)
我知道这可能不是你想要的建议,但我对Effective Java的质量充满热情:)
#3
3
Java Practices is a great site that I refer to often. It's been favorably compared to Joshua Bloch's Effective Java in the past, and I tend to agree.
Java Practices是我经常提到的一个很棒的网站。与过去Joshua Bloch的Effective Java相比,它是有利的,我倾向于同意。
#4
1
I use Sun's Java BluePrints as a source of best practices. The code samples serve as a "do it like this" standards document. The naming conventions and project conventions are must-reads.
我使用Sun的Java BluePrints作为最佳实践的来源。代码示例用作“像这样做”标准文档。命名约定和项目约定是必读的。
There's some design-pattern stuff there, also, but more importantly, it's a complete "do it like this" set of examples.
还有一些设计模式的东西,但更重要的是,它是一个完整的“像这样做”的例子。
#1
2
Check out these links :
看看这些链接:
- Best Practice Software Engineering (more in depth)
- Software Engineeting Best Practices (lists briefly out some practices and tools by name)
最佳实践软件工程(更深入)
软件工程最佳实践(按名称简要列出一些实践和工具)
One book (that concentrates mostly on tools worth considering):
一本书(主要集中在值得考虑的工具上):
- Java Power Tools (O'Reilly)
Java Power Tools(O'Reilly)
#2
5
I really don't think there's anything in the same league as Effective Java. The cost of buying a book is much smaller than the developer time spent reading it (or other material anyway) - so I would strongly recommend going for EJ rather than trying to find anything similar.
我真的不认为与Effective Java在同一个联盟中有什么。购买书籍的成本比阅读它的开发者时间(或其他材料)要小得多 - 所以我强烈建议选择EJ而不是试图找到类似的东西。
There may be an online version of Effective Java - I'm not sure.
可能有一个Effective Java的在线版本 - 我不确定。
I know this probably isn't the advice you wanted to get, but I'm that passionate about the quality of Effective Java :)
我知道这可能不是你想要的建议,但我对Effective Java的质量充满热情:)
#3
3
Java Practices is a great site that I refer to often. It's been favorably compared to Joshua Bloch's Effective Java in the past, and I tend to agree.
Java Practices是我经常提到的一个很棒的网站。与过去Joshua Bloch的Effective Java相比,它是有利的,我倾向于同意。
#4
1
I use Sun's Java BluePrints as a source of best practices. The code samples serve as a "do it like this" standards document. The naming conventions and project conventions are must-reads.
我使用Sun的Java BluePrints作为最佳实践的来源。代码示例用作“像这样做”标准文档。命名约定和项目约定是必读的。
There's some design-pattern stuff there, also, but more importantly, it's a complete "do it like this" set of examples.
还有一些设计模式的东西,但更重要的是,它是一个完整的“像这样做”的例子。