User Interface Design for Programmers: A Book Review
The last time I checked, software was meant to be used.
In order for software to be used, it needs to be useful to those who have not perused all the texts required for a Ph.D. in Computer Science--as well as to those who have. This is rather less common than one might wish in the Open Source community. Often, the applications written for Linux seem to be "by geeks, for geeks". The fact that we are many of doesn't mitigate the preference of Janey-or-Johnny-User for a consistent interface among the applications they use, and for those applications to behave in a way that is comprehensible to someone unfit for MENSA(R) membership.
User Interface Design for Programmers (Apress, 2001) is written for programmers, especially programmers who a) think user interface design is an artistic pursuit, b) have a sense of humour, and c) can no longer think like Janey-or-John-User.
Who? Us? Yes.
The reader of Mr. Spolsky's work will require both a sense of humour, and some acquaintance with the cultural context in which he writes. Lacking either or both, the reader will not go all verklemmt, but will go straight to meshuggah, neither passing GO nor collecting $200. This is not a book for those who think tech and storytelling don't mix. For those of us who like to smirk and learn at the same time, it's a wonderful read.
There are not a great many software engineers who would deem their work as being of signifigant importance to, say, mental health. Or human rights. Yet Spolsky begins with the premise that there is some relationship between being able to control one's environment and mental well-being, and the relationship between not being able to control one's environment and depression. Specifically, he relates how this applies to the users of computer programs:
UI is important because it affects the feelings, the emotions, and the mood of your users. If the UI is wrong, and the user feels like they can't control your software, they literally won't be happy and they'll blame it on your software. If the UI is smart, and things work the way the user expected them to work, they will be cheerful as they manage to accomplish small goals. Hey! I ripped a CD! It just worked! Nice software!" (p. 6)
The moral of this story? "A user interface is well designed when the program behaves exactly how the user thought it would". (ibid., emphasis mine) What? Not how we think it should?
Spolsky uses 18 short chapters to illustrate the various principles and pitfalls of UI. (There are some pratfalls, too, some of which involve UI designers from the Redmond Contingent, as well as from Juno). The author's anecdotes are lively, and generally point to a specific corollary or rationale involved in designing applications that "make users happy". There are worse goals in the development of software.
"Good UI designers use consistency intelligently, and though it may not show off their creativity as well, in the long run it makes users happier." (p. 48)
Spolsky might have added that this can be taken to extremes, as in the case of StarOffice's 'butterfly start button'. On the whole, though, he makes a good point. For those of us who would like to increase the number of Linux users, consistent interfaces make the job of helping newbies view Linux as more user-friendly. This does not preclude efficiency or security, by the way: the sooner the newbie can accomplish what s/he intended to, the less likely s/he is to look for an alternate command that will permit him or her to accomplish something unintended.
"Design for extremes so that your product can be used under extreme conditions, and design for extremes so that your product is more comfortable to use under normal conditions" (p. 59)
The good people who developed wheelchair ramps know this principle well. Slopes are easier to navigate than steps, for both wheelchairs and normal pedestrian traffic. Well-cushioned seats in vehicles are more comfortable and, in a bizarre twist of fate, safer than their harder counterparts. Food that doesn't take as long to cook retains more of its original nutrients...well, okay, maybe that's pushing it. Sometimes pandering to creature comfort and/or sheer laziness can be put to good use.
"A good heuristic is obvious, easily undone, and extremely likely to be correct. Other heuristics are annoying." (p. 113)
Microsoft Bob died. Many users of MS Office would prefer the spellcheck to simply let them make spelling mistakes and suffer the consequences. The Paperclip infuriates everyone over the age of 5. Don't create bells and whistles that require removal by less than obvious means.
"Let's do the time warp again"
One of the most salient points Spolsky raises is what happens to time between development and software use. Days of development yield seconds of software to the user; months spent on a project yield knowledge the user won't have in minutes of its use; seconds of time required to load an application (or a web page) feel like hours of boredom to a user. Lest we forget.
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- Stunnel Security for Oracle
- The Firebird Project's Firebird Relational Database
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- SUSE LLC's SUSE Manager
- Managing Linux Using Puppet
- My +1 Sword of Productivity
- Non-Linux FOSS: Caffeine!
- Doing for User Space What We Did for Kernel Space
- SuperTuxKart 0.9.2 Released
- Google's SwiftShader Released
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide