The Artima Developer Community
Sponsored Link

Weblogs Forum
Object Master & the classic beauty of the Smalltalk Browser

5 replies on 1 page. Most recent reply: Apr 20, 2010 1:22 PM by Pavol Rovensky

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
    Next Topic
Flat View: This topic has 5 replies on 1 page
Andy Dent

Posts: 165
Nickname: andydent
Registered: Nov, 2005

Object Master & the classic beauty of the Smalltalk Browser (View in Weblogs)
Posted: May 13, 2006 11:06 AM
Reply to this message Reply
Summary
I recently had reason to work on some code a few years old and used Object Master and an older CodeWarrior IDE. I'd forgotten how much more productive coding could be with the assistance of a Smalltalk-style 3-pane browser. Here are a few points I've picked from my revisit.
Advertisement

I stopped using Object Master when I started using namespaces regularly because it was never upgraded to support them.

However, apart from the blazing speed (on an old 400MHz Mac with 144MB RAM) there are so many things that I still found useful I thought it was worth capturing a list of these goodies.

How it Works

Object Master parses your code, in either plain C, C++, Object Pascal, Modula-2 or Java and builds an internal representation caching its object-oriented representation of your code. This parsed representation is saved back into the files - it is an editing environment as well as a browser.

It groups C functions into "classes" based on their file membership and obviously follows the OO logic of other languages.

It is dumb as far as C macros go and requires you to manually define them. There are shortcuts to make it relatively easy to define the complex macros such as used in MFC and preloaded standard sets so this doesn't actually amount to much work.

Where the ability to hand-define macro meanings becomes very useful is in the area of speed and smart presentation, as noted below.

The browser window, of which you can create many, is a typical Smalltalk-style browser with a triple pane presentation of classes, methods and member variables, with a code area underneath.

Things Object Master does Very Right

This is a list, in no particular order, of the things that have impressed me in the last few weeks as I revisit Object Master. This is after years of using XCode, CodeWarrior, Visual Studio (up to 2003) and Eclipse (for C++ and Python, no comment on Java tools).

Whilst it also has strong project, makefile and source-control integration, the target environments are long-since outmoded and now therefore mainly irrelevant.

For browsing old code, I still found these features useful and depressingly better implemented than in any of the environments I'm using elsewhere!

  • you can tag source files with arbitrary colours and limit searches to a colour
    • tagging is totally arbitrary, per file so can go across any other organisation
    • the project sort order makes it very easy to contiguously select files in directories
  • it is very fast, even on Macs of 12 years ago it didn't interrupt a smooth flow
  • you can open multiple browsers on a class, editing many methods, even when they are stored in the same file. It thus hides the file-oriented storage and allows you to think totally class-based
  • for cross-platform code, the macro support is fantastic because code that is disabled by a macro definition is italicised, making it trivially easy to see what code is active. Remember I said you could change the definitions of macros? That makes it very simple to effectively jump between environments and see where your nested #ifdefs are interacting.
  • it is very clean to move between a browser view, source file and class hierarchy diagrams with drop-down menus of methods
  • history of recently visited methods is available at the bottom of the browser window so you can swiftly go back along the arbitrary chain you have followed
  • the method and member variable lists can be expanded with inherited members, allowing you to select them and see them immediately as defined in the parent class
  • you can restrict the views as implementor, user, etc. so the effects of access control are obvious
  • you can easily navigate to related methods being implementations, overridden versions or callers of a method

Object Master History

I reviewed an older version in MacTech magazine so you can look at some pretty pictures and read the full review: [Dent94].

Version 3 did come out with all the things they promised include a Windows version that still runs very nicely under Windows XP.

However, the codebase had major cobwebs. It was originally written in MacApp v2 which used Object Pascal (the elegant, lean Apple variant developed in consultation with Wirth, nothing to do with Borland).

It was ported to MacApp v3 using a conversion tool to convert it to c++ (I think) and then the Windows version created using a product Mac2Win from the same company that acquired the rights to Object Master.

As the c++ standard loomed and became dramatically harder to parse, with the new casts, heavy use of templates and namespaces, a business decision was apparently made that updating the parser was not going to be cost-effective. I don't really know - I think it was a one-man product all those years and maybe the resident genius just grew tired, left or suffered some less-desirable fate.

[Dent94]http://www.mactech.com/articles/mactech/Vol.10/10.12/ObjectMaster/.


Rob Walsh

Posts: 1
Nickname: rwalsh
Registered: May, 2006

Re: Object Master & the classic beauty of the Smalltalk Browser Posted: May 17, 2006 7:51 AM
Reply to this message Reply
Does anyone know if Object Master is still available? A friend sent me a link to this blog, and I rushed to Google to find the product, but the trail appears to be very cold.

Don Morris

Posts: 1
Nickname: donthedude
Registered: Aug, 2006

Re: Object Master & the classic beauty of the Smalltalk Browser Posted: Aug 2, 2006 1:21 PM
Reply to this message Reply
Your entry reminded me of how much I miss Object Master. I used it heavily in the early 90's for MacApp development. When Win95 came out I abandoned Mac development altogether and started doing only Windows work.

Object Master was so good at what it did. It's really surprising that we live with just VS abilites.

Another tool I used back in my Mac days that I sorely miss is Claris Organizer. It had a great ability to link anything to anything else and it was implemented in a very easy to use way.

We are moving forward with software, aren't we? :-)

Guy Nicholas

Posts: 1
Nickname: gnichola
Registered: Oct, 2006

Re: Object Master & the classic beauty of the Smalltalk Browser Posted: Oct 13, 2006 1:48 PM
Reply to this message Reply
I too used it in the past. Every once in a while I am presented with someone elses code and as I am wading through all the files trying to figure out the classes I am again reminded of how much I miss OM.

I have yet to find anything that is even close to it in terms of ease of use and functionality.

Later, Guy

Rob Stevenson

Posts: 1
Nickname: robs
Registered: Apr, 2007

Re: Object Master & the classic beauty of the Smalltalk Browser Posted: Apr 5, 2007 11:40 AM
Reply to this message Reply
Yeah, I'm trying to find something on Windows that does that same job, the old OM for Windows (R7) has some bugs, but it's still useful, but it would be nice to find something that doesn't have the limitations and gives me the same information. Source Insight has some promise, but it isn't as good.

Incidentally, I've noticed Loic Vandereyken is working at Apple -- whether he is doing similar work or not, I don't know (and it won't help me on the Windows side in any case). Loic did say that a big problem with OM was that it was very closely tied to the architecture of MacApp, which would make it difficult to keep up-to-date.

Pavol Rovensky

Posts: 1
Nickname: ycormac
Registered: Apr, 2010

Re: Object Master & the classic beauty of the Smalltalk Browser Posted: Apr 20, 2010 1:22 PM
Reply to this message Reply
Interesting reading.

I could not remember name of the company but Mac2Win somehow rang the bells and I searched for it.

Here is page with product description from the time

http://web.archive.org/web/19991122214223/http://altura.com/

Flat View: This topic has 5 replies on 1 page
    Next Topic Topic: Thinking of Writing a Book?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use