HEMANT SONKER'S BLOG

Sunday, December 2, 2007

Ruby Is English for Computers

Computers can understand languages, though in a rather different fashion to how most
people do. Being logical devices that cannot understand subtlety or ambiguity, languages
such as English and French aren’t appealing to computers. Computers require languages
with logical structures and a well-defined syntax so that there’s a logical clarity in what
you’re telling the computer to do.
Clarity is required because almost everything you relay to the computer while programming
is an instruction (or command). Instructions are the basic building blocks of
all programs, and for the computer to perform (or execute) them properly, the programmer’s
intentions must be clear and precise. Many hundreds of these instructions are tied
together into programs that perform certain tasks, which means there’s little room for
error.
You also need to consider that other programmers might need to maintain computer
programs you’ve written. This won’t be the case if you’re just programming for fun, but it’s
important that your programs are easy to understand, so you can understand them when
you come back to them later on.

*this thing is gathered from one book named Apress begining ruby form ovice to professional

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home