Java Weekly, Issue 183 – Java周刊,第183期

最后修改: 2017年 6月 29日

中文/混合/英文(键盘快捷键:t)

Lots of interesting writeups on Java 9 this week.

本周有很多关于Java 9的有趣文章。

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> What’s new in JPA 2.2 – Java 8 Date and Time Types [vladmihalcea.com]

JPA 2.2 finally has the support for java.time.

JPA 2.2终于有了对java.time的支持。

>> Oracle Defends the Java Module System [infoq.com]

Oracle officially answers the JPMS controversy; and, the recent vote passed unanimously.

甲骨文正式回答了JPMS的争议;而且,最近的投票全票通过。

>> Kotlin’s hidden costs – Benchmarks [sites.google.com]

Kotlin does have some additional overhead over core Java but surprisingly, some results are actually better than Java alternatives.

Kotlin确实比核心Java有一些额外的开销,但令人惊讶的是,有些结果实际上比Java的替代品更好。

Also worth reading:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Get the Most out of Git Aliases [blog.codecentric.de]

Leveraging aliases in Git can drastically increase productivity 🙂

在Git中利用别名可以极大地提高生产力 🙂

>> Getting Started with Contract Tests [blog.thecodewhisperer.com]

Long gone are the days when it was enough only write a couple types of tests. The testing ecosystem is now a lot more mature and fleshed out.

只写几种类型的测试就够了的时代已经过去了。现在的测试生态系统已经更加成熟和充实了。

This is a good place to start understanding and getting into contract-testing.

这是一个开始了解和进入合同测试的好地方

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> Exploring the Tech Debt In Your Codebase [daedtech.com]

Sitting down and calculating the technical debt of your codebase is a very worthwhile exercise to get some meaningful insight into the actual condition of the project.

坐下来计算你的代码库的技术债务是一项非常值得的工作,可以对项目的实际状况有一些有意义的了解。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Don’t hold back anything [dilbert.com]

>> Did you just forget to do it? [dilbert.com]

>> Describe our company culture [dilbert.com]

5. Pick of the Week

5 本周精选

>> Goal Setting: A Scientific Guide to Setting and Achieving Goals [jamesclear.com]