944,155 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Aug 16th, 2005
0

Pascal

Expand Post »
Does anyone actually use Pascal anymore?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
ayk-retail is offline Offline
48 posts
since Aug 2005
Aug 16th, 2005
0

Re: Pascal

begin
Why would anybody want to use Pascal?
end;

You'll see it in Delphi, anyway, and I'm sure other people still use it. It's unpopular because it is a restrictive language, compared to others.
Team Colleague
Reputation Points: 1135
Solved Threads: 173
Super Senior Demiposter
Rashakil Fol is offline Offline
2,480 posts
since Jun 2005
Aug 22nd, 2005
0

Re: Pascal

The main reason Pascal is looked at like it is useless is because it has always had the image of being only for undergraduate students.
Students would learn Pascal, then "graduate" to "real" languages like C and Fortran when they got to graduate work.
They looked forward to those days when working in Pascal because it would mean they were getting near to graduation, then once working in C look down on Pascal because you are meant to look down on undergrad students and everything they do.

When those people entered the marketplace they took that attitude towards Pascal with them.

That's the situation today still, except universities have changed and are now teaching C++ and Java in undergraduate classes as well as graduate classes so Pascal is more or less left as a hobby language.

Personally I've not found Pascal to be restrictive at all. If you know it well enough you can do just about everything in it you can in a language like C, and the resulting code will be far more readable because Pascal (unlike C) enforces good programming practice reasonably well (which is why it was such a great language for teaching programming in the first place).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Aug 22nd, 2005
0

Re: Pascal

Maybe this is because you don't find C restrictive, whereas I do.
Team Colleague
Reputation Points: 1135
Solved Threads: 173
Super Senior Demiposter
Rashakil Fol is offline Offline
2,480 posts
since Jun 2005
Aug 22nd, 2005
0

Re: Pascal

Hello,

I found C to be dangerous; C++ had better boundries for me so that I didn't send my pointers off in different and strange directions.

I prefer Pascal when coding, personally. Unfortunately, I don't do much coding anymore.

Christian
Team Colleague
Reputation Points: 121
Solved Threads: 57
Posting Virtuoso
kc0arf is offline Offline
1,629 posts
since Mar 2004
Aug 23rd, 2005
0

Re: Pascal

C restrictive? In what way?
Apart from Assembly C is just about the least restrictive language you can find, you can do almost everything you want (if you know how of course). And for the very few things you might not be able to you can always link to Assembly modules.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Aug 26th, 2005
0

Re: Pascal

Pascal is an excellent language for people to begin programming with. Its simple and obvious syntax mean that students can concentrate on the algorithms and control of a program without getting bogged down in working out how to deal with a pointer overrunning the end of an array.

It was once described as "self documenting"; I don't think that's true, but it's just about there.

A lot of pseudo code in books is pretty much compilable Pascal.
Reputation Points: 31
Solved Threads: 1
Junior Poster in Training
leelee is offline Offline
76 posts
since Aug 2005
Aug 26th, 2005
0

Re: Pascal

Quote originally posted by jwenting ...
C restrictive? In what way?
Apart from Assembly C is just about the least restrictive language you can find, you can do almost everything you want (if you know how of course). And for the very few things you might not be able to you can always link to Assembly modules.
You can do anything you want on the machine, but that's not what I want.

But I'm talking about things like functions as first-class objects, closures (which C++ sort-of has, being object-oriented), and the like. C does not have those. Most languages are restrictive. (Practically all are.)
Team Colleague
Reputation Points: 1135
Solved Threads: 173
Super Senior Demiposter
Rashakil Fol is offline Offline
2,480 posts
since Jun 2005
Aug 29th, 2005
0

Re: Pascal

That's not the language being restrictive, that's you not understanding the paradigms along which the language has been constructed.
You CAN do all that in C, but you'd have to use C to create a language parser or compiler that understood those things in a syntax of your choosing.
That's what was done when Stroustrup wrote C++, he used C to create a language to do things in ways that cannot be done in C directly, effectively allowing those things to be done (indirectly) in C anyway.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Sep 1st, 2005
0

Re: Pascal

Quote originally posted by Rashakil Fol ...
begin
Why would anybody want to use Pascal?
end;

You'll see it in Delphi, anyway, and I'm sure other people still use it. It's unpopular because it is a restrictive language, compared to others.

Dont you mean:

begin
writeln('Why would anybody want to use pascal?');

end.


:lol:
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dwhyte1985 is offline Offline
2 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: project
Next Thread in Pascal and Delphi Forum Timeline: loop help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC