[#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:03927] Re: Widening out discussions

From: Aleksi Niemel<aleksi.niemela@...>
Date: 2000-07-11 09:50:50 UTC
List: ruby-talk #3927
Thank you very much. This is really good (maybe I don't have big
expectations for machine translation :). You have to think about the english
meaning quite many times, but that's good; thinking is good :).

This will help, no doubt about it, but it's not the only thing it provides.
There's plenty of humor inside. For example, I never thought Ruby coding
from the vampire point of view:

    A thirst for blood
    while s.sub!(/(.*\d)(\d\d\d)/, '\1,\2') && $&; end

Or it can get quite poetic:

    When presence of change wants to know it, 
    I use no bang method,
    I compare it with original
    all method is thought about.
    I want to offer the latter as me.

There're few places where the script might be able do some extra effort. For
example it could strip /^[|:]/ before feeding text to the translator (and
perhaps add them back afterwards).

I'd like to see the code too, if possible.

	- Aleksi

In This Thread

Prev Next