Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Stylistic note on loops
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nick Keighley  
View profile  
 More options Nov 6 2010, 5:30 am
Newsgroups: comp.lang.java.programmer, comp.lang.c
From: Nick Keighley <nick_keighley_nos...@hotmail.com>
Date: Sat, 6 Nov 2010 02:30:39 -0700 (PDT)
Local: Sat, Nov 6 2010 5:30 am
Subject: Re: Stylistic note on loops
On Nov 2, 5:42 pm, Robert Klemme <shortcut...@googlemail.com> wrote:

> On 01.11.2010 22:30, BartC wrote:

> > "Tom Anderson" <t...@urchin.earth.li> wrote in message
> >news:alpine.DEB.1.10.1011012102020.4900@urchin.earth.li...

> >> Python has been called 'executable pseudocode'. If written cleanly, it is
> >> highly readable, even to those who don't know it.

> > I think Python is the last language I'd use for pseudocode. No-one
> > writing Python can resist using all it's features which renders it
> > incomprehensible to anyone else. And for porting code, it is also
> > necessary to duplicate it's myriad libraries.

> > Probably Lua is better for that role, being far simpler with less
> > built-in stuff.

> Of course I have to throw in Ruby here.  Very clean syntax, clean OO
> implementation and no significant whitespace.  I often find that Ruby
> code looks like pseudo code - but it actually can be executed.  :-)

when faced with the choice of learning python or ruby I chose python.
ruby looked a bit strange. Having skimmed the tutorial you mention it
looks a lot less strange! But if you write pseudo code like this then
heaven help your collegues!

ARGF.each { |line|  print line  if line =~ /Ruby/ }


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.