vote on prop keyword
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Currently I have implemented a "prop" keyword and it is even in the
tutorial. I thought we discussed this but apparently I imagined it because
I couldn't find it in the archives. The "prop" keyword is just syntax
sugar. This is how a property looks without the keyword:
object Widget:
price = 3.72
object tax(Property):
def get_():
return self.price * 0.03
This is the same thing with the "prop" keyword as syntax sugar:
object Widget:
price = 3.72
prop tax:
def get_():
return self.price * 0.03
Vote FOR the keeping the keyword or AGAINST the keyword and just typing out
the object statement.
If you feel the keyword should be spelled differently then save that for a
different discussion and don't let that effect your vote. We can change the
keyword spelling.