From a functional perspective, network geat really doesn't get obsolete. It either meets your needs or it doesn't. 100BaseT hasn't changed (and won't). If it's enough speed for your users (and for most, even 10BaseT is FINE), there's no reason to throw out a switch, with two exceptions:
1: It's missing features you need - VOIP, powered ethernet, layer 3 switching, etch.
2: The manufacturer stops supporting it.
At my company, we have some network gear that's at least eight years old and it's still going strong. No problems whatsoever. If it dies, however, we're SOL, but we have spares to get it working.
If you're buying, however, always get in front of the curve, not behind it, for the two reasons I mentioned. Just best practice.
- G