Prev | Current Page 1369 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


They solve three distinct domains of problems that arise when multiple processes need to
exchange data or share resources without having to resort to slow disk files or network connections.
All of which is to say that you don??™t always need IPC, but it sure is nice to have when you do
need it.
The Building Blocks Philosophy
The building blocks philosophy that characterizes the Linux development is best expressed as a
short series of rules or principles:
 Do one thing very well.
 Whenever possible, accept input data from standard input and send output data to standard
output.
 Keep individual programs as self-contained as possible.
 Remember that someone will use your program in ways you didn??™t intend and for purposes
that you never imagined.
NOTE
757
Programming Environments and Interfaces 28
The first rule simply means that programs should not try to be all things to all people: a text editor
doesn??™t need to be able to send e-mail messages and a drawing program doesn??™t also need to be able
to function as a Web browser. Although it is less true today than it used to be, the best Linux programs
don??™t have every imaginable feature (also known as featuritis). Rather, developers spend time
perfecting the program??™s intended purpose and making it possible for programs to interoperate.


Pages:
1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381