Tag Archives: Critique

NullPointerException

Why is this such an insidious error in Java? (An opinion piece!)
A Comparison
Firstly, I’ll show a short comparison between some Java code and some code from a language that doesn’t have NullPointerExceptions, but does have something that allows you to accomplish anything you might want to do with null pointers.
This Java code:
AnObject thing = someMethod();
is [...]

How to say nothing

Has no one told the people behind the Workflow Management Coalition that April Fool’s passed over two weeks ago?
Intrigued at what I first thought was a joke, I downloaded one of the proudly-presented documents on the front page: Understanding the BPMN-XPDL-BPEL value chain. I chose it because of the three as-yet-unknown acronyms in the title… [...]

Unicode breaks Google search

A search for the phrase "It’s like a light of a new day," breaks in more than one way.
Not only does Google search fail to recognize that “it’s” is a word, it also ignores the quote marks, searching for the phrase as individual words.

Hotkey inconsistency

In order to close a window:

Ctrl+Shift+W
Firefox
Gnome-Terminal
Ctrl+W
Nautilus
Ctrl+Q
Seahorse
Firestarter
Liferea
Gedit
Synaptic
Gnome-System-Monitor

It seems Nautilus is the odd one out; Firefox and Gnome-Terminal use Ctrl-W to close a single tab and Ctrl-Shift-W to close the whole window. Nautilus uses Ctrl-W to close a single window and Ctrl-Shift-W to close all windows.
On the other hand, you could use Alt-F4, which works on all [...]