The Baeldung Weekly Review 40 – Baeldung周报》40

最后修改: 2014年 10月 10日

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

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

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

Curating my reading has made it more purposeful and diverse – and I’m hopefully providing value to you as well by allowing the best content of the week to raise to the top.

策划我的阅读使其更有目的性和多样性–我希望通过让一周中最好的内容提升到顶端,也能为你提供价值。

Here we go…

我们来了……

1. Java and Spring

1.Java和Spring

>> Reduce Boilerplate Code in your Java applications with Project Lombok

Quick and useful introduction to project Lombok and the ways you remove some of the boilerplate in your system by using it.

快速而有用的介绍项目Lombok以及你通过使用它去除系统中的一些模板的方法。

Personally I think Lombok is bit of a “treating the symptom not the cause” kind of approach – moderately useful but also a bit of an roadblock for a new developer picking up the project.

我个人认为Lombok是一种 “治标不治本 “的方法–适度有用,但对于一个新的开发者来说也是一个路障。

>> Your code coverage metric is not meaningful

I think this is a well known fact by now – code coverage doesn’t guarantee anything and should definitely not be a metric the business looks at, but at most something internal that the developer tracks and uses as a tool.

我想这是一个众所周知的事实–代码覆盖率并不能保证什么,而且绝对不应该成为企业看重的指标,而最多是开发人员跟踪和使用的内部工具。

>> Java 8 Lambdas – A Peek Under the Hood

There are many intros to Java Lambdas – this is one of the better ones.

有很多Java Lambdas介绍–这是其中一个比较好的介绍。

>> Spring Boot and Spring Data REST – exposing repositories over REST

A cursory look at Spring Data REST and how it can be set up with Spring Boot to implement a simple API. Quite useful to hit the ground running quickly.

粗略了解一下Spring Data REST以及如何将其与Spring Boot设置在一起以实现简单的API。这对快速入门相当有用。

>> Streaming JSON Patch from Spring to a React UI

It’s a good sign when a framework explores the fringes of the web and looks forward. This quick article is a early look at how you would stream data with JSON Patch over the STOMP protocol.

当一个框架探索网络的边缘并向前看时,这是一个好兆头。这篇快速的文章是对你如何通过STOMP协议用JSON Patch进行数据流的早期研究。

Might not jump in and use this one right away, but, regardless, it’s a very cool exercise.

可能不会马上跳进去使用这个,但是,不管怎样,这是个非常酷的练习。

My Weekly Review on Baeldung

2. Technical and Musings

2.技术和思考

>> Clean Up Those Nasty Junk Drawers

In-depth advice on getting to a better structure and grouping for tests – lot’s of great food for thought in here.

深入的建议,以达到更好的结构和测试分组–这里有很多值得思考的东西。

>> ChessTDD 18: RemovePiece and Housekeeping

The new installment in the Chess TDD Series after a bit of a break. It going to be interesting to see what being in a new codebase (and a Java one at that) will mean for the series – perhaps conventions leaning towards the BDD style.

国际象棋TDD系列的新篇章,经过一段时间的休息。看看在一个新的代码库中(而且是Java代码库)对该系列意味着什么会很有趣–也许惯例会倾向于BDD风格。

>> move fast & break nothing

You’re evolving a system while that system is in the hands of real users. If you’re not – you will be (that’s the whole point of what we do isn’t it?).

你正在进化一个系统,而这个系统在真正的用户手中。如果你不这样做–你就会这样做(这就是我们所做工作的全部意义,不是吗)。

Now that we established that – jump on over and read this piece – it’s not bullshit.

现在我们确定了这一点–跳过去读这篇文章–这不是胡说八道。

>> Faith in eventually

An interesting way to look at technical depth (among other things) – from Jason Fried.

一个有趣的方法来查看技术深度(除其他外)–来自Jason Fried。

It’s definitely a learned skill – to know what to solve right now, what to push for later and to be able to be OK with that continuously imperfect state of things.

这绝对是一种学习的技能–知道什么是现在要解决的,什么是以后要推动的,并且能够接受事情持续不完美的状态。

>> How I Curate the IndyHackers’ Newsletter

This is both meta and also very appropriate to include in a Newsletter style article such as this weekly review. It’s a very interesting read about techniques and practices in curating a newsletter.

这既是元的,也是非常合适的,包括在通讯风格的文章中,如本周评。这是一篇关于策划通讯的技术和实践的非常有趣的阅读。

I’ve been writing this here weekly review since the very start of this year, and along the way I’ve streamlines my process and learned a lot of best practices, but I haven’t automated anything yet. Maybe in 2015.

从今年一开始,我就在这里写这篇每周评论,一路走来,我简化了我的流程,学到了很多最佳做法,但我还没有实现任何自动化。也许在2015年。

3. Comics

3.漫畫

And of course, the weeks XKCD comics – these 3 are funny but also a little bit sad:

当然,还有几周的XKCD漫画–这3幅漫画很有趣,但也有一点悲伤。

>> Spirit

>> Listen to Yourself

>> Tones

4. Exclusive

4.独家

Last week I introduced the “Pick of the Week” section here in my “Weekly Review”. The interesting part is that it’s entirely exclusive to my email list subscribers.

上周,我在 “每周回顾 “中推出了 “每周精选 “栏目。有趣的是,它是完全为我的电子邮件列表订阅者所专有的

So – if you came to this article from my email list, you have the pick already – hope you enjoyed it.

所以–如果你从我的电子邮件列表中看到这篇文章,你已经有了选择–希望你喜欢它。