In my mid 20s I started developing RSI. I went through a bunch of different devices designed to supposedly be "ergonomic" and while the problem would go away temporarily, it would eventually come back.
I eventually found that it's not any one device that cures RSI. It's much better to switch up between different devices on a regular basis.
So, now I have two keyboards I switch between about weekly. It's fairly easy because I just switch between working at the office vs home and have two different designs of devices in the two locations. Occasionally I use the laptop keyboard and track pad directly. I still program a lot and haven't had another RSI flare-up in about 7 years.