[fpc-devel] type discussion

Jamie McCracken jamie-junk at blueyonder.co.uk
Thu Jun 2 15:52:13 CEST 2005

Micha Nelissen wrote:
> On Thu, 02 Jun 2005 14:22:55 +0100
> Jamie McCracken <jamie-junk at blueyonder.co.uk> wrote:
>>>In terms of _written_ or in terms of _working_ lines of code? :->
>>Dont kid yourself - a lot of my fellow Delphi programmers have dumped it 
>>for C# already so it is really worrying for me espcially with borland 
> C# is very much like delphi, not at all like Python. What were their reasons to switch ?

Because its so close to Delphi and they have switched because they found 
it more productive. No forward declarations, garbage collection and a 
richer framework has made them switch to the dark side. We need to fight 

> Python is hard to read, especially if multiple blocks are closed at once, then it's hard to see what block a line belongs to (because of missing 'end' or '}').

not true because of the indenting (use bigger indents!). Im not saying 
python is great I just envy *some* of its shorter syntax and it would be 
so cool if Delphi/pascal did likewise - we could blow all these inferior 
languages away.

> I also don't like the magic. For example the 'mystrings.create;' example you mentioned, it's *totally* not consistent with regular syntax: mystrings.create means call "TStringList.Create" on the object pointed to by the mystrings variable.

Well pascal in the only mainstream langugae that does that - I dont see 
the pont and it aint magic.


More information about the fpc-devel mailing list