netjs

How and why to synchronize ArrayList in Java

ArrayList is one of the most used Collections and why not? It's easy to use, has many implemented methods to provide all the important functionality and it is fast. But that fast performance comes at a cost, ArrayList is not synchronized. What does that mean? That means sharing an instance of arrayList among many threads where those threads are modifying (by adding or removing the values) the collection may result in unpredictable...

theprogrammersparadox

Just Managing

Somewhere, headed into the 21st century, we lost our understanding of how to manage people. To compound this, as the last of the great managers vanish, there are fewer and fewer role models to show us how to lead.Good management is not just talking. Walking around and chatting about any and every thing does not help to get stuff done. Throwing out a stream of highly creative ideas doesn't help either. Managing people is all about...