[net.lang.c] Pascal Origins

lvc@danews.UUCP (Larry Cipriani) (07/15/86)

Shouldn't this be in net.lang.pascal ?

>Unfortunately it teaches them bad habits as well. I was freaked royally
>when my brother told me years ago that there were no provisions for
>separate compilation. Everything in one source file, and they make
>people write large scale projects in it? Pure insanity.

>No `otherwise' or `default' clause on switches makes them almost useless.

The version of pascal I used in college six years ago allowed both
seperate compilation of source file, and an 'others' clause on switches
(called case in Pascal I thought).
-- 

Larry Cipriani		AT&T Network Systems
danews!lvc		"Nothing is worse than an itch you can never scratch."

rbj%icst-cmr@smoke.UUCP (07/16/86)

	Shouldn't this be in net.lang.pascal ?

This is in response to a comparison with C.
	
	>Unfortunately it teaches them bad habits as well. I was freaked royally
	>when my brother told me years ago that there were no provisions for
	>separate compilation. Everything in one source file, and they make
	>people write large scale projects in it? Pure insanity.
	
	>No `otherwise' or `default' clause on switches makes them almost useless.
	The version of pascal I used in college six years ago allowed both
	seperate compilation of source file, and an 'others' clause on switches
	(called case in Pascal I thought).
	-- 

That wasn't Pascal. It was someone's *enhancement* of Pascal. I know I'm
splitting hairs, but it still sucks.
	
	Larry Cipriani		AT&T Network Systems	 danews!lvc
	"Nothing is worse than an itch you can never scratch."

Ah yes. And Marilyn Monroe is dead.

	(Root Boy) Jim Cottrell		<rbj@icst-cmr.arpa>
On the other hand, life can be an endless parade of TRANSSEXUAL QUILTING BEES
aboard a cruise ship to DISNEYWORLD if only we let it!!
	

tainter@ihlpg.UUCP (07/17/86)

> 	Shouldn't this be in net.lang.pascal ?
> 
> This is in response to a comparison with C.
> 	
> 	>Unfortunately it teaches them bad habits as well. I was freaked royally
> 	>when my brother told me years ago that there were no provisions for
> 	>separate compilation. Everything in one source file, and they make
> 	>people write large scale projects in it? Pure insanity.
> 	
> 	>No `otherwise' or `default' clause on switches makes them almost useless.
> 	The version of pascal I used in college six years ago allowed both
> 	seperate compilation of source file, and an 'others' clause on switches
> 	(called case in Pascal I thought).
> 	-- 
> 
> That wasn't Pascal. It was someone's *enhancement* of Pascal. I know I'm
> splitting hairs, but it still sucks.
> 	
> 	Larry Cipriani		AT&T Network Systems	 danews!lvc
> 	"Nothing is worse than an itch you can never scratch."
> 
> Ah yes. And Marilyn Monroe is dead.
> 
> 	(Root Boy) Jim Cottrell		<rbj@icst-cmr.arpa>
> On the other hand, life can be an endless parade of TRANSSEXUAL QUILTING BEES
> aboard a cruise ship to DISNEYWORLD if only we let it!!
> 	

But lets keep in mind that what we call C these days includes a collection
of enhancements. 
--j.a.tainter

purtill@petrus.UUCP (Mark Purtill) (07/18/86)

> > >[about someone's not so brain damaged version of Pascal]
> > That wasn't Pascal. It was someone's *enhancement* of Pascal. I know I'm
> > splitting hairs, but it still sucks.
> But lets keep in mind that what we call C these days includes a collection
> of enhancements. 
> --j.a.tainter

Yes, but they're (mostly) the *same* enhancements.  Furthermore, you can
write reasonable prrograms in C without the enhancements (which are things
like enums and passing structs as opposed to fixing broken things.)  In
Pascal, everyone has their own set of enhancements and they're all different.

rbj@icst-cmr (Root Boy Jim) (07/18/86)

> > That wasn't Pascal. It was someone's *enhancement* of Pascal. I know I'm
> > splitting hairs, but it still sucks. [RBJ]
> 
> But lets keep in mind that what we call C these days includes a collection
> of enhancements. 
> --j.a.tainter

Good point. However, there is a big difference. I pretty much use only
the features in K&R, minus bitfields (altho I have found good use for them
to avoid padding in structures) and unions (well, rarely).

The extensions include enums, structure passing/returning/assignment,
void, and a few preprocessor goodies. While these are useful, they are
more like power windows on an automobile. The features tht were added
to Pascal were more like a gearbox and electric starter.

	(Root Boy) Jim Cottrell		<rbj@icst-cmr.arpa>
	I'm rated PG-32!!