Article View: comp.lang.misc
Article #2897Re: Internationalization [was Re: Printing plural
From: John D. Burger
Date: Tue, 05 Mar 1991 22:50
Date: Tue, 05 Mar 1991 22:50
23 lines
1471 bytes
1471 bytes
gudeman@cs.arizona.edu (David Gudeman) writes: > What does this have to do with having a "real object system"? You > can write different printing routines for different data types in > almost any language. I wrote: > Maybe I don't understand you, but how do you do this in C? He replied: > Simple. Every time you define a data type, also write a procedure > to print it -- just like you would do in a so-called object oriented > language. > Of course this doesn't give you runtime typing. But runtime typing > (or runtime polymorphism) is orthogonal to object orientation. That's true, but you're just describing a particular example of procedural abstraction, which we all do already. I still have to know whether to call PRINT-DOLLAR-AMOUNT or PRINT-FRANC-AMOUNT. -- John Burger john@mitre.org "You ever think about .signature files? I mean, do we really need them?" - alt.andy.rooney
Technical Details
Message-ID:
<1991Mar5.225011.23386@linus.mitre.org>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!zaphod.mps.ohio-state.edu!think.com!linus!linus!mingus!johnShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!zaphod.mps.ohio-state.edu!think.com!linus!linus!mingus!john From: john@mingus.mitre.org (John D. Burger) Newsgroups: comp.lang.misc Subject: Re: Internationalization [was Re: Printing plural Message-ID: <1991Mar5.225011.23386@linus.mitre.org> Date: 5 Mar 91 22:50:11 GMT Sender: news@linus.mitre.org (News Service) Organization: The MITRE Corporation, Bedford, MA 01730 Lines: 23 Nntp-Posting-Host: mingus.mitre.org