🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.oberon
Article #1234

Re: Why no Complex Arithmetic ?

#1234
From: Mycroft
Date: Fri, 29 Mar 1996 18:44
27 lines
2152 bytes
Richard Pitre wrote:
> 
> Why leave out complex numbers and complex
> transcendental functions? Maybe Oberon is slightly simpler without this
> but any programs that use complex arithmetic are automatically more complicated
> and less efficient without language support.
> I see no good argument for leaving complex arithmetic out of Oberon
> if you've already gone to the trouble to include  floating point numbers.
> Why alienate so many people who desparately need good tools like this?
> If you don't think its a problem then its because you've never tried
> to do it. The readability goes to hell.
> 
> richard
Have you ever wondered why complex numbers are not a part of C, C++, Ada, or
Smalltalk?  If every extension that someone thought was important was
incorporated into every language then we would have a bunch of PL/1 compilers
floating around that no one could use.  Yes, complex numbers are important to
some scientific calculations, but the answer would be to develop a standard
class module called Complex.  In fact, the whole reason for object-oriented
languages is to be able to make extensions such as that.  Unfortunately, 
while there are many standard modules for handling fancy GUI designs for 
both Oberon/F and System 3, some of the simple but practical modules have
been overlooked.  Oberon/F just recently added a string library, but it's
done almost exclusively from a procedural instead of an OO point of view.
The procedure call interfaces are bulky and unintuitive.  I'm still looking
for a string library in any language that will let me handle strings as 
easily as I can handle them in BASIC.
Technical Details
Message-ID: <315C2FA0.995@cis.uab.edu>
Path: arc1-ca.pugleaf.net!maze.dpo.uab.edu!usenet
References: <4j9rvk$pn2@ra.nrl.navy.mil>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!maze.dpo.uab.edu!usenet
From: Mycroft <drake@cis.uab.edu>
Newsgroups: comp.lang.oberon
Subject: Re: Why no Complex Arithmetic ?
Date: Fri, 29 Mar 1996 12:44:48 -0600
Organization: University of Alabama at Birmingham
Message-ID: <315C2FA0.995@cis.uab.edu>
References: <4j9rvk$pn2@ra.nrl.navy.mil>
NNTP-Posting-Host: mayfair.cis.uab.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.3 sun4m)