3 ms·
> not everybody is as skilled as them so the software should be designed and written accordingly. I don't know if I'm a 10x dev, but I've heard this mantra few
by qb45 11y ago
> not everybody is as skilled as them so the software should be designed and written accordingly.
I don't know if I'm a 10x dev, but I've heard this mantra few times.
It's most annoying when it happens because I actually strive to make something simple. Like I once needed to index members of some C++ STL container, so I used std::map<key, container::iterator>. It went like that:
- WTF? A map of iterators? It's complicated! Remove it!
- But the objects need to sit in this container and this extra index is also required.
- But... but.. It's complicated! Remove it!
Man, I hate people at times.
- marshray 11y agoI can relate to a situation where a container of iterators is the seemingly correct solution yet not necessarily the best thing to adopt for maintenance considerations. Containers tend to persist over relatively large blocks of code, whereas iterator invalidation can be very tricky and most people get bitten by it at some point.
- YngwieMalware 11y agoI think this is what code commenting is for, though