4 ms·
From a front-end developer perspective, I would google "navigation tree jquery", download some library that does this for me, and be done with it. If all child
by beeboop 10y ago
From a front-end developer perspective, I would google "navigation tree jquery", download some library that does this for me, and be done with it. If all children of a checkbox need to also be selected, that's like a single like of jQuery. Worst case scenario, something custom is written, and yeah it's not the best way and yeah it takes 100 milliseconds instead of 4, but who cares?
- dagw 10y agoWorst case scenario, something custom is written, and yeah it's not the best way and yeah it takes 100 milliseconds instead of 4, but who cares? The person who has to try to understand what the hell is going on and how to add new features after the original developer has moved on to other things probably cares quite a lot. The difference between a good programmer and a mediocre programmer is not that one can solve the problem and the other can't, but that the good one can solve the problem in an easy to understand and easy to maintain way.
- Apocryphon 10y agoAnd the difference between a good organization and a mediocre one is if a crappy custom solution is caught during code review.
- to3m 10y ago4ms vs 100ms is instant response vs detectable delay...