logo       

Re: [VW] Portability: msg#00143

Subject: Re: [VW] Portability
Philippe Marschall a écrit :

Today there are very many different
contributors, and for many of
them portability is not a concern.
I think most people don't break portability intentionally. They are
just not aware that they break it (this probably includes me).

I can understand this, and this precisely is why I raised the issue.

So please use #displayString rather than #asString when you need to
display a String
representation of an object.

When dealing with urls we do #printString  and #asString (implemented
in WAUrl). I guess this is a problem, right.

No problem if you send #asString to something that implements #asString. Since both the sending method and the implementor will be ported to VW there will be no problem in the port. The problem is to assume that #asString is implemented by all objects, this will not be true in VW.

If you do not
known exactly if
something is platform specific, just ask the mailing list.

Ok,

WAInspector >> #evaluate: aString
        ^self object class evaluatorClass new
                evaluate: aString
                in: nil
                to: self object.

Is this plattform specific?
Yes, this is indeed platform specific. But no worry, I added #evaluate:in:to: to the VW compiler in the Squeak compatibility package. I also added #instVar:Named:put: which is also lacking in VW.

Your question makes me guess that you are the author of the enhanced inspector. Let me congratulate you for this nice contribution. It ports gracefully to VW, with just two new methods in the Squeak compatibility package. Your enhancement is very cool and it was worth adding the two methods.

Michel.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe