[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:03976] RE: Principle of least effort -- another Ruby v irtue.

From: Aleksi Niemel<aleksi.niemela@...>
Date: 2000-07-13 19:51:41 UTC
List: ruby-talk #3976
> (Keep in mind that the principle of least effort is meant to apply to
> programs and programming overall, on the average, not to 
> every possible case or code fragment.)

That's a great principle, maybe even so good that we can start to use it as
a slogan :).

The addition you made is very important. When we consider consise but
hackish and verbose but trivial ways of coding only the 'programming
overall' point makes the principle of least effort to favor the verbose way.
Well, sometimes hacks take more time than simple code :). It's especially
the rereading and mainting which will make the least effort entry stand out.

	- Aleksi

In This Thread

Prev Next