Sign in Join

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

Mailing lists / lazarus / 2003-09

maskedit vs mask

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner
to Andrew Johnson: I just tried porting a basic db test app from delphi to lazarus with my contorls, and…
Show quoted text 27 lines
At 00:27 15-9-2003, Mattias Gaertner wrote: >On Sun, 14 Sep 2003 14:51:53 -0400 >Andrew Johnson wrote: > > > I just tried porting a basic db test app from delphi to lazarus with > > my contorls, and found that at least in my D4 there is no > > MaskEdit.pas, its called Mask.. Do we want to change the name for > > compatibility? I know we have to include extra files in a few cases, > > but not sure how wise name changes are if we want ease of conversion. > > Its not a big deal to me really, just thought I should make sure it > > gets brought up. :) > >Just my personal two cents: >It is just an identifier, so I have no problem to rename it, if this >makes porting code easier. >But: >1. IMO "mask" is not a descriptive name for this unit. >2. IMO it is a bad idea to call an unit like a common identifier. >3. Delphi compatibility is a nice feature, but there are places, where >I'm sure, borland themselves would change it, if they could. Indeed, if you look at D4,5,6,7 unit names and contents change >BTW, I think, we should rename LCLLinux. Any suggestions? >It contains the functions to the LCL interfaces. Maybe LCLIntf. Your reading my mind :-)

No problem. ;)

A few days ago I was thinking the same, only didn't mail about it. I was also thinking about LCLIntf

It's a frequently used unit, so I will wait with the rename for other comments.

Mattias

Reply by email

Mattias Gaertner
to Andrew Johnson: I just tried porting a basic db test app from delphi to lazarus with my contorls, and…
Show quoted text 6 lines
I just tried porting a basic db test app from delphi to lazarus with my contorls, and found that at least in my D4 there is no MaskEdit.pas, its called Mask.. Do we want to change the name for compatibility? I know we have to include extra files in a few cases, but not sure how wise name changes are if we want ease of conversion. Its not a big deal to me really, just thought I should make sure it gets brought up. :)

Just my personal two cents:
It is just an identifier, so I have no problem to rename it, if this makes porting code easier.
But:
1. IMO "mask" is not a descriptive name for this unit.
2. IMO it is a bad idea to call an unit like a common identifier.
3. Delphi compatibility is a nice feature, but there are places, where I'm sure, borland themselves would change it, if they could.

BTW, I think, we should rename LCLLinux. Any suggestions? It contains the functions to the LCL interfaces. Maybe LCLIntf.

Mattias

Reply by email

Marc Weustink
to Andrew Johnson: I just tried porting a basic db test app from delphi to lazarus with my contorls, and…
Mattias Gaertner wrote 18 lines
On Sun, 14 Sep 2003 14:51:53 -0400 Andrew Johnson wrote: > I just tried porting a basic db test app from delphi to lazarus with my > contorls, and found that at least in my D4 there is no MaskEdit.pas, its > called Mask.. Do we want to change the name for compatibility? I know we > have to include extra files in a few cases, but not sure how wise name > changes are if we want ease of conversion. Its not a big deal to me > really, just thought I should make sure it gets brought up. :) Just my personal two cents: It is just an identifier, so I have no problem to rename it, if this makes porting code easier. But: 1. IMO "mask" is not a descriptive name for this unit. 2. IMO it is a bad idea to call an unit like a common identifier. 3. Delphi compatibility is a nice feature, but there are places, where I'm sure, borland themselves would change it, if they could.

Indeed, if you look at D4,5,6,7 unit names and contents change

BTW, I think, we should rename LCLLinux. Any suggestions? It contains the functions to the LCL interfaces. Maybe LCLIntf.

Your reading my mind :-)

A few days ago I was thinking the same, only didn't mail about it. I was also thinking about LCLIntf

Marc

Reply by email

Andrew Johnson

I just tried porting a basic db test app from delphi to lazarus with my contorls, and found that at least in my D4 there is no MaskEdit.pas, its called Mask.. Do we want to change the name for compatibility? I know we have to include extra files in a few cases, but not sure how wise name changes are if we want ease of conversion. Its not a big deal to me really, just thought I should make sure it gets brought up. :)

Andrew

Reply by email