 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Gbenga Abimbola Guest
|
Posted: Fri Aug 19, 2005 12:13 pm Post subject: Stop Calling Delphi "Object Pascal" |
|
|
I suggest that everyone stop calling Delphi Object Pascal since
it negates the power of the language. Moreover, I have suggested
in the past that Delphi be re-architected to use the curly
braces, since this style is most appealing to C, C++, Java, C#,
even Flash programmers.
Here is how the future statement would look like:
if (x = 5) {
y := 10;
z := 20;
}
if (x = y)
y := z;
With the above syntax, Pascal's association with Delphi will
be forgotten, once and for all. Thus bringing Delphi to the
league of sexy languages like C, Java and C#. Even Delphi is
elegant, but its beauty is masked by begin-end clauses. But
wait, isn't beauty is in the eyes of the beholder? Perhaps
not every time.
Like someone said in this forum, changing Delphi to join the
league of C-like structure may sound ridiculous, but to me,
this is the simplest way to shed the "Pascal" stigma.
Then what about other Delphi programs written with
the begin-end clauses? Simple: Re-write them with the new
syntax or continue to modify them with Delphi version that
was used to write them. Besides, in re-writing your programs,
you would discover a lot of flaws that were elusive in the
first place.
Long Live Delphi!
Gbenga
|
|
| Back to top |
|
 |
Guest
|
Posted: Fri Aug 19, 2005 12:29 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
"Gbenga Abimbola" <gabimbola (AT) columbus (DOT) gov> writes:
| Quote: | it negates the power of the language. Moreover, I have suggested
in the past that Delphi be re-architected to use the curly
braces, since this style is most appealing to C, C++, Java, C#,
even Flash programmers.
Here is how the future statement would look like:
if (x = 5) {
y := 10;
z := 20;
}
if (x = y)
y := z;
|
Has April 1 come around again ?
--
Seek simplicity and mistrust it.
Alfred Whitehead
A witty saying proves nothing.
Voltaire
|
|
| Back to top |
|
 |
Dave Nottage [TeamB] Guest
|
Posted: Fri Aug 19, 2005 12:33 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Gbenga Abimbola wrote:
| Quote: | I suggest that everyone stop calling Delphi Object Pascal since
it negates the power of the language.
|
You mean as far as marketing "power"?..
| Quote: | Moreover, I have suggested
in the past that Delphi be re-architected to use the curly
braces, since this style is most appealing to C, C++, Java, C#,
even Flash programmers.
|
...I guess you really do mean marketing power.
Tee hee.
--
Dave Nottage [TeamB]
|
|
| Back to top |
|
 |
Bob Swart Guest
|
Posted: Fri Aug 19, 2005 12:37 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Hi Gbenga Abimbola,
| Quote: | Moreover, I have suggested in the past that Delphi be re-architected
to use the curly braces, since this style is most appealing to C, C++,
Java, C#, even Flash programmers.
|
Feel free to use the C# personality of Delphi 2005... The power of
Delphi with the curly braces of C[whatever] ;-)
Groetjes,
Bob Swart (aka Dr.Bob - www.DrBob42.com)
--
Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner
Delphi 2005 self-study training books: http://www.drbob42.com/training
|
|
| Back to top |
|
 |
Francois Malan Guest
|
Posted: Fri Aug 19, 2005 12:40 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Gbenga Abimbola wrote:
| Quote: |
snip
Then what about other Delphi programs written with
the begin-end clauses? Simple: Re-write them with the new
syntax or continue to modify them with Delphi version that
was used to write them. Besides, in re-writing your programs,
you would discover a lot of flaws that were elusive in the
first place.
Long Live Delphi!
Gbenga
|
Wow..... isn't... uhhm... you see.... The thing is.... On the other
hand.....
Oh well, I am left speechless for the moment, will try to reply a
little later.
|
|
| Back to top |
|
 |
Francois Malan Guest
|
Posted: Fri Aug 19, 2005 12:52 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Francois Malan wrote:
| Quote: | Gbenga Abimbola wrote:
snip
Then what about other Delphi programs written with
the begin-end clauses? Simple: Re-write them with the new
syntax or continue to modify them with Delphi version that
was used to write them. Besides, in re-writing your programs,
you would discover a lot of flaws that were elusive in the
first place.
Long Live Delphi!
Gbenga
Wow..... isn't... uhhm... you see.... The thing is.... On the other
hand.....
Oh well, I am left speechless for the moment, will try to reply a
little later.
|
Much later, when I am drunk.
|
|
| Back to top |
|
 |
Chris Morgan Guest
|
Posted: Fri Aug 19, 2005 1:00 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Huh?
Cheers,
Chris
|
|
| Back to top |
|
 |
Anders Isaksson Guest
|
|
| Back to top |
|
 |
Kristofer Skaug Guest
|
Posted: Fri Aug 19, 2005 1:14 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Francois Malan wrote:
| Quote: |
Much later, when I am drunk.
|
Get some strong liquor, we can't afford to wait around here...
It *is* already Friday afternoon...
--
Kristofer
|
|
| Back to top |
|
 |
Francois Malan Guest
|
Posted: Fri Aug 19, 2005 1:20 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Kristofer Skaug wrote:
| Quote: | Francois Malan wrote:
Much later, when I am drunk.
Get some strong liquor, we can't afford to wait around here...
It is already Friday afternoon...
|
Right. Some Green Island RUM. After the second bottle, I will install
D5 and start rewriting all my old Applications. :)
|
|
| Back to top |
|
 |
Kristofer Skaug Guest
|
Posted: Fri Aug 19, 2005 1:21 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Gbenga Abimbola wrote:
| Quote: |
Here is how the future statement would look like:
|
In many font types and screen resolutions it is hopeless to tell curly
braces apart from normal brackets - that is, if you can see them at all.
It is the single biggest curse of the C-family of languages, and about as
'sexy' as a heap of toenail clippings!
..... imho.
--
Kristofer
|
|
| Back to top |
|
 |
Uffe Kousgaard Guest
|
Posted: Fri Aug 19, 2005 1:30 pm Post subject: Re: Stop Calling Delphi |
|
|
| Quote: | Interesting points would be adding a multi pass compiler ...
Why would you care how many passes the compiler makes through your
source code?
|
Multi is sexy - single is not sexy :-)
|
|
| Back to top |
|
 |
Arnie Guest
|
Posted: Fri Aug 19, 2005 1:34 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
"Gbenga Abimbola" <gabimbola (AT) columbus (DOT) gov> wrote
| Quote: |
I suggest that everyone stop calling Delphi Object Pascal since
it negates the power of the language. Moreover, I have
suggested
in the past that Delphi be re-architected to use the curly
braces, since this style is most appealing to C, C++, Java, C#,
even Flash programmers.
|
That's really funny. I have been a C/C++ programmer for more
years than I care to remember, but did use Delphi 1.0 at one
point.
Long ago we hired a guy who was a Delphi programmer and loved it,
naturally. He hated all those {} in C. So he set out to write a
set of macros for himself. For example:
#define BEGIN {
Of course, there was a lot more to it than that. Unfortunately,
he didn't tell anyone he was doing it. It didn't work out too
well once someone saw his code.
So, if I'm a C++'er, what am I doing here? The BCB non-tech
group is dead as a doornail. And, I do pick up some useful
non-Delphi info besides.
- Arnie
|
|
| Back to top |
|
 |
Kristofer Skaug Guest
|
Posted: Fri Aug 19, 2005 1:36 pm Post subject: Re: Stop Calling Delphi "Object Pascal" |
|
|
Francois Malan wrote:
| Quote: |
Right. Some Green Island RUM. After the second bottle, I will install
D5 and start rewriting all my old Applications.
|
"burp, wa-happund to da-Dee-Ewnitt tesht?
lookie cute pink blotch, mushbe unel-uphant-hic!
oh girly curlsh with bracious, you make
ShysUtilsh.ShecsPerDay look verr-hic int-ressting..."
-
Kristofer
|
|
| Back to top |
|
 |
Robert Giesecke Guest
|
Posted: Fri Aug 19, 2005 1:39 pm Post subject: Re: Stop Calling Delphi |
|
|
Sorry, that doesn't make _any_ sense to me.
I'm by no means one of the usual Delphi advocates, but that is way to much
to bear. *ROFL* *almost dead*
Curly braces or begin/end or soooo uninteresting. They won't make a
difference in why you'd choose a language.
Interesting points would be adding a multi pass compiler and dump
constructors looking like class methods , allow inline variable
declaration, etc.
But then it wouldn't be Delphi any more (OK, I'd love a multipass compiler
), it would be Chrome.
That's the same thing I can't understand about FreePascal. IMO, it's
pointless to copy another language.
It's even more pointless to cut down a language to be somewhat "apealing"
to someone.
--- posted by geoForum on http://delphi.newswhat.com
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|