>> > Forward declarations of functions and procedures makes it
>> > easier to know what all is in the bloody unit/module. too.
>> If you want to document your class methods and variables, nothing is
>> stopping you from doing it in comments I just don't like being forced to
>> do
>> it. Honestly, I would settle for the auto procedure create keystroke to
>> create default parameters in the type and not forget about them and
>> generate
>> compile errors.
>
> Well, how do you like the fact that you have to pre-define all Windows API
> calls? I find that VB severely lacks in that regard. Having the Windows
> and
> Messages units makes my life a LOT easier than having to write:
I am not saying Delphi doesn't have a lot of great features. It does and I
love it, but that doesn't mean there isn't room for improvement. It doesn't
have to be all or nothing at least when dreaming of a better language and
IDE. I love the API defines and even though you can buy API packs for other
languages it is great that Borland sends it with the product. I don't think
you will get any arguement on that point from anyone here. I would also add
the source to the components was a stroke of genius. I don't think a year
goes by that I don't learn some cool new trick out of the code they ship.
> Private Declare Function TextOut Lib "gdi32" Alias "TextOutA" (ByVal hdc
> As
> Long, ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal
> nCount
> As Long) As Long
This is crappy VB code as usual and there isn't anything a user can do about
it, but I am not going to debate which language is flat out better. I was
just making suggestions for how some other languages do some things better
and it would be nice if Pascal as a language could evolve into using them.
> Also, I absolutely HATE the use of the ' as a COMMENT notifier and the
> utter
> lack of a multi-line comment in VB.
No arguments, but I am not a fan of the { } as comment lines. Too many
other languages use them as begin/end statements and often looks confusing
to non-Delphinians (word?). If I were to start over, I would keep the (*
which isn't as standard as \*, but it is a lot easier to type. Course one
could make a good argument that it is more logical since \\ is an in-line
comment.
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk