Liralen Li (liralen) wrote,
Liralen Li

Showing my Age

Actually, what's showing is years of designing, debugging, and working in a system that was entirely OOP, nicely encapsulated. I seem to find it easier to think in OOP.

I'm completely redesigning a script I did in Perl and using the OOP abilities it has and it's entirely satisfying. I'm not nearly as confused as when I was writing the script 'straight' and I am finding it totally clarifying to be able to concentrate on Just One Thing In Each Class. Helps having very distinct objects in my system to start, but what I took weeks to write in a spaghetti script may well take only a few days with a very clean, limited interface for each module and I'm not only extending the data being tracked by an order of magnitude, but this should make further extensions transparent.

It's surprising me to find that I am so biased towards a particular paradigm, but I won't argue if it makes it easier to write and easier, later, to change as the underlying data structures may well change in the next release or two, and if I keep my interfaces clean, it'll mean that I only change what I need to instead of looking for it across the whole damned thing. It also surprises me that Perl is so easy to use in this way, though, perhaps, it shouldn't.

  • In Memory

    Angie, the friend I visited around Christmas time went into hospice two weeks later, and died two weeks ago, peacefully dying after just a day or…

  • Knitting the Raveled Sleeve of Care

    I haven't been, actually, though I've been trying. Just wasn't trying very hard when I had Ready Player One on my Kindle last night, and I was down…

  • Absent Insanity...

    Uhm. Right. Disappeared for a while and about to disappear again. You know what they say about Las Vegas... and what I'm about to do will probably…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.