Rule of thumb for choosing an implementation of a Java Collection?

I really like this cheat sheet from Sergiy Kovalchuk’s blog entry, but unfortunately it is offline. However, the Wayback Machine has a historical copy: More detailed was Alexander Zagniotov’s flowchart, also offline therefor also a historical copy of the blog: Excerpt from the blog on concerns raised in comments: “This cheat sheet doesn’t include rarely … Read more

Is there any rule of thumb to construct SQL query from a human-readable description?

Is there any systematic step-by-step or mathematical way to construct SQL query from a given human-readable description? Yes, there is. It turns out that natural language expressions and logical expressions and relational algebra expressions and SQL expressions (a hybrid of the last two) correspond in a rather direct way. (What follows is for no duplicate … Read more