Well, obviously, this is going to fall in the “Shenanigans” portion of “Software and Other Shenanigans”, but with the election over and the country’s attention (presumably) turning back to spurring innovation and economic production, I’d like to offer my humble suggestion. Namely, we need to start hiring, encouraging, drug dealers. I’m not talking about the shady-looking, ill-reputed people on street corners. I’m talking about the people making drug dealing work on a more corporate and organizational level. These guys are innovative, resourceful, and they get things done. In other words, they’re exactly the kind of people we keep saying we want to unleash in our economy. Well, they would be if we weren’t so busy trying to put them in jail.
While perusing the Internet, I stumbled on some question about getters and setters and why people are supposed to use them (which of course I can’t find the link to now, even with the help of the might Google). After reading the question, I realized something. Holy crap, a lot of getter/setter examples on the Internet aren’t that good. Most of the tutorials on getters and setters talk about variable visibility, and you don’t get any real useful discussion about how to use them properly outside of technical forums or discussion boards. So, I thought I’d write a quick little guide on the topic in part to increase the number of useful pages on the topic out there on the Internet, and thus make it easier to find a good reference on the matter.