1. Why is the usability of code important?
Good UX is not nearly as apparent as bad UX. This is because when UX is good, it just works.
Typically, the more complicated, obfuscated, or unusual a piece code is, the harder it is to understand. The harder code is to follow, the harder it is to maintain or extend and the higher the chance of mistakes being made.
2. Who benefits the most from code with great UX?
As programmers, we are both the creators and greatest users of our code; it is, therefore, our colleagues and ourselves that benefit most.
Â
3. How do you construct good UX?
The best UXes are intuitive and natural to their users. The key, therefore, is to try to think as your users do. Chances are that the code you write will make sense and hopefully be natural to you, but can you say the same for the rest of your team?
In this chapter...