4 ms·
Those are examples, with example page handlers. The actual library code is just the 91 line file in the root directory. I don't understand why people are being
by andypants 14y ago
Those are examples, with example page handlers.
The actual library code is just the 91 line file in the root directory. I don't understand why people are being so negative about 91 lines of code. It's very simple and most of it is quite well written.
How is this project 'misguided', just from face value?
- mootothemax 14y agoThose are examples, with example page handlers. Right - and examples are meant to illustrate how to best use a library.
- andypants 14y agoAnd they do show the best way to use the router. Rendering content is not related to the library at all. How you write your handlers and display your views is completely up to you. Why should a simple router dictate how you write the rest of your code? I agree that it could negatively influence code that more novice programmers might write with it. They should replace the code inside the page handlers with a comment indicating that the user should render output there.