Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Tim
This would certainly be a nice feature to have, especially if you've done any development with Java or C++ in the past. Many PHP class authors adopt a convention that variables or functions that start or end in an underscore (_) should be treated as private and used at your own risk, i.e. they

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Emile Bosch
thanks tim, but do you know wheter they are gonna implement such a feature cuz that's somethgin that the language actually must have to become really professional or somethign, i wish i could do cprogramming myself cuz then i would have implemented it a long time ago :-) Seen ur site by the way,

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Jason Stechschulte
On Wed, Sep 19, 2001 at 03:24:31PM +0200, Emile Bosch wrote: thanks tim, but do you know wheter they are gonna implement such a feature cuz that's somethgin that the language actually must have to become really professional or somethign. The language is already quite professional. Yes a

RE: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Neil Kimber
September 2001 15:13 To: Emile Bosch Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Protecting variables and functions? Like C# On Wed, Sep 19, 2001 at 03:24:31PM +0200, Emile Bosch wrote: thanks tim, but do you know wheter they are gonna implement such a feature cuz that's somethgin that the language

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Tim
Private methods and variables are necessary for any serious language that supports class libraries, IMHO. There are currently some manual methods (i.e. naming conventions) of accomplishing this, but for the best results it should be enforced by the compiler/interpreter. Some might also say that

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Emile Bosch
yet. -Original Message- From: Jason Stechschulte [mailto:[EMAIL PROTECTED]] Sent: 19 September 2001 15:13 To: Emile Bosch Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Protecting variables and functions? Like C# On Wed, Sep 19, 2001 at 03:24:31PM +0200, Emile Bosch wrote

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Mark Charette
- Original Message - From: Tim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 9:35 AM Subject: Re: [PHP] Protecting variables and functions? Like C# Private methods and variables are necessary for any serious language that supports class libraries, IMHO