We’ve known about algorithms for millennia, but we’ve only been writing computer
programs for a few decades. A big difference between the Euclidean or
Eratosthenes age and ours is that since the middle of the twentieth century,
we express the algorithms we conceive using formal languages: programming
Computer scientists are not the only ones who use formal languages. Optometrists,
for example, prescribe eyeglasses using very technical expressions,
such as “OD: -1.25 (-0.50) 180◦ OS: -1.00 (-0.25) 180◦”, in which the parentheses
Programming languages provide various ways of specifying programs for computers to run. Unlike natural languages, programming languages are designed to permit no ambiguity and to be concise. They are purely written languages and are often difficult to read aloud. They are generally either translated into machine code by a compiler or an assembler before being run, or translated directly at run time by an interpreter. Sometimes programs are executed by a hybrid method of the two techniques.
In 2004, Ruby on Rails became public. The world was surprised by its productivity
and by the magic of Ruby that enabled Ruby on Rails. Many people
knew Ruby before Rails, but few realized the power of the language, especially
But Rails is not the first framework to realize the power of Ruby. dRuby came
long before Rails. It uses metaprogramming features for distributed programming.
Proxy objects “automagically” delegate method calls to remote objects.
You don’t have to write interface definitions in XML or any IDL.