Slashdot Mirror


Sun's Joshua Bloch On OOP/OOD In Java

f00zbll writes: "A good article about development and OOP/OOD. The lessons apply to most OO languages and OOD. Interview with Joshua Bloch over at Javaworld. Ignore the fact that Java is owned by Sun and use the tips to help your work/project/development."

1 of 28 comments (clear)

  1. Auhhh :-) by sinserve · · Score: 3, Interesting

    This guy just gave me the encouragement I needed.

    As a /standalone/ programmer/designer/analyst, I
    developed this API design philosphy on my own.
    Actually, I have evolved to it.

    If you are in a one-mans shop, or do alot of coding
    for a specific domain, try to roll out your own
    layer of helper APIs on top of the system provided ones.

    I work on win32 and ODBC: I have my own class
    hierchies of *standard* dialogs for DB applications.
    Ex: the ActiveX components for DB Appz (advanced
    list views, financial stats, bar charts and graphs, etc.)
    are really resource greedy (the updating required
    for a dynaset database connection, with millions
    of records being fetched per minute is very
    expensive.)
    So I wrote some ready to run classes, that take
    care of the interface (with all the company logos
    and standard look-and-feel stuff.)
    then wrote some other classes to wrap around the
    "CResultView" classes, and finally,
    wrote some classes that *know* about our strange
    servers, and are optimized for them (including
    a connection "language" I derived, which is nothing
    more than a hand optimization of the subset of
    SQL accepted by oracle.)

    So, if the shop is good to you, be good to them
    and put your talent to work.
    The API method works, and I am a living witness for it.