Thursday, July 17, 2014

Found the following in a unit test:

private static final String HDP_MESSAGES = "0000000000000000000000000000";

When I added a value to an enumeration that represented possible messages to be displayed to the user, I had to add a zero to the string in the unit test for it to pass.

Tuesday, June 17, 2014

Found some interesting code comments today:

try {
params.put("bed", propertyInfo.getAttributes().getBedrooms().toString());
} catch (Exception eignore) {
/* who cares */
try {
params.put("bath", propertyInfo.getAttributes().getBathrooms().toString());
} catch (Exception eignore) {
/* not me */
try {
params.put("price", propertyInfo.getPostingInfo().getForSalePrice().toString());
} catch (Exception eignore) {
/* really it's fine if these don't get set*/

Friday, May 30, 2014

Encountered some technical documentation that instructed to change a property value in a file. To find the property, it instructed to look for the comment "this utterly, utterly sucks".

Monday, April 28, 2014

Had to follow a chain of eight files across three different repositories to change a static word on a webpage.

Friday, April 11, 2014

Somebody thought pt, il, ntfc, grpd, bfc, hs, hd, nt, ur, pd, lb, ds, op, so, st, blb, bfe, bbs, vs, ut, cy, and et were good variable names.

Thursday, January 23, 2014

Found the following code comment today:

"There is so much duplication in this code with other files in the mobile directory that it hurts my head. We need to fix this at some point! I mean, what the *bleep*! Can you really just keep re-writing the SAME EXACT CODE OVER AND OVER AGAIN AND NOT FAIL SO SHAME!!!"