Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 24th, 2006, 10:06 PM   #1
Indigno
Professional Programmer
 
Indigno's Avatar
 
Join Date: Dec 2005
Location: Anywhere non-productive
Posts: 267
Rep Power: 0 Indigno is an unknown quantity at this point
Send a message via AIM to Indigno Send a message via MSN to Indigno Send a message via Yahoo to Indigno
Pascal?

Today at the Goodwill, I saw a turbo Pascal 7 book. I considered buying it, but I decided against it because I know nothing of Pascal. What is it and what is it good for?
__________________
Perhaps I should have a sticky topic for all of the times I "return" to this forum instead of a new one every time.
Indigno is offline   Reply With Quote
Old Aug 24th, 2006, 10:31 PM   #2
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,207
Rep Power: 5 grumpy is on a distinguished road
Google is your friend
grumpy is offline   Reply With Quote
Old Aug 24th, 2006, 10:38 PM   #3
Indigno
Professional Programmer
 
Indigno's Avatar
 
Join Date: Dec 2005
Location: Anywhere non-productive
Posts: 267
Rep Power: 0 Indigno is an unknown quantity at this point
Send a message via AIM to Indigno Send a message via MSN to Indigno Send a message via Yahoo to Indigno
I guess I know what it is, but what are your guys' personal experiences and uses for pascal and is it worth learing at all?
__________________
Perhaps I should have a sticky topic for all of the times I "return" to this forum instead of a new one every time.
Indigno is offline   Reply With Quote
Old Aug 25th, 2006, 12:32 AM   #4
v0id
Hobbyist Programmer
 
Join Date: Apr 2006
Posts: 155
Rep Power: 3 v0id is on a distinguished road
I'm maybe not the right to answer, but I'll try. I used it for about an year ago, but not that much, the syntax just isn't my style. All those := and no brackets, like I said, not my style. Except for the syntax I think it's a fine language, it's easy to use, fine tools and so on. I can't really say if there's something there isn't good, for like i said, I didn't use it that long. I programmed both GUI and Console, both easy to do. I, by myself, wouldn't recommend to learn the language. I would use a language like C, C++ or something familiar instead.
__________________
-- v0id
v0id is offline   Reply With Quote
Old Aug 25th, 2006, 4:54 AM   #5
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,207
Rep Power: 5 grumpy is on a distinguished road
Pascal was actually used as a teaching language by universities when they cared about teaching the basic programming concepts rather than having people get bogged down in syntax --- because the syntax is relatively simple, if picky, and even minor violations (which are often a sign of programmer error) result in bitter complaints from the compiler, etc etc. Nowadays, it is relatively rare for universities to teach pascal as they now get onto bandwagons for latest and greatest languages. Personally, I consider that the quality of programmers has gone down overall as a result of that (not specifically because pascal is now rarely taught, but because a lot of software engineering courses now spend a lot more time learning syntax of a chosen language rather than basic design principles). Most people, when learning a new programming language, now devote most of their effort to learning syntax of the new language rather than techniques which the new language supports --- which is exactly the wrong thing to do.

If you're a beginner who is interested in learning the basic programming techniques, rather than worrying about syntax, then pascal is a good choice. If you just want to be able to throw together programs quickly, Pascal is not a good choice as it requires thought to program correctly (and effort to get the code past the compiler). This limits the utility of Pascal for large systems, and is why Pascal is less popular than some other languages for commercial use. Certainly, when I used Pascal (no, it wasn't my first language), the program eventually grew to the point where the effort of getting the syntax right for small changes exceeded the benefits of those changes --- or, to put it another way, once the program passed a certain size it became a pig to maintain. That said, some significant commercial developments were done with Pascal --- the majority of both applications and the operating systems themselves on early Apple Macintoshes were written in Pascal.

Notably, Pascal compilers are relatively simple to implement (certainly much simpler than compilers for other languages, such as C, C++, and Fortran) so it is easier to get the compiler correct.

There are a number of derivatives of Pascal which don't have all the weaknesses of Pascal, such as Modula-2 and Oberon. Borland's Delphi (for rapid application development, particularly with GUI) is an object-oriented derivative of Pascal --- and, notably, the first versions of Visual Basic were specifically designed by Microsoft to compete with Delphi. While the Ada programming language is not formally a Pascal derivative, both the language design and syntax are strongly influenced by Pascal.
grumpy is offline   Reply With Quote
Old Aug 25th, 2006, 10:04 AM   #6
Silvanus
Hobbyist Programmer
 
Silvanus's Avatar
 
Join Date: Aug 2005
Location: Hiding from... them...
Posts: 110
Rep Power: 4 Silvanus is on a distinguished road
Delphi is great for RAD- like VB, but better. That's where Pascal is most often used today, I believe.
__________________
:wq
Silvanus is offline   Reply With Quote
Old Aug 27th, 2006, 2:31 AM   #7
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
i have an old data structures book published by bell labs !!after C!! that is based on pascal, it must be good for something!
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Aug 27th, 2006, 7:45 PM   #8
Yegg
Newbie
 
Join Date: Jan 2006
Posts: 20
Rep Power: 0 Yegg is on a distinguished road
Just a reminder, don't let anyone tell you that Pascal is useless. It is less useless than Visual Basic by far. What can Visual Basic do that Pascal can't? Actually, I should be saying, What can Pascal do that Visual Basic can't? The reason I decided to compare Pascal with Visual Basic is because syntax-wise, they are both pretty similar if you ask me. Language-wise, forgetting even about syntax similarities, VB and Pascal are pretty similar, at least in my opinion they are. Visual Basic has a RAD IDE that does support drag-and-drop technology. But, so does Pascal. If you're going to use Pascal you'd be crazy not to use FPC (FreePascal.org). There is a RAD IDE with drag-and-drop, called Lazarus. It works with FPC. FPC can run on many OS's and processor architectures, unlike VB that is limited to just Windows. Lazarus runs on many systems as well. I would love to be using Lazarus with FPC for my applications over VB, no matter what I need done.
Yegg is offline   Reply With Quote
Old Aug 28th, 2006, 1:13 AM   #9
Kennedy
Newbie
 
Join Date: Aug 2006
Location: Alabama
Posts: 26
Rep Power: 0 Kennedy is on a distinguished road
Grumpy: Here here !!!! I second that. . . and third. . . and. . . well, you get the point.
Kennedy is offline   Reply With Quote
Old Aug 29th, 2006, 7:50 AM   #10
rsnd
Hobbyist Programmer
 
rsnd's Avatar
 
Join Date: Jun 2005
Location: Helltown
Posts: 162
Rep Power: 4 rsnd is on a distinguished road
Pascal was the first programming language I learned not more than 4 years ago. It was second semester in first year college and by the end of the semester I was convinced that it was good for everything.
__________________
Spread your wings and fly! Chicken!
rsnd is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pascal or C OS bigguy Coder's Corner Lounge 15 Feb 27th, 2006 5:20 PM
Images in TURBO PASCAL S_A_L_M_A_N Other Programming Languages 4 Dec 20th, 2005 9:38 AM
Pascal and C Lethns Coder's Corner Lounge 28 Sep 14th, 2005 3:07 PM
Need help badly: Pascal conversion to C joan400 C 0 Apr 12th, 2005 9:48 PM
Delphi as opposed to Pascal? peace_of_mind Delphi 8 Apr 2nd, 2005 8:23 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:12 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC