Re: Keywords in GOOPS methods
Tomas Volf <[email protected]>
| Newsgroups | gmane.lisp.guile.user,gmane.lisp.guile.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, opinion from the peanut gallery below. Mikael Djurfeldt <[email protected]> writes: > Any opinions on what is best: Having a define-method* or having the > functionality in define-method itself? I do find the symmetry between define-method/define-method* and define/define* pleasing. For define and define*, one could argue that procedures produced by the latter are slower to call (I did measure). Is that an issue here as well? (I guess one could argue that people writing object oriented code with run-time dispatch are usually not driven by performance as the main metric.) You did mention backwards compatibility, but how serious you expect the issue would be? I personally did not use GOOPS yet, but I have a hard time imagining a real-world code that would be broken by this change. Do you expect there would actually be any? I personally would probably lean towards two separate procedures (mainly due to the assumption of there being a performance impact). Have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
signature.asc
(application/pgp-signature, 853 B)
-----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmdAbyUOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/walk3w/+P9jw2TZYGh51O9WFl2pPfYjuqKElJDJVQtS/ tX380ozj4/dxAIKIXzUJUUjHo3dUCXH9H8vuHjWqdHB/C/CvUrWnkYxdJvbaL5Pd rdSRZbxoNvx8b+AWJyBTZHgmfGlq7bxSszHctvNf99uPTaCb5FDzWJZt7JnZ8NCb 21AVjvAoABhXbi0urF6Y4ahVt7tGwEPNX07ZGh50rbVGtFgWRtNmz17GuRpM5TO4 h2vjV5wB22ClLNWU/bgByoALVxcEwB+qaqJLTyHSygEtz/l01eWKUZZvULoZ2rPd Yq8F23kbdUy4cwCW8y2Kqa6aLtlAUCMOTs3aKtu6nroJDK9038TsMpVeihYQTwXW luNVVdxmvhNW5P4Fy8oiJhC1LJc37z3yMDwVZbHSpSaNUOords6R+S6QkZ/3BInJ NzkkjG1k0x5f1EZ044vS5psm97m1adhdvVIoRiUQ2f3d2W6XhiYOO5ARmfCCqqkZ 7rbtQlYEj+0sHZuhzFMdzMJ0fIXoThTOADdLkitHbwjuCxqWHaEZBavLQpdou4Kn T/dXcR1HGb0iZ9x2cO6eBh6A42rOz8uNiy1Ovn0/Bb9RiZ7IlOHm/7kPUceC6C3E jPv4hzh9ykdzmyVMXnbEKl/PCtffGqC7Q1iPgqMN+pLuA5kh75H1hEl8u/W+MVGZ RVOM1ts= =Q2dm -----END PGP SIGNATURE-----