LinkedList is slightly slower than ArrayList with adding items to the end of the list. It is also slower when retrieving items with an index (random access).
Using QUnit and Sinon.js achieves the possibility of unit testing — and using the Google closure compiler with hard optimization enabled minifies code efficiently.
Need to query within embedded documents? This example takes us through using Couchbase's N1QL query for objects in a nested array in a single document.
Java has provided native enum types from version 1.5 onwards. Some issues arise with the use of enums in Java code, which this article attempts to address.
When it comes to the Enterprise, two cloud databases are going after it. Amazon's Aurora is MySQL compatible, whereas Google's CloudSpanner scales out.
The factory pattern is one of the best known patterns in Java. If you're using lambda expressions, you can use those to implement the pattern, though beware scaling.
Concurrency and streams put up special challenges for exception handling, particularly checked exceptions. Fortunately, you can try to improve your lot with Try.
If you're loading your Spring context for every test, you have integration tests, not unit tests. These are slow! See, how to deal with the problem using Mockito.
In a kickoff to a series on the Java Collections framework, we look at the hierarchy and an overview of uses. It's more than just generic lists, maps, and sets!
Sure, knowing how to implemented a word count Hadoop job using Scala and uploaded it to HDInsight is good — but having a real-world example of how to do so is better.