[Bese-devel] Some trivial changes
Drew Crampsie
drewc at tech.coop
Mon May 17 20:00:45 UTC 2010
On 17 May 2010 12:27, Anton Rizov <anton.rizov at gmail.com> wrote:
>>
>> > So than one could write:
>> >
>> > (in-application (make-instance 'demo-application))
What happens when you re-evaluate this form?
Cheers,
drewc
>> >
>> > (create-server)
>> >
>> > rather than
>> >
>> > (create-server :applications '(*default-application*))
>>
>> I prefer the later, as it clearly shows what applications are handled
>> by what server.
>>
>> > Or maybe changing in-application
>> > (pushnew *default-application* *ucw-applications*)
>>
>> Another concern I have with 1 line defmacro such as in-application is
>> that in most cases they don't bring clarity and simplification to the
>> code; at the contrary, in-application hides that there is a side effect.
>>
> I guess you're right. It may be a personal preference but it looks more
> clear to me to
> write (in-application some-application) than (setf *default-application*
> some-application).
> In addition I assosiate it with in-package macro.
>
> So what's the verdict: Export or Remove?
>
>
>> Sincerely.
>>
>> --
>>
>> B. Urban
>
>
> Kind regards,
> Anton
>
>
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel
>
>
More information about the bese-devel
mailing list