Folks,

I tend to agree with the sentiment to show our best.

If the loop / break thing happens to not need a break to end then just write 
some explanatory notes outside the code box.  I agree they are talking about 
function rather than prescribing an element of the code.  There are a couple of 
examples that don't have an obvious break, return, exit.

I like this with a tiny tweak to keep the pairs on the same output line.  I 
added it.

procedure main()
    while 10 ~= writes(?20-1) do write(", ",?20-1)
end

I think I'd like to capture some of this discussion on the Unicon Talk 
page.http://rosettacode.org/wiki/Category_talk:Unicon

David




________________________________
From: Steve Wampler <[email protected]>
To: David Gamey <[email protected]>
Cc: [email protected]; [email protected]; 
[email protected]
Sent: Thu, April 8, 2010 12:07:41 PM
Subject: Re: [Unicon-group] Unicon talk pages on Rosetta Code

David Gamey wrote:
> It would be worth including some of the comments about easier without the 
> break etc. Possibly even having the second snippet of code.

David, Andrew (et al),

Can someone point to me where the RC site says we have to solve
each task in some *specific* way?  I simply can't find anything
that says that.  The fact the the categories have certain titles
doesn't say that to me - it simply says that they've titled
the category using some short phrase identifying the functionality
they think the task illustrates.  It may simply represent a
'cultural bias' on how the author(s) *think* it will have to be
solved given their programming background.  Without something
clearly spelling out implementation constraints, I'd prefer to
view it that way.

Even the RC intro page refers to RC as a "programming chrestomathy"
site with a link to Wikipedia defining that term as demonstrating
differences in syntax, semantics, and *idioms* [emphasis mine].

I worry that we're presenting Unicon/Icon poorly if we don't
illustrate how the language helps solve a particular problem cleanly
and clearly.

-- Steve Wampler -- [email protected]
The gods that smiled on your birth are now laughing out loud.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to