Personally I don't like Pragmas, they have not convinced me so far that they fit the style of Smalltalk syntax. I have to confess though I never liked descriptive elements and languages .
About python decorators I disagree that are similar to pragmas. Pragmas are focused on being descriptive , python decorators are descriptive as by product. The main focus of python decorators is to shorten code by introducing syntactic sugar. I agree though this is a very interesting discussion and I dont understand most of the things stated here so I leave an open door and mind for pragmas. Maybe one day I will "get it". On Sat, Feb 7, 2015 at 10:02 AM, Thierry Goubier <thierry.goub...@gmail.com> wrote: > > > 2015-02-06 22:00 GMT+01:00 stepharo <steph...@free.fr>: > >> Really interesting discussion. I like pragmas but this is interesting to >> see them challenged. >> > > Thanks. It's a pleasure to discuss that way :) > > >> Yes, but there end up being lots of naming conventions and they are >>> non-obvious. Whereas pragmas, because they are in-your-face in the methods >>> in question, don't need conventions. They just need documenting ;-). >>> >> Thierry I'm skeptical that multiple protocol will save the problem >> because you will rely on coding conventions. >> > > Pragma as well: just explain the conventions behind the gtInspector > pragmas, for example. > > But give me multiple protocols and I'll show you the same conventions > rewritten in less lines (and a slightly more efficient code). > > >> And pragma is a clever tagging. >> > > Then maybe we should remove protocols and replace them with pragmas :) > > Thierry > > >> >> Stef >> >> >> >