Re: .NET is much worse than VCL

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Jaakko Salmenius" <jaakko.salmenius (at) nospam gmail.com> wrote in message
news:ewrKXUGyHHA.1212@xxxxxxxxxxxxxxxxxxxxxxx
I have been used .NET for few years. Before that I used Delphi (VCL) for
many years. My conclusing is that .NET is much worse than VCL. Here are the
reasons:

1) VCL comes with full source code. .NET has none. Even if the
documetation is good nothing beat source code that you can use to check
how framework really works

If you need source code to figure out how things work, you can reverse
engineer it using tools like Reflector. .NET code is byte code. This means,
unless obfuscated (etc.), it is an open book.

2) No possibility to include 3rd party libraries inside the EXE. Delphi
can put eveything inside one EXE. No need to deploy and maintain several
DLLs.

Monlithic applications are things that most people have shied away from.
With the interactivity of bits, you are more prone to errors if you embed
everything. In addition, you cannot update one piece of the software when
everything is in the EXE without updating the entire EXE. While you might be
more familiar with this methodology, I am not sure it is something most
people would want, as it reduces maintainability and extensibility. If you
absolutely need to deploy several DLLs as one big monolithic chunk, you can
do it with the al.exe tool.

3) .NET needs huge and exactly right runtime enviroment. VCL produces
plain and simple WIN32 EXEs

So, you like the runtime embedded in the OS instead of on top? The COM
Framework is much larger than .NET, but it is hidden from you. As time goes
by (say with an operating system named something like Vista) the Framework
will be included in the OS, so it will be hidden from you, as well. But,
both runtimes are still large and still there.

4) Localization support for .NET is a joke. .resx format is very bad. It
does not contains complete imformation about the form (e.g hierarcy). VCL
DFM contains eveything your need. In .NEt you have to actually disassebly
.EXE or analyze source code to dig out all the information needed for
proper localization. Also this Localizable property is bad. You have to
turn it on every for single form. In VCL eveything is localizable by
default. Also satellite assembly must be in a separate sub directory.

resource files are one way to localize, and you can compile them into
libraries, if you want to reuse them. You can also easily extend with custom
resource providers.

5) 3rd party controls are hard to install manually and really huge
compared to VCL's counterparts.

This might be true for some, but I have never had an issue with any third
party control I have used.

There is some many things .NET that is fundamentally flaw. I am unhappy to
the fact this this is the enviroment we have to cope for the next 10-15
years.

I think you just have not made the paradigm shift in thinking yet. Most of
what you state here are, from my experience with a variety of languages,
detriments for VCL rather than strong points. In many ways, it is like
listening to the ASP programmers when .NET first came out. Most of them have
now assimilated and find .NET a much better environment.

Please note, I am not saying all of the features you desire are wrong, as
they are not. I just do not see them as features that should be used for
every application. IN fact, I see they are specialty cases, when it comes to
a disconnected world.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************


.



Relevant Pages

  • Re: whats superior in Delphi W32 than in .NET?
    ... After using VCL for win32 develop database application for years, I start looking for alternative solution to my application development work. ... ..NET Framework is around for some time since it's announcement and it's something that's hard to ignore it's existence. ... Report Builder and Fast Report are good enough. ... Source Code Navigation and Refactoring ...
    (borland.public.delphi.non-technical)
  • Re: An abstract question! Component writers knowledge about protected methods?
    ... protected member in the VCL or RTL source code or elsewhere, or not, ... we can just find out the formal parameters of protected methods by ... inspecting the VCL or RTL source code? ...
    (alt.comp.lang.borland-delphi)
  • Re: QC reports fixed in update 3
    ... source code is identical for Update #2 and #3. ... So either my update didn't happen properly, I cocked up the comparison, or update #3 is just screwed up with the VCL part of the update? ... After comparing the two using Beyond Compare this is the report I get back (Left Side refers to Delphi 2005 with Update #2, ... FOLDER COMPARISON ...
    (borland.public.delphi.non-technical)
  • Can GPL be used with VCL applications
    ... Can the GNU Public License (GPL) be used with VCL applications? ... I have no problem with distributing my own source code ...
    (borland.public.delphi.non-technical)
  • Re: Hex Editor & VB6
    ... recent that the EXE is built from. ... every single instance of this string needs to be changed in the EXE. ... Are you absolutely sure that the string "@foober.com" is contained in the source code you compiled from in exactly that fashion (as a specific "whole string" within a Case statement or something similar? ... If you cannot find the string in your own compiled exe then are you sure that the above lines of code were actually contained within the source code when you compiled it, and that you performed a standard native code or pcode compile and have not used anything and the source code does not contain anything that might deliberately make the string difficult to find? ...
    (microsoft.public.vb.general.discussion)