Java Weekly, Issue 285 – Java周刊》第285期

最后修改: 2019年 6月 14日

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> How to Write a Simple, yet Extensible API  [blog.jooq.org]

While writing a simple API may be difficult, making it extensible in a simple way is not.

虽然编写一个简单的API可能是困难的,但以简单的方式使其可扩展并不困难。

>> Testing Your Database Migrations With Flyway and Testcontainers [dev.to]

A quick intro to Testcontainers, a Java library that integrates with JUnit to spin up throwaway databases and other services as Docker containers. Very cool.

快速介绍一下Testcontainers,这是一个与JUnit集成的Java库,可以将废弃的数据库和其他服务作为Docker容器。非常酷。

>> Announcing nohttp [spring.io]

A handy Spring project you can use to find and replace all http:// URLs in your project with https:// URLs.

一个方便的Spring项目,你可以用来查找并将你项目中的所有http:// URLs替换为https:// URLs

>> Exercises in Programming Style with higher-order functions [frankel.ch]

And a few ways to enhance the readability of Kotlin code that deals with higher-order functions, starting with type aliases.

还有一些方法可以提高处理高阶函数的Kotlin代码的可读性,首先是类型别名。

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical and Musing

2.技术和思考

>> Types and Tests [cleancoder.com]

An interesting debate on whether dynamically typed languages require more tests than statically typed languages.

关于动态类型的语言是否比静态类型的语言需要更多的测试的有趣辩论。

>> Cacheable S3 signed URLs [advancedweb.hu]

And a good write-up explaining how to save bandwidth by writing cache-friendly URL signatures.

还有一篇很好的文章,解释了如何通过编写有利于缓存的URL签名节省带宽

Also worth reading:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Leadership and Guessing [dilbert.com]

>> Ted and the Tangle of Cords [dilbert.com]

>> Doctor Appointment [dilbert.com]

4. Pick of the Week

4.本周精选

>> Senior Developers are Getting Rejected for Jobs [glenmccallum.com]

Next »

Java Weekly, Issue 286

« Previous

Java Weekly, Issue 284

Next

Java周刊。第286期

Previous

Java Weekly, Issue 284