The Baeldung Weekly Review 10 – 巴尔东周报》10

最后修改: 2014年 3月 14日

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

The Weekly Review on Baeldung is a curated list of the best stuff I read each week – a handful of articles that are well worth reading (in no particular order).

Baeldung上的每周评论是我每周读到的最好的东西的策划清单–少数几篇非常值得阅读的文章(没有特定顺序)。

This is going to be a long one – lots of very good stuff this week – so I’ll cut right to it.

这将是一个很长的问题–本周有很多非常好的东西–所以我将直接切入。

General Musings

一般思考

=> What TDD Is and Is Not

The fact that TDD contains the word Test in there is more than likely the biggest source of confusion for developers. This is a valiant attempt to dispel the urban myth that TDD is about testing. Nice one.

TDD包含Test这个词的事实,很可能是开发人员最大的困惑来源。这是一个勇敢的尝试,以消除关于TDD是关于测试的城市神话。说得好。

=> SoftwareDevelopmentAttitude

A mature view on software development – there aren’t many of these around.

关于软件开发的成熟观点–这样的人不多。

=> Calling All Programmer Podcasts

Podcasts were a game changer for me – I started listening to a bunch during a 12 hour layover in Barcelona (yeah) and never looked back. Programming podcasts worth their salt are an underrepresented category – which is why this article is cool bits.

播客对我来说是一个改变游戏规则的工具–我在巴塞罗那的12小时停留期间开始听了一堆播客(是的),然后再也没有回头。编程播客的价值是一个代表性不足的类别–这就是为什么这篇文章是很酷的位子。

=> IDE vs. Editor

In the famous words of XKCD, real programmers use a magnetized needle and a steady hand. If you don’t have a steady hand – check out Bozhos earlier Why Not Emacs? for more insight about why sometimes an IDE is a good needle alternative.

用XKCD的名言来说,真正的程序员使用磁化针和一只稳定的手。如果你没有一双稳定的手–请查看Bozhos 早先的Why Not Emacs?,了解更多关于为什么有时IDE是一个很好的针头替代品的深刻见解。

And finally, since these are some of the best parts of my weekly reading (although this review is not going to be short and sweet) – I’ll link to these inline: one is about better dealing with negative feedback, and the other is about keeping an perpetually open mind and lean into learning and making small, incremental improvements. These add up.

最后,由于这些是我每周阅读的一些最好的部分(尽管这篇评论不会是短小精悍的)–我将在线链接到这些。一个是关于更好地处理负面反馈,另一个是关于保持永久开放的心态和精益求精的学习,进行小的、渐进的改进。这些加起来。

Technical

技术</strong

=> CircuitBreaker

The circuit breaker is definitely a solution that should be included into any system that consumes external and potentially unreliable resource – a good pattern if there ever was one. It’s also worth looking at Ray Holders guava-retrying project for something similar.

断路器绝对是一个解决方案,应该包含在任何消耗外部和潜在不可靠资源的系统中–如果有一个好的模式的话。关于类似的东西,也值得看看Ray Holders guava-retrying项目

=> Microservices

Martin Fowler has a page up about micro services. Is it worth a read? What do you think…

Martin Fowler有一个关于微服务的页面。它值得一读吗?你怎么看…

=> Please, Run That Calculation in Your RDBMS

A worthwhile (and funny) reminder of the many ways to leverage SQL to calculate things. Es-Queue-El cracks me up even now.

一个值得(和有趣的)提醒,有很多方法可以利用SQL来计算东西。Es-Queue-El即使现在也让我感到好笑。

=> Common Text Mining workflow

Text mining can enable some truly interesting things – so I’m always chuffed when I find a good resource like this one.

文本挖掘可以实现一些真正有趣的东西–所以当我发现像这样的好资源时,我总是很高兴。

On Spring

关于春天

As always, we’ll start with some of the official Spring articles of the week:

像往常一样,我们将从本周的一些官方春季文章开始。

=> Websockets with Spring

Interesting read on developing an app with Spring Boot, Spring Integration, RabbitMQ and the new Websocket support in Spring 4.

关于使用Spring Boot、Spring Integration、RabbitMQ和Spring 4中新的Websocket支持开发应用程序的有趣阅读。

=> Tracking Exceptions With Spring – Part 2 – Delegate Pattern

Last week I covered a very interesting article about Tracking Exceptions With Spring over on Captain Debug’s blog – this week, I am personally following the second installment of that article and covering it here. The next one is already announced, so this is now officially a series – and a good one at that.

上周,我在Captain Debug的博客上报道了一篇关于用Spring跟踪异常的非常有趣的文章–本周,我将亲自关注该文章的第二篇,并在此进行报道。下一篇文章已经公布了,所以这现在正式成为一个系列–而且是一个好的系列。

On Java

关于Java

=> Java 8 Friday Goodies: SQL ResultSet Streams

Very good read about using the new Java 8 Streams API with the JDBC API – a must read. It’s also a little bit sad to think that a more transparent and community driven design process for Java 8 would have saved us a lot of hassle.

关于使用新的Java 8 Streams API与JDBC API的非常好的阅读–必读。想到如果Java 8的设计过程更加透明和由社区驱动,就可以为我们省去很多麻烦,也是有点难过。

=> Concurrency torture: testing your code within the Java Memory Model

An updated take on the age-old problem of testing concurrent logic. Good read (if you can get past the readability issues on the blog).

对测试并发逻辑这一古老问题的最新看法。很好读(如果你能克服博客上的可读性问题)。

And that’s it for this review – pick up whichever strikes your fancy and read it back to back – actually engage and pay attention – to get the most out of it.

这篇评论就到此为止–拿起你喜欢的那一本,背对背地阅读–真正地参与和关注–以获得最大的收获。