Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-03

Name conflict issue.

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

Hello,

Just so there isn't any doubt:

1) We WILL support using parameters for methods that have the same name as a property. As a matter of compatibility.

2) That we think that it is bad programming to do so is a personal opinion of the developers, even if, stricktly speaking, it is correct in the syntactical/semantical sense.

Point 1 will ensure that we'll do it, point 2 just means that we're not in a hurry. When we implement it, will be a nice surprise for you guys...

I hope this settles all questions regarding this subject :-)

Michael.

Reply by email

Florian Klaempfl
to Michael Van Canneyt
Show quoted text 12 lines
Hello, Just so there isn't any doubt: 1) We WILL support using parameters for methods that have the same name as a property. As a matter of compatibility. 2) That we think that it is bad programming to do so is a personal opinion of the developers, even if, stricktly speaking, it is correct in the syntactical/semantical sense.

I still think that Delphi is very inconsistent in this point: method and field names aren't allowed.

Reply by email