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

最后修改: 2014年 5月 16日

1. Java and Spring

1.Java和Spring </strong

>> Too Fast, Too Megamorphic: what influences method call performance in Java?

I’m starting this weeks review with a very solid analysis of various types of method invocations in Java, and the performance characteristics of each. This is an in-depth read but very much worthwhile to get a deeper understanding of the Java runtime.


>> Java 8 Friday: Language Design is Subtle

Discussion on some of the Java 8 design decisions such as having default methods versus, for example, Scala traits. A reminder that language design is nuanced and a lot of factors play into it – overall, a great addition to the Java community.

讨论了Java 8的一些设计决定,如默认方法与Scala traits等。提醒大家,语言设计是有细微差别的,有很多因素在其中起作用–总的来说,这是对Java社区的一大补充

>> Writing Clean Tests – Naming Matters

An in depth discussion about naming in tests – it can serve as a good point of reference for choosing to name your tests artifacts, even if you don’t actually follow all the conventions the article lays out.


>> SpringOne2GX 2013 Replay: inside and out

This recording is all about Project Sagan and the new (well, new-ish) website – all very meta and all built in Spring.

这段录音是关于Project Sagan和新的(嗯,新的)spring.io网站–所有这些都是非常元的,都是用Spring构建的。

>> SpringOne2GX 2013 Replay: Getting Started with Spring Security 3.2

Yes, Spring Security 4 was announced recently, and yes – it looks very interesting. However, if you’re looking to get started with Spring Security, 3.2 is the way to go – this is a quick video that should get the ball rolling.

是的,Spring Security 4最近发布了,是的–它看起来非常有趣。然而,如果你想开始使用Spring Security,3.2是个好办法–这是一个快速的视频,应该能让你有所收获。

3. Technical


>> ParallelChange

API design is a beautiful thing – here’s an useful process to keep in mind whenever you’re making a backwards incompatible change in an externally published interface.


>> Goto Fail, Heartbleed, and Unit Testing Culture

This article puts forward an important premise – the latest major security issues of 2014 – the GOTO Fail and Heartbleed – could have been easily avoided if the developers were practicing unit testing. Be warned – the article is very long and in-depth – actually going over the tests themselves and showing exactly how the bugs could have been avoided.


>> Is TDD Dead? (the recording)

The initial “Is TDD Dead” hangout recording and the next one (happening today, on the 16th of May).

最初的“TDD死了吗 “挂机录音和下一次(今天,5月16日发生)。

The first was OK and spurred a lot of discussion online about the value and practices of TDD, and testing in general, and I’m hoping that the second discussion is going to go a little more in depth.


4. Musings


>> The Low Quality of Scientific Code

If you’ve ever seen scientific code, you know how it looks, you know you don’t want to touch it and you know you couldn’t change it reliably if your life depended on it. If you’re interested in that area, of if you were ever frustrated working with a library such as Mahout – this is why.