Java Weekly, Issue 510 – Java Weekly》第 510 期

最后修改: 2023年 10月 6日

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

1. Spring and Java

1. Spring 和 Java

>> New candidate JEP: 456: Unnamed Variables and Patterns [inside.java]

>> 新候选 JEP:456:未命名变量与模式 [inside.java]

Initialized but not used — using the underscore to represent unused variables, even outside of pattern types

已初始化但未使用 – 使用 underscore 表示未使用的变量,即使在模式类型之外也是如此

>> New candidate JEP: 457: Class-File API (Preview) [openjdk.org]

>> 新候选 JEP:457:类文件 API(预览) [openjdk.org] </p

Another inside baseball but interesting JEP – Class-file manipulation made easy.

另一个棒球内幕但有趣的 JEP–轻松操作类文件。

A new accurate, complete, performant, and standard API for reading, writing, and transforming Java class files.

用于读取、写入和转换 Java 类文件的全新准确、完整、高性能和标准的应用程序接口。

>> Testing virtual thread applications [quarkus.io]

>> 测试虚拟线程应用程序 [quarkus.io] </p

And, detecting virtual thread pinning in Quarkus — printing stack traces and also fast-failing the tests when threads are pinned

此外,检测 Quarkus 中的虚拟线程钉住–打印堆栈跟踪,并在线程被钉住时快速失败测试

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade: 

是时候升级了:

2. Technical & Musings

2.技术与思考

>> Is the Strategy Pattern an ultimate solution for low coupling? [event-driven.io]

>> 策略模式是低耦合的终极解决方案吗? [event-driven.io]

Software engineering with an NBA theme 🙂 – a practical example of how to approach low coupling and high cohesion

以 NBA 为主题的软件工程 🙂 – 如何实现 低耦合和高内聚的实例

Also worth reading:

还值得一读:

3. Pick of the Week

3.本周精选

>> How Instagram scaled to 14 million users with only 3 engineers [engineercodex.substack.com]

>> Instagram 如何在仅有 3 名工程师的情况下将用户数量扩大到 1400 万 [engineercodex.substack.com]

Next »

Java Weekly, Issue 511

« Previous

Java Weekly, Issue 509