Hacker News new | ask | show | jobs
by bluecmd 2437 days ago
Hostile APIs are a problem. If you require a dance for the correct outcome, people will fail. Make it easy to do the right thing.
1 comments

Multi threading usually involves a dance to get the correct outcome. Xlib does that for you with a single call at the start of the program or you can do it yourself with every function call you want to make.