is object pascal a good language to use?
#1 Members - Reputation: 196
Posted 03 December 2012 - 04:19 PM
#2 Moderators - Reputation: 7557
Posted 03 December 2012 - 04:38 PM
CAN you make games in it? Sure. You can also make games in other obscure languages, if you want.
C++ is a mainstream language, but you will find it more complex than Pascal.
Java and C# are both well-suited for games and have shallower learning curves.
#3 Moderators - Reputation: 6622
Posted 03 December 2012 - 04:41 PM
#5 Crossbones+ - Reputation: 3516
Posted 03 December 2012 - 08:53 PM
#6 Members - Reputation: 560
Posted 03 December 2012 - 09:03 PM
#7 Members - Reputation: 839
Posted 04 December 2012 - 01:41 AM
I can't recall why, but I think some cases of nested statements resulted in obscure end if end-for statements, but I learned to live with that.
The Borland (Later Embarcadero) IDEs (Of which I've been using the C++ 2010 version beforehand, but none newer) was a mess to use. It often hung, and all the basic things that you tend to get used to in a good IDE (searching, multiple open files, code completion and referencing) performs slowly and at times behaves unexpectedly.
It bothered me that there were no virtual classes in Delphi (As such, the language is Object Based, not Object Oriented)
On the positive side, the debugger integration in Embarcadero is actually very nice. It's a little slower than debugging in VS,
but our projects were also really big (read: too big). There is a lot of customization you can do to sets of breakpoints, enabling series, detailed conditional switches and such.
Embarcadero's form designer does work rather well (It's better than the one in older versions of VS)
Overall, I agree with Bacterius; If you're doing a Desktop GUI game it's fine.
Maybe even a better choice when you're already used to Pascal or Delphi syntax.
To answer your question: I suggest you continue down this path and make a simple GUI game.
Then make a slick, doublefuffered GDI game and eventually, you can take a look at C++. But get used to programming first, there's nothing for a beginner in C++ can't get from ObjP IMO.
Edited by SuperVGA, 04 December 2012 - 01:47 AM.
#11 Members - Reputation: 280
Posted 04 December 2012 - 09:27 AM
the reason i chose to learn it is that it is structured, so i can improve my programs structure.
What do you mean by "structured" here compared to the other languages? Are you talking about enforced semantics and syntax? If so, go with Python.
#12 Members - Reputation: 3283
Posted 04 December 2012 - 09:57 AM
In an interview about C#, he said it was highly inspired by his work on Delphi ( thus the events and delegates system ), which in turn was inspired by Pascal.
So... if you want to work in modern Pascal, go with C#.
It's amazing the overwhelming influence a small number of people have over the programming landscape! Bjarne Stroustrup, Anders Hejlsberg, Donald Knuth, Edsger W. Dijkstra, Nikluas Worth, Alan Kay, Brian Kernighan, Dennis Richie, ummmm.... there's more, but not a ton. Its amazing that so many programming contributions came from so few people... and that their are so many vikings among that rarefied few.
#14 Members - Reputation: 560
Posted 04 December 2012 - 11:05 AM
#15 Members - Reputation: 3283
Posted 04 December 2012 - 11:10 AM
Its amazing that so many programming contributions came from so few people
Not to burst the balloon or start a row but isn't it amazing that many are middle class, rich, white, straight men?
Not in the slightest actually.
For the Scandinavian contributors, they are a socialist largely homogeneous society, vis-à-vis the vast majority of people from that demographic are white and middle class.
In the US it's much the same for a different reason. In the US, this type of work is generally the realm of academia or post-academia, in which the prevailing demographic is both white and middle-upper class. Additionally, post-secondary schooling is provided by the state.
As to the straight comment, that is harder to quantify, one way or the other. Simply put, the information isn't generally available. As a field, although predominately male, sexual orientation has rarely been a huge focus, one way or the other. For one rather extreme example, Danielle Bunten Berry, author of MULE and Seven Cities of Gold had gender realignment surgery. There are plenty of openly gay programmers now, and some in that list may in fact be gay. Many of them are products of the 60-80s though, where coming out of the closet wasn't exactly the thing to do. Long story short, sexual orientation means so very little in the context of programming accomplishments, it simply isn't mentioned or generally relevant.
Edited by Serapth, 04 December 2012 - 11:11 AM.
#17 Members - Reputation: 2760
Posted 04 December 2012 - 11:26 AM
You won't get a lot of community support, but there are enough fanatics out there you can probably get the help you need.
Professional Free Software Developer
#18 Members - Reputation: 113
Posted 05 December 2012 - 06:08 AM
#19 Crossbones+ - Reputation: 1142
Posted 05 December 2012 - 08:15 AM
I wouldn't recommend python as a language to start in, rather start in C# or Java, let the compiler help you with finding errors, than having to guess why it isn't working. There is other things python will confuse a beginner with, where pascal is better for.
the reason i chose to learn it is that it is structured, so i can improve my programs structure.
What do you mean by "structured" here compared to the other languages? Are you talking about enforced semantics and syntax? If so, go with Python.
Pascal was originally designed to teach students how to use structured programming, Object pascal is an extension of this and is still in my mind the best language to teach someone how to program in. The syntax is clear and memory management is easy you create an class instance with it's "Create" method and get ride of it with "Destroy"(this is a virtual destructor) negating all the trouble you have with memory management in C and C++.
#20 Members - Reputation: 3283
Posted 05 December 2012 - 09:38 AM
It sucked, hard. Making me develop an unfair hatred of the Pascal language that took many years to shake. Learning tools that force you into a sandbox and dont let you out are evil and should go the way of the dodo.
I'm not hating on Pascal, just my experiences with a (variant) of it. Unless you went through high school in the Ontario school system quite a while ago, you probably never had to face this particular POS implementation.
Edited by Serapth, 05 December 2012 - 09:39 AM.






