Bill Roper (billroper) wrote,
Bill Roper


So I'm working on a project at work where I'm porting some more C++ code to Java. I looked at the original code and said, "Well, let's see if we can streamline that." And I wrote a set of classes to support the behaviors that I wanted and which would generate the XML that I needed that C++ had been handling by writing exquisitely hand-crafted XML.

And I looked at the classes and said, "That could be simpler." And so I refactored the class structure I had written.

And I looked at the classes and said, "That could really be simpler." And I refactored the class structure into a set of Java enums.

It's a lot simpler now. :)
Tags: c++, coding, java, musings, work

  • Everybody's Got a Recipe For Dumplings

    These things happen in our household. Gretchen and I were driving home from lunch and listening to Radio Margaritaville when our discussion turned…

  • Taking a Break

    I am taking a break. Not immediately, but I have scheduled some time off from work, because I have not taken more than a day or so off of work since…

  • Dumb Arguments

    The argument du jour appears to be that you don't have the right to criticize someone's decision, because you aren't them and you don't know what…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment