Re: distinguishing getters and setters
[email protected] Thu, 18 Sep 2003 15:16:04 -0400
| Newsgroups | gmane.comp.programming.tools.fit.devel |
|---|---|
| Message-ID | <[email protected]> |
----- Original Message ----- From: "Micah Martin" <[email protected]> To: "'FIT Developers'" <[email protected]> Sent: Thursday, September 18, 2003 2:08 PM Subject: RE: [Fit-dev] distinguishing getters and setters > > -----Original Message----- > > From: Jim Little [mailto:[email protected]] > > > > If we were to change the convention, I would like us to make > > getters use > > a question mark and setters to use nothing. > > > > I like the idea of question marks for getters. That would get my vote. I like the question mark as well. Besides Dylan, it's also the convention in Ruby. The problem with the equal sign is that spreadsheets sometimes make it difficult to start a string with one. John Roth > > Micah