Baeldung Weekly Review 2 – Baeldung周评2

最后修改: 2015年 1月 9日

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</strong

>> Using Optional Effectively in Java 8

Optional is one of these things that you may not be using to its full potential.

可选性是这些东西中的一个,你可能没有充分利用其潜力

I’m still getting into the habit of leveraging it and writing Java 8 idiomatic code – so a piece like this, going over practical examples of how to use it in the wild, is quite a good read.

我还在养成利用它和编写Java 8习惯性代码的习惯–所以像这样的文章,介绍如何在野外使用它的实际例子,是相当不错的阅读。

>> Thread Magic Tricks: 5 Things You Never Knew You Can Do with Java Threads

A good reminder of what’s available when working with Java threads, if you’ve not done any low level coding in a while.

如果你有一段时间没有做任何低级别的编码工作,那么在使用Java线程时,这是一个很好的提醒。

>> Stream-Powered Collections Functionality in JDK 8

How to use Java 8 stream syntax for a few useful examples. Not an intro to streams, but a good quick read to see how you can leverage the new functionality in your day to day work.

如何使用Java 8流语法的几个有用的例子。这不是一个流的介绍,但却是一个很好的快速阅读,看看你如何在日常工作中利用这个新功能。

>> Java 9 and Beyond. Oracle’s Brian Goetz and John Rose Glimpse into the Future

Brian Goetz explains why they’re doing primitive specialization instead of reification for generics in Java 10.

Brian Goetz解释了为什么他们要在Java 10中为泛型做primitive specialization而不是reification

Next, a few new Spring releases:

接下来,是一些新的春季发行的产品

Finally, the webinar recordings that are more than worth watching this week(end):

最后,本周更值得观看的网络研讨会记录(结束)。

2. Technical and Musings

2.技术和思考

>> Why you should pay developers to learn

Investing in the team and helping developers grow in their skill has a large impact on what the team can deliver.

对团队进行投资并帮助开发人员提高技能,对团队能够交付的东西有很大影响。

In my experience, it takes some times until a team gels and hits that good rhythm of putting out high quality work at a consistent pace. It rarely happens without this kind of ongoing investment.

根据我的经验,需要一些时间,直到一个团队凝聚在一起,并以一致的速度推出高质量的工作,良好的节奏。如果没有这种持续的投资,这种情况很少发生。

>> Is This Problem Worth Solving?

It’s hard to understate the impact that a pragmatic mindset has when developing software.

在开发软件时,很难低估实用主义心态的影响。

For years, I thought, or kind of assumed that I had it and I was going into all of those scoping sessions with a good eye towards being pragmatic. Nope. Later on I had the good fortune of working with a team leader that was truly focused on simplicity and I realized how much I wasn’t. He would look at a feature from a default of “We’re not going to need that for V1” whereas for me that would only be an afterthought, if that. Learned a lot since then but hitting that good balance, erring on the side of “not needed” and framing that position intelligently is still tough.

多年来,我一直以为,或者说有点假设,我已经拥有了它,而且我是带着一种务实的眼光去参加所有那些范围界定会议的。没有。后来,我有幸与一位真正专注于简单性的团队领导一起工作,我意识到我有多么的不擅长。他看一个功能时,会默认为”我们在V1中不需要这个功能”,而对我来说,这只是一个事后的想法,如果是这样的话。从那时起,我学到了很多东西,但要达到良好的平衡,在”不需要“这一边犯错,并明智地确定这一立场,仍然很困难。

So, personal stories aside, go ahead and read this piece – it has some important takeaways.

因此,抛开个人故事,继续阅读这篇文章–它有一些重要的启示。

>> An example of preparatory refactoring

Why preparatory refactoring is a powerful technique to keep a system easy to work with. If a change is hard, you’re probably not going to do it – so it’s a good idea to make it easy first.

为什么预备性重构是保持系统易于操作的强大技术。如果一个改变是困难的,你可能不会去做它–所以先让它变得简单是个好主意。

>> Theory lags practice

This is such a critical thing to understand, both as a constant learner as well as a teacher.

无论是作为一个不断学习的人,还是作为一名教师,这都是需要理解的重要事情。

3. Comics

3.漫畫

And the weekly dose of some Dilbert greats:

还有每周一次的一些迪尔伯特伟大人物的介绍。

>> Financial Advisor

>> The “I’m a perfectionist” line

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.

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