Java API incosistencies
October 26, 2007 · Programming
For example, the java.io.File has the following ... If you want to delete a file or directory you must use the delete method. If you want to create a file or directory you must use createNewFile() (for files) and mkdir() for directories .... doh! All those coding conventions and there are still exists relics in the API.