HN user

javafoo

4 karma
Posts0
Comments2
View on HN
No posts found.
Sorting in Python 12 years ago

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.

Java 8 Features 12 years ago

It's configurable !

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