RE: Re: Re: Re[2]: Re: class proposal
"Mark Hahn" <[email protected]> Thu, 15 Jul 2004 11:32:30 -0700
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <000b01c46a9a$166ff3c0$0b01a8c0@mark> |
Christian Tismer wrote: > And in Prothon the "!" or bang symbol has a meaning: > change an object in place and return it. Have you noticed > the append! for lists, etc. > > Yes, sure. It may make sense, but it is really ugly for me. > Another thing I might put into an editor: Hide or unhide the > decoration characters. They could show up as colors. I'd > extend my proposal to also disallow coexistence of the > decorated with the undecorated version. Ahem :-) The ! And ? Characters in a name are not decorators, they are significant. This is what allows us to have both File.open() and File.open?(). Python was forced to have file.closed(). Not only is it harder to tell which is a command and which is a question in Python, but you have the illogical negative-based question in Python.