On Thu, Nov 27, 2008 at 11:34 PM, John Pallister [EMAIL PROTECTED] wrote:
Creativity is great once you've mastered the idiom. Otherwise you
just get bad poetry.
Ed creates the idioms. Many of the idioms in Factor that we use today
stem directly from things that Ed came up with and some of us
Howdy,
A little humor never hurt anyone:
http://i108.photobucket.com/albums/n24/conor_jm92/Bush_doing_it_wrong.jpg
For me, programming is about being creative, not following your rules.
I very much agree with this principle.
Not to mention any example is better than no example. Let's not
In order to show how to draw a gadget with a diferent coordinate
system, I guess It would be nice to abstract the pattern into a word,
something like:
: with-coords ( gadget x1 y1 x2 y2 quotation -- )
... ;
M: sine-gadget draw-gadget* ( SINE -- )
-10 10 -10 10
[ -10 10 0.5 range [ dup sin
Ricardo Boccato Alves wrote:
In order to show how to draw a gadget with a diferent coordinate
system, I guess It would be nice to abstract the pattern into a word,
something like:
: with-coords ( gadget x1 y1 x2 y2 quotation -- )
... ;
M: sine-gadget draw-gadget* ( SINE -- )
-10 10
Slava Pestov wrote:
there is no USING: form, so it's not even complete.
Are you sure about that?
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications
On Wednesday 26 November 2008 17:46:20 Slava Pestov wrote:
Here is my take:
http://paste.factorcode.org/paste?id=213
But your version doesn't demonstrate the single point of my example. I.e. how
to write a gadget which changes the coordinate system.
So, can you write a version which is less
Slava Pestov wrote:
Your version is not a good example for beginners to look at, for
several reasons
That's like, you're opinion dude.
- It doesn't use standard naming conventions
- It doesn't use standard indentation.
The example demonstrates certain techniques. How I name things and
On Thu, Nov 27, 2008 at 6:42 PM, Eduardo Cavazos [EMAIL PROTECTED] wrote:
For me, programming is about being creative, not following your rules.
Not to mention any example is better than no example. Let's not create
a culture where people decide not to post examples out of fear of not
doing