News for hackers. Stuff that matters.

javafoo

Re:Sorting in Python on Wednesday June 11, 2014 @04:07PM (#7880134)
Crawling your book, i stumble over several codes that use flags instead of "return" to exit, by example, you use two flags for searching on an ordered list.

These kind of codes are not great for beginners because they tend to think that setting the flag is equivalent to exiting which is as you know an illusion.

Re:Java 8 Features on Friday May 30, 2014 @12:28PM (#7822640)
It's configurable !

ForkJoinPool forkJoinPool = new ForkJoinPool(2); forkJoinPool.submit(() -> // write your parallel query here ).get();