Baeldung Weekly Review 1 – Baeldung每周评论1

最后修改: 2015年 1月 2日

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

At the very beginning of 2014 I decided to track my reading habits and share the best stuff here, on Baeldung.

在2014年一开始,我就决定追踪我的阅读习惯,并在这里分享最好的东西,在Baeldung

2014 has been quite the year, covering each week with a review. I’ve been doing a lot more reading to make sure I cover and curate stuff that has value and is actually interesting.

2014年是相当不错的一年,每周都会有一篇评论。我一直在做更多的阅读,以确保我覆盖和策划的东西有价值,而且实际上是有趣的。

Let me know in the comments if you’re finding my reviews interesting and useful.

请在评论中告诉我,如果你觉得我的评论有趣和有用。

Here we go…

我们来了……

1. Java and Spring

1.Java和Spring

>> Under The Hood With A Prototype of Enhanced Generics for Java

Improvements to Generics coming in Java 10.

Java 10中对泛型的改进

Unfortunately it doesn’t look like these improvements go all the way to reifying generics so we’ll still have type erasure, but bringing primitives into play does open up a few interesting possibilities.

遗憾的是,这些改进看起来并没有完全重塑泛型,所以我们仍然会有类型擦除的问题,但将基元带入游戏确实开启了一些有趣的可能性。

>> Todd Montgomery Discusses Java 8 Lambdas and Aeron

An interesting 10 minutes discussion on optimizing the way we use Lambdas in Java and why we should care about that.

关于优化我们在Java中使用Lambdas的方式的10分钟有趣讨论,以及为什么我们应该关心这个问题。

>> Java 8 WTF: Ambiguous Method Lookup

Ambiguity in the Java Language Spec and a solid and detailed analysis on top. This is a worthwhile article to spend your time on, same as the followup.

Java语言规范中的歧义,以及上面的坚实而详细的分析。这是一篇值得花时间的文章,与后续报道一样。

>> Asynchronous timeouts with CompletableFuture

>> 使用CompletableFuture的异步超时

A deep dive on how to leverage Java 8 to write better concurrent code.

深入探讨了如何利用Java 8来编写更好的并发代码

>> Spring Boot Security Application

A long but useful reference article on building a secured Boot web app.

一篇关于构建安全的Boot网络应用的冗长但有用的参考文章。

>> Spring retry – ways to integrate with your project

Retrying a failed operation is one of those things that you may need to do in a mature project. The spring-retry project might help with that.

重试一个失败的操作是你可能需要在一个成熟的项目中进行的事情之一。spring-retry项目可能对此有所帮助。

>> Spring Framework 4.1.4 & 4.0.9 & 3.2.13 released

A cool new Spring release with a lot bug fixes, just before the new year.

在新的一年到来之前,一个很酷的新的Spring版本,有很多错误的修正。

And of course, the Spring presentations of the week to keep busy during the following weekend:

当然,还有本周的Spring演讲,让我们在接下来的周末里忙碌起来。

2. Technical and Musings

2.技术和思考

>> Handling Edge Cases

Thinking through the edge cases of your app and handling them well is a sign of maturity and respecting your users even though – yes – it does add quite a bit of complexity to the codebase.

考虑到你的应用程序的边缘情况并很好地处理它们是成熟的标志,也是对你的用户的尊重,尽管–是的–它确实给代码库增加了相当多的复杂性。

That in no way means you need to do that in your V1 and hold of from launching something useful for fear of unhanded edge cases.

这绝不意味着你需要在你的V1中这样做,并且因为害怕不经意的边缘情况而不启动有用的东西。

>> Why Intermediation is Important

Most of us are developing for the web in some way, shape or form – and being aware of the potential “points of control” or intermediaries we might be taking for granted makes us better at what we do.

我们中的大多数人都在以某种方式、形状或形式为网络进行开发–意识到潜在的 “控制点 “或中介机构,我们可能会认为这是理所当然的使我们更好地完成工作

>> Saving a Project and a Company

An in-depth case study of a consulting engagement with a lot of good takeaways for consultants and business owners alike. Lots to learn here.

一个深入的咨询业务的案例研究,对咨询师和企业主都有很多好的启示。在这里可以学到很多东西。

3. Comics

3.漫畫

And some Dilbert to get you started in 2015:

还有一些迪尔伯特,让你在2015年开始。

>> Demands for New Year’s Resolutions

>> You think you disagree with me, but you’re mistaken

>> A realistic estimate that will ruin your day

4. Pick of the Week

4.本周精选

Earlier this year I introduced the “Pick of the Week” section here in my “Weekly Review”. If you’re already on my email list – you got the pick already – hope you enjoyed it.

今年早些时候,我在 “每周回顾 “中推出了 “每周精选 “栏目。如果你已经在我的电子邮件列表中–你已经得到了精选–希望你喜欢它。