The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
I've changed the name of the method from checkConnection() to openConnectionIfPossibleAndNecessary() because that is what it really does (checks for not null not already open, and then provisionally (no pun intended) creates a new connection).
Just as astronomers/physicists have created the ideas of "Dark matter" and "Dark energy" to explain the currently unexplained behaviour of the observed universe, so I have coined "Dark logic" to explain the unexplained behaviour of my software.
We should all learn from astronomers, who found that if you spout any old bollocks that cannot be disproven mathematically (a Hell of a wide scope, there), anyone doesn't happily wade thigh-deep in mathematical formulae (i.e. just about everyone in the entire world) will have no choice but to take your word for it.
They must have a terribly difficult time, writing up their "research" -- it's tricky to type with your fingers crossed behind your back.
I wanna be a eunuchs developer! Pass me a bread knife!
"There is a fifth dimension beyond that which is known to man. It is a dimension as vast as space and as timeless as infinity. It is the middle ground between light and shadow, between science and superstition, and it lies between the pit of man's fears and the summit of his knowledge. This is the dimension of imagination. It is an area which we call the Twilight Duncan Edwards Jones Code Zone. "
Have you ever just looked at someone and knew the wheel was turning but the hamster was dead?
Trying to understand the behavior of some people is like trying to smell the color 9.