*BSD News Article 67491


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!news.rhrz.uni-bonn.de!saph2.physik.uni-bonn.de!juengst
From: juengst@saph1.physik.uni-bonn.de (Henry G. Juengst)
Newsgroups: comp.unix.misc,comp.unix.bsd.misc
Subject: Re: How to delete files within C programs
Date: 2 May 1996 17:54:40 GMT
Organization: Institut fuer Strahlen- und Kernphysik
Lines: 57
Sender: juengst@saph2.physik.uni-bonn.de (Henry G. Juengst)
Distribution: world
Message-ID: <4mast0$res@news.rhrz.uni-bonn.de>
References: <Oum-El-Kheir.Benkahla-3004961724540001@mac-ugm-3.imag.fr> <4maf8g$6u7@innocence.interface-business.de>
Reply-To: juengst@saph1.physik.uni-bonn.de
NNTP-Posting-Host: saph1.physik.uni-bonn.de
Xref: euryale.cc.adfa.oz.au comp.unix.misc:22365 comp.unix.bsd.misc:895


In article <4maf8g$6u7@innocence.interface-business.de>, j@ida.interface-business.de (J Wunsch) writes:
>juengst@saph1.physik.uni-bonn.de (Henry G. Juengst) writes:
>
>>And POSIX is not ANSI and vice versa. There is no "standard C".
>
>You are wrong.  There is ``The Standard C'':  ANSI C.  (Later accepted
>as ``ISO C''.  I think both are 99 % identical.)
>
>Like all standards, it has its drawbacks, and you cannot do everything
>with plain standard C.  But it's always a good idea to hide system
>dependencies in separate modules, and keep everything as close to the
>standard as useful.

The functions in the libraries are an important part of C. And they
are not identical in both 'standards'.

>
>If you don't accept the Unix philosophy, why are you reading these
>groups???

It is amusing. :-)))

Serious, I am using NetBSD at home (on my PC) to play with it. But that
does not have to mean it is good and especially good for beginners.

Anyway, I have never seen any Unix philosophy, it is just idle talk.

>
>Of course, Pascal (for example) is much simpler to learn, but it's far
>less powerful.  It's been designed as a language for teaching and
>learning purposes (and for this, it's very well-designed).  Unfortun-
>ately, you cannot do anything useful with plain standard Pascal, since
>even the semantics for passing file names from the environment to the
>program are implementation-dependant.  (Don't tell me about Turbo
>Pascal, it's simply yet another incompatible dialect.)  C has been
>designed to allow for the implementation of an operating system.  It
>does this job very well, and to the best of my knowledge, a large
>number of operating system have been written in C by now (not only
>Unix).

I think Pascal is much better for beginners. Ada is IMHO also a good
choice.

>
>-- 
>J"org Wunsch					       Unix support engineer
>joerg_wunsch@interface-business.de       http://www.interface-business.de/~j

Henry

--
juengst@saph1.physik.uni-bonn.de         [131.220.161.1]  (Internet)
omni:.de.uni-bonn.physik.saph1::juengst                   (DECnet/OSI, phase V)
saph1::juengst                           [26.358]         (DECnet, phase IV)

Any opinions in this mail are my own.