At the disadvantages topic there is stated that delphi only supports interface polymorphism. This is SO untrue! Delphi, in fact, was one of the first object o
| This redirect was nominated at Wikipedia:Redirects for discussion on 10 September 2021. The result of the discussion was retarget. |
At the disadvantages topic there is stated that delphi only supports interface polymorphism. This is SO untrue! Delphi, in fact, was one of the first object oriented languages with a visual form designer available for windows... i'm talking early 90's here!... I won't edit the article myself, since i'm not a wikipedia contributer. —This unsigned comment was added by 193.244.32.140 (talk • contribs) .
I removed, "The class helpers concept was implemented by Chuck (Charles) Jazdzewski (who went on to Microsoft to work on XAML) and implemented in C# 3.0 as extension methods." for a couple reasons. First, although I appreciate the call-out, pointing out that I implemented them has no real value. Second, C# 3.0 proposed extension methods, although similar in concept, are much different than class helpers. Chuck Jazdzewski
I reacted to this: "the successor, C#, to one of today's most popular programming languages, C++." Very NPOV. What concensus is there on C# being the "successor" of C++? C# is a commercial project that appropriated the C prefix and cleverly added two more pluses ("++" --> "#") but that does not make it the "successor" to C++ more than the D language is. -- Mikademus
Afaik Delphi isn't even a programming language, it's the name of a Borland programming tool in which you use Object Pascal to program. In that case, the article title would be incorrect. And further... Why am I getting the impression that this text was ripped out of some advertizement broschure for Deplhi?
Yes, it was even formalised into an Object Pascal standards draft. Borland based on this draft for Delphi (though it kept _some_ compability with the old TP objects too). So Delphi is more or less a Borlandified version of that Apple dialect (I have Think Pascal manuals, and the dialect for objects is the same) Marco van de Voort
What does it mean when it says "Not a top-tier language" in the disavantages? That should be explicit in the article. The first thing I thought was that it wasn't suitable for b2b, but the enterprise and architect versions are mostly directed twards that. If it means the language is not a formal standard, the line saying "Partial vendor lock-in" is enough to describe that.
In the list of cons, the article says "Access to platform and third party libraries require header files to be translated to Pascal." Personally, I fail to see how this is a disadvantage. If I write a useful library in Pascal, then C programmers would have to create headers for it, so why isn't that in a list of C/C++ disadvantages? I just think that there is probably a better way to say this without saying what amounts to, "Delphi sucks because it's not compatible with C" (which IMO, is the best feature any programming language can have). I hope you guys, who are experienced with editing Wikipedia, can come up with an appropriate wording.
"Delphi 2005 (brand name for Delphi 9) provides both win32 and .NET code generation (...)" - win32 needs to be substituted with a phrase that has a clearer meaning. Silver hr 03:45, 21 Jun 2005 (UTC)
Should these topics be separated? There's an article about Pascal, but it doesn't discuss extensions made by Borland (object-orientation).
And I really hate to see Delphi categorized as .NET language. It isn't, not even close. Common code doesn't compile under .NET, only thoroughly .NETified or trivial code does. ... And strangely enough it is not categorized as object oriented. If C++ is OOP, so is Delphi. Marco van de Voort
I removed the garbage collection notes because nearly every lined contained a flaw, amongst others:
Or in general: the paragraph was about how Java/.NET do it, not about GC an sich. And notes about Java/.NET CLR explanation doesn't belong here, see their respective pages for that. Marco van de Voort
I added the section on GC as I thought it not fair to flag up a language as deficient for not having garbage collection. Hence the reference to C# and Java both of which use the platform and not the language to achieve GC. In other words although there are languages which compile with GC built in, you would not normally expect a compiled (as opposed to interpreted) language to handle garbage collection. The very nature of GC is something you DON'T have to do. When C++ is fitted with GC it is done by providing replacement memory allocators, and either the source code that implements the GC or links to binaries that implement it. In both cases the C++ language is not changed and is not providing the benefit. The same GC tools can be plugged into delphi on win32, so in this case has the language been adapted to get GC? The language in all these examples is not providing the benefit.
.. Yes, I agree GC is not a deficient. (I changed it from a disadvantage to the current text that opinions vary). A lot of beginners simply can't program without GC. (Zomg!! :)) )
Ok Removed section on garbarge collection. Reference counting is not GC. GC as implemented in most platforms requires replacement Mem Alloc and De-Alloc routines which can easily be used by dephi as shown in Delphi's use of GC in the .NET version and the ability to use WIN32 replacement Memory Managers which will give you GC on all memory not just strings and interfaces.
A simple question If GC should be considered part of the language, then what is the construct or call you make to free the memory automatically?
Also removed the comments on Top Tier language Delphi is considered a Main stream language. Source: Programming Community Index Also added some real issues with Delphi so you do not think I am a delphi zealot
Ref counting is GC. There are no such requirements. Not everything GC is abotu OOP/.NET/JVM. However in this case your definition is easier to understand I think without integrating a complete GC chapter. And GC is not easily used in Delphi. For Delphi.NET so many mods are necessary to support GC that I regard Delphi.NET as a separate product line from Delphi. (so D8 or D2005 compiling for .NET). I already stated this before. IMHO BCB is closer to Delphi than Delphi.NET
GC "part of the language" is hard. Delphi does GC as part of the language for strings and interfaces (ref counting). Just not for everything. And there is no fixed way. Some types of GC (like ref counting) call something on exit-of-scope. Some (like Boehm style) call it regularly in a separate thread or in code. With a lot of Boehm style collectors one can often forcedly call the GC to force it to clean too.
The Top Tier part is hard. Your own "issues" you added confirm that, since they are pretty much in the same category. Microsoft Visual C++ and VB6 are then the only really Top Tier ones, since they are the only ones for which you can find an example for nearly every aspect of windows. Such code will typically not compile with a different C++ compiler.
However I agree Delphi is at least partially top tier, the existance of a large commercial components market makes it more top tier than most other platforms (VB and VC++ excluded). In that light I agree with your decision to remove the remark
Note that I give a lot of comments, but didn't change anything, I agree with the changes :) Marco van de Voort
I disagree on the "cons" of the delphi language, its says:
-- Alfredo Ortega
(Alfredo: I numbered your points to make it easier to reply to, hope you don't mind)
1. GPC is not even Delphi compat, anyway, both fall under the compatibles. Do you really think if FPC implements an extension, that Borland will follow it and remain compatible with FPC?
2. If I try to look at it as positive as possible, then Kylix is in the fridge (and i only say that to not have to say it is dead). Moreover it is linux/x86 and highly distro dependant. Where is Mac OS X, where are the 64-bit platforms? And even if it had those, it would only be a pale comparison to e.g. the number of platforms where most competitors except Microsoft can run on.
3. I personally translated large sets of headers to Pascal for FPC. Thinks like commctrl etc. If you really have one that works, let me know (hint: there isn't any)
4. That's exactly what I mean. If it is not in unit windows (which pretty much contains the win98 win32 API), you have to translate it yourself from a VB or C prototype. It is hard to get up to date info with examples and prototypes in the Delphi language
-- Marco van de Voort
Borland has choosen to divest itself of Delphi. It has been openly discussed that some current Borland managers will move to the head of a new company that will own Delphi. This shows that the new company will be a spin off rather than an outright Delphi purchaser. After this spin off, if Borland were to fold or acquired, this action will preserve Delphi's owners/managers postions. If you want to edit out these facts, please provide an argument here. Sysrpl 16:58, 4 March 2006 (UTC)
This article talks about a programming language and Delphi is just an IDE which uses that language. The language is commonly known as Object Pascal or Delphi Pascal. Someone who knows how to use wiki proper, unlike me: please fix this.
I've split Delphi IDE information into Borland Delphi. Delphi product information should go there. This article should be for the Delphi Pascal language itself. Please change. thx
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.