Java Web Weekly, Issue 176 – Java网络周刊,第176期

最后修改: 2017年 5月 11日

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

Lots of interesting writeups on Java 9 this week.

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Concurrency: Java Futures and Kotlin Coroutines [frankel.ch]

A comprehensive and practical comparison of experimental Kotlin Coroutines and Java Futures.

实验性的Kotlin Coroutines和Java Futures进行了全面而实用的比较。

>> JCP EC Votes against the Java Platform Module System [infoq.com]

The state of Jigsaw going forward will certainly be interesting to keep track of after the vote this week.

本周投票结束后,拼图公司的发展状况肯定会令人感兴趣,可以继续跟踪。

>> JDK 9 Checklist: Project Jigsaw, sun.misc.Unsafe, G1, REPL, and More [takipi.com]

Another write-up going through most important changes coming up with the Java 9.

另一篇文章介绍了Java 9最重要的变化。

>> How to Run Multiple Versions of All Your Dev Tools with Jenv [sitepoint.com]

Jenv allows you to install and manage several versions of Java-based applications so maintaining a few versions of the same app side by side should not be a problem anymore – very cool.

Jenv允许你安装和管理多个基于Java的应用程序的版本,所以维护同一应用程序的几个版本并排应该不再是一个问题 – 非常酷。

>> Java SE 9 – JPMS automatic modules [joda.org]

Automatic modules are supposed to be a solution to the problem of migrating existing code to the new modular ecosystem – but there are situations where it might not work flawlessly.

自动模块应该是解决将现有代码迁移到新的模块化生态系统的问题–但在有些情况下,它可能不会完美无缺地运作。

>> Build Your First Progressive Web Application with Angular and Spring Boot [developer.okta.com]

A quick and practical guide to building PWA (Progressive Web Applications) with Spring Boot and Angular.

使用Spring Boot和Angular构建PWA(渐进式网络应用程序)的快速实用指南

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> First-Class Tests [cleancoder.com]

Having unit tests has always been a good idea – let’s stick to that 🙂

拥有单元测试一直是个好主意–让我们坚持下去 🙂

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> The Opportunist’s Guide to Start Consulting (Abridged) [daedtech.com]

Very useful tips for developers considering leaving the full-time employment in favor of consulting/freelancing.

对于考虑离开全职工作而选择咨询/自由职业的开发人员来说,这是非常有用的提示。

>> 10 Tips on How to be a Great Programmer [jooq.org]

Want to be a better programmer? This is a good place to start 🙂

想成为一个更好的程序员吗?这是一个很好的开始 🙂

>> How to Prioritize Bugs on Your To-Do List [daedtech.com]

There are no universal solutions to this problem but we should always remember to try to fix causes and not effects.

这个问题没有普遍的解决办法,但我们应该永远记住,要努力解决原因而不是影响。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> An intern to our intern [dilbert.com]

>> 一个实习生给我们的实习生[dilbert.com]

>> Let’s hear your great idea [dilbert.com]

>> 让我们听听你的好主意[dilbert.com]

>> I have a name! [dilbert.com]

>>我有一个名字![dilbert.com]

5. Pick of the Week

5 本周精选

>> Why we only work 4 days a week during summer [m.signalvnoise.com]