Re: Support for Private class/object methods

2023-08-27 Fir de Conversatie Doug Kearns
On Fri, 25 Aug 2023 at 15:21, Ernie Rael wrote: > On 23/08/24 9:10 PM, Doug Kearns wrote: > > On Fri, 25 Aug 2023 at 13:18, Yegappan Lakshmanan > wrote: > >> Hi all, >> >> The following item is in the todo.txt file for implementing private >> methods in a class: >> >> - Private methods? >>

Re: Support for Private class/object methods

2023-08-26 Fir de Conversatie shane.qian
On 23/08/26 03:08PM, shane.qian wrote: > > > If "public" is omitted, shouldn't class members and method be private by > > > default just like "def" functions > > > and script variables are script-local by default unless prefixed with > > > "export"? > > > > > > > Currently object/class methods a

Re: Support for Private class/object methods

2023-08-26 Fir de Conversatie shane.qian
> > If "public" is omitted, shouldn't class members and method be private by > > default just like "def" functions > > and script variables are script-local by default unless prefixed with > > "export"? > > > > Currently object/class methods are always public and the object/class > private metho

Re: Support for Private class/object methods

2023-08-25 Fir de Conversatie Yegappan Lakshmanan
On Fri, Aug 25, 2023 at 3:50 PM Ernie Rael wrote: > > On 23/08/25 2:07 PM, bfrg wrote: > > If "public" is omitted, shouldn't class members and method be private by > default just like "def" functions and script variables are script-local by > default unless prefixed with "export"? > > In general

Re: Support for Private class/object methods

2023-08-25 Fir de Conversatie Yegappan Lakshmanan
Hi, On Fri, Aug 25, 2023 at 2:07 PM bfrg wrote: > > If "public" is omitted, shouldn't class members and method be private by > default just like "def" functions > and script variables are script-local by default unless prefixed with > "export"? > Currently object/class methods are always publi

Re: Support for Private class/object methods

2023-08-25 Fir de Conversatie Ernie Rael
On 23/08/25 2:07 PM, bfrg wrote: If "public" is omitted, shouldn't class members and method be private by default just like "def" functions and script variables are script-local by default unless prefixed with "export"? In general, I would also like it to be symmetric. So, either introducing

Re: Support for Private class/object methods

2023-08-25 Fir de Conversatie bfrg
If "public" is omitted, shouldn't class members and method be private by default just like "def" functions and script variables are script-local by default unless prefixed with "export"? In general, I would also like it to be symmetric. So, either introducing "public" and "private" together, o

Re: Support for Private class/object methods

2023-08-25 Fir de Conversatie Ernie Rael
On 23/08/24 9:22 PM, shane.qian wrote: On 23/08/24 08:18PM, Yegappan Lakshmanan wrote: Hi all, The following item is in the todo.txt file for implementing private methods in a class: - Private methods? either: private def Func() or: def _Func() Perhaps use "private

Re: Support for Private class/object methods

2023-08-24 Fir de Conversatie shane.qian
On 23/08/24 08:18PM, Yegappan Lakshmanan wrote: > Hi all, > > The following item is in the todo.txt file for implementing private > methods in a class: > > - Private methods? > either: private def Func() > or: def _Func() > Perhaps use "private" keyword instead of "_" pre

Re: Support for Private class/object methods

2023-08-24 Fir de Conversatie Ernie Rael
On 23/08/24 9:10 PM, Doug Kearns wrote: On Fri, 25 Aug 2023 at 13:18, Yegappan Lakshmanan wrote: Hi all, The following item is in the todo.txt file for implementing private methods in a class:  - Private methods?         either: private def Func()             or: def

Re: Support for Private class/object methods

2023-08-24 Fir de Conversatie Yegappan Lakshmanan
Hi, On Thu, Aug 24, 2023 at 9:11 PM Doug Kearns wrote: > > On Fri, 25 Aug 2023 at 13:18, Yegappan Lakshmanan wrote: >> >> Hi all, >> >> The following item is in the todo.txt file for implementing private >> methods in a class: >> >> - Private methods? >> either: private def Func() >>

Re: Support for Private class/object methods

2023-08-24 Fir de Conversatie Yegappan Lakshmanan
Hi, On Thu, Aug 24, 2023 at 8:50 PM Ernie Rael wrote: > > On 23/08/24 8:18 PM, Yegappan Lakshmanan wrote: > > Hi all, > > > > The following item is in the todo.txt file for implementing private > > methods in a class: > > > > - Private methods? > > either: private def Func() > >

Re: Support for Private class/object methods

2023-08-24 Fir de Conversatie Doug Kearns
On Fri, 25 Aug 2023 at 13:18, Yegappan Lakshmanan wrote: > Hi all, > > The following item is in the todo.txt file for implementing private > methods in a class: > > - Private methods? > either: private def Func() > or: def _Func() > Perhaps use "private" keyword instead o

Re: Support for Private class/object methods

2023-08-24 Fir de Conversatie Ernie Rael
On 23/08/24 8:18 PM, Yegappan Lakshmanan wrote: Hi all, The following item is in the todo.txt file for implementing private methods in a class: - Private methods? either: private def Func() or: def _Func() Perhaps use "private" keyword instead of "_" prefix? Functi

Support for Private class/object methods

2023-08-24 Fir de Conversatie Yegappan Lakshmanan
Hi all, The following item is in the todo.txt file for implementing private methods in a class: - Private methods? either: private def Func() or: def _Func() Perhaps use "private" keyword instead of "_" prefix? Function and method names always start with an uppercase let