3 ms·
Yup. And by the time you've done all of that, it's not vastly smaller than the code in the original example. (Also, your setup is spread across every class re
by AndrewDucker 12y ago
Yup. And by the time you've done all of that, it's not vastly smaller than the code in the original example.
(Also, your setup is spread across every class registering itself, rather than in one central XML file that tells you all of your routing.)
- raverbashing 12y agoNo, it's usually done in a separate file containing all the routing (in most Python frameworks) And no unreadable and overcomplicated XML for configuration, thank you very much