32 points · by lioeters · 6y ago · 11 comments
- It is as important to decide what a system is not as to decide what it is. Do not serve all the world's needs; rather, make the system extensible so that additional needs can be met in an upwardly compatible fashion.
- The only thing worse than generalizing from one example is generalizing from no examples at all.
- If a problem is not completely understood, it is probably best to provide no solution at all.
- If you can get 90 percent of the desired effect for 10 percent of the work, use the simpler solution. (See also worse is better.)
- Isolate complexity as much as possible.
- Provide mechanism rather than policy. In particular, place user interface policy in the clients' hands.
Count your blessings though: Wayland has pretty much no up-to-date documentation about anything except the most trivial concepts. The only reason I can do anything with it today is that I had the chance to learn it as part of my job, so I could invest 8+ hours/day in it for several weeks and read heaps upon heaps of source code (of variable quality), ask stupid questions on IRC and mailing lists, and not the least of all, attend some workshops that my employer was glad to pay for (and thank God they were 'cause there's no way I'd have spent that kind of money to learn about Wayland).
I mean, I definitely don't want to go back to writing code with the kind of technology that you can write a 12-volume manual about. Just thinking about Xlib makes me shudder. But I sure wish I had 12 volumes of information about Wayland...
It's nowhere near the kind of documentation that X11 had, but there is also no way that is ever going to happen without serious commercial backing. The team that worked on the The Definitive Guides to the X Window System book series was probably larger than all the teams that worked on all FOSS Wayland compositors in existence -- and could work on it full-time.
Just seeing that cover brings the taste of coffee and very late nights spent at the lab back when going to bed at 2 AM and waking up at 8 AM to go to class was pretty easy.
There was a whole series. I don't remember how many volumes it had, it may have been 12 but I'm not sure. It covered a lot more than just the protocol, and it was extraordinarily comprehensive. It included pretty much everything you needed to know in order to write X11-related code.
ICCCM, where are you going, stop, stop now, you have no access he-