3 ms·
I'm kinda scared that it turns out there's twice as much code in the final result. I understand, that this example is just for educational purposes but, I think
by andreypopp 14y ago
I'm kinda scared that it turns out there's twice as much code in the final result. I understand, that this example is just for educational purposes but, I think, the conclusion that it's better to leave this jQuery-based piece code "as-is" is much more educational.
- aidos 14y agoI think it's more about showing people how this stuff works at a digestible level. I'm currently reworking something in Angular (I was only part way into the build). It took me a couple of days to get up and running but now I'm there it's paying itself off. The code is far more modular, easier to understand and I'm turning it out way faster. Toy examples will always just be that, but they're needed in order to learn.