example is meant to be something executable from the browser (and with a visible result) while “exemplar” will just provide a prototype.
this is old discussion, sigh... Esteban > On 18 Aug 2016, at 16:25, Denis Kudriashov <dionisi...@gmail.com> wrote: > > Hi > > Why not use <example> pragma in the way you propose for <examplar>? Why we > need two? > > 2016-08-18 14:38 GMT+02:00 stepharo <steph...@free.fr > <mailto:steph...@free.fr>>: > Hi > > In my projects I start to do the following: > > I create <examplar> class method that returns an prototypical instance. > > I use such methods in my tests as fixture. > > Then I would like to have nautilus presenting to me the <examplar> with a > little triangle and when I press > > on them I get an inspector on them. > > This way I get the same behavior than with default <example> methods that > open an widget, image.... > > If we agree on that > > - I can take all the <example> and turn them if necessary into examplar. > > - extend Nautilus to send an inspect to the result of examplar tagged > method. > > I think that we can achieve a lot in terms of discovery with such simple > changes. > > Stef > > PS: I reread the old thread and I think that this is a reasonable approach > that makes > > the pro instances (like me) and the pro examples showing some things (like > me) happy. > > >