Overooped

More of a programming nerd than is strictly healthy. See also {nevyn.nu, thirdcog.eu, twitter}

Awesome blog?

Projects

Tue Feb 12
2008

Software Archaeology Find #2: Enterprise-y

int role = Constants.DOCTOR;
switch (res.getInt(2)) {
    case Constants.DOCTOR:
        role = Constants.DOCTOR;
        break;
    case Constants.NURSE:
        role = Constants.NURSE;
        break;
    case Constants.ASSISTANT_NURSE:
        role = Constants.ASSISTANT_NURSE;
        break;
}

< Previous archaeology find | Next archaeology find >

Fork me on GitHub