473,383 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Is Eric S Raymond still a "Pythoneer"

I just re-read "Why Python?" at
http://www.linuxjournal.com/article.php?sid=3882
The article is from 2000 and shows how a programmer who programmed in
many programming languages, and who wrote compilers and interpreters,
was introduced to Python and came to like it.

I wondered if there are any more recent interviews/articles from ESR
on his scripting language tools. I would be interested to know if he
still usesPython? Did he try any other "scripting" languages such as
Ruby or Lua?

I'm going to add the article to my bookmarks for ammo in trying to
change my strictly Perl workplace to at least consider Python.

(I should add that I do know of most of the good advocacy resources
available, I've collected them from answers to other peoples posts,
thanks).

Thanks again, Paddy.
Jul 18 '05 #1
8 4097
>>>>> "Paddy" == Paddy McCarthy <pa*******@netscape.net> writes:

Paddy> from ESR on his scripting language tools. I would be
Paddy> interested to know if he still usesPython? Did he try any
Paddy> other "scripting" languages such as Ruby or Lua?

Yes - for example he wrote a prototype of his SCO source code
comparison tool in Python. I think he still mostly uses Python for the
stuff he writes himself.

--
Ville Vainio http://tinyurl.com/2prnb
Jul 18 '05 #2
In article <du*************@mozart.cc.tut.fi>,
Ville Vainio <vi***@spammers.com> wrote:
>> "Paddy" == Paddy McCarthy <pa*******@netscape.net> writes:


Paddy> from ESR on his scripting language tools. I would be
Paddy> interested to know if he still usesPython? Did he try any
Paddy> other "scripting" languages such as Ruby or Lua?

Yes - for example he wrote a prototype of his SCO source code
comparison tool in Python. I think he still mostly uses Python for the
stuff he writes himself.

Jul 18 '05 #3
Cameron Laird wrote:
Incidentally, have you heard the news about Lua? Look at
<URL: http://www.inf.puc-rio.br/~roberto/book/ >.


I have no experience with Lua, but some of the code examples from the book
may frighten me away for good.

http://www.inf.puc-rio.br/~roberto/b...words.lua.html

I suppose Python's recent introduction of generators makes this rather trivial.

def allwords():
for line in sys.stdin:
for word in line.split():
yield word

for word in allwords():
print word

Jul 18 '05 #4
In article <ma*************************************@python.or g>,
Pete Shinners <pe**@shinners.org> wrote:
Cameron Laird wrote:
Incidentally, have you heard the news about Lua? Look at
<URL: http://www.inf.puc-rio.br/~roberto/book/ >.


I have no experience with Lua, but some of the code examples from the book
may frighten me away for good.

http://www.inf.puc-rio.br/~roberto/b...words.lua.html

I suppose Python's recent introduction of generators makes this rather trivial.

def allwords():
for line in sys.stdin:
for word in line.split():
yield word

for word in allwords():
print word


Provocative comparison; perhaps Roberto will even join in
and comment here. In any case, there's still a place for
Lua, and I think there's value in the discussion of Lua
that comp.lang.python has already hosted.
--

Cameron Laird <cl****@phaseit.net>
Business: http://www.Phaseit.net
Jul 18 '05 #5
pa*******@netscape.net (Paddy McCarthy) wrote in message news:<2a**************************@posting.google. com>...
I just re-read "Why Python?" at
http://www.linuxjournal.com/article.php?sid=3882
The article is from 2000 and shows how a programmer who programmed in
many programming languages, and who wrote compilers and interpreters,
was introduced to Python and came to like it.

I wondered if there are any more recent interviews/articles from ESR
on his scripting language tools. I would be interested to know if he
still usesPython? Did he try any other "scripting" languages such as
Ruby or Lua?

I'm going to add the article to my bookmarks for ammo in trying to
change my strictly Perl workplace to at least consider Python.

(I should add that I do know of most of the good advocacy resources
available, I've collected them from answers to other peoples posts,
thanks).

Thanks again, Paddy.


Oh, no! I sent the above, then found the right thing to search for in
Google and came up with this interview from January:
http://www.internetnews.com/dev-news...le.php/3306511

It seems ESR is still a Pythoneer, and I have another important
article to add to my trove.

Thanks for the other replies, Ill follow them up to.
Jul 18 '05 #6
Pete Shinners <pe**@shinners.org> wrote in
news:ma*************************************@pytho n.org:
Cameron Laird wrote:
Incidentally, have you heard the news about Lua? Look at
<URL: http://www.inf.puc-rio.br/~roberto/book/ >.


I have no experience with Lua, but some of the code examples
from the book may frighten me away for good.

http://www.inf.puc-rio.br/~roberto/b...words.lua.html

I suppose Python's recent introduction of generators makes this
rather trivial.

def allwords():
for line in sys.stdin:
for word in line.split():
yield word

for word in allwords():
print word


NameError: global name 'sys' is not defined

The Python version includes trailing punctuation, while the Lua
version filters it out. It becomes a little less trivial to make
the two functionally identical.

It seems that the syntax of Lua can be a little more verbose. On
the other hand, here are two versions of (more or less) the
functional equivalent of the referenced Lua code:

# in Python:

import sys, string
tt = string.maketrans( '`~!@#$%^&*()_-+=:;"\'{[}]|\\?/>.<,',
' ' )
for line in sys.stdin:
line = string.translate( line, tt )
for word in line.split():
print word

-- in Lua:

line = io.read()
while line do
for word in string.gfind(line, "%w+") do
print(word)
end
line = io.read()
end

There are probably better ways to write the code in either
language. I've only been looking at Lua for a couple of hours, so I
can't really comment much about that. But overall, for a comparable
task, it doesn't look too scary.

--
rzed

Jul 18 '05 #7
cl****@lairds.com (Cameron Laird) wrote in message news:<10*************@corp.supernews.com>...
In article <ma*************************************@python.or g>,
Pete Shinners <pe**@shinners.org> wrote:
Cameron Laird wrote:
Incidentally, have you heard the news about Lua? Look at
<URL: http://www.inf.puc-rio.br/~roberto/book/ >.


I have no experience with Lua, but some of the code examples from the book
may frighten me away for good.

http://www.inf.puc-rio.br/~roberto/b...words.lua.html

I suppose Python's recent introduction of generators makes this rather trivial.

def allwords():
for line in sys.stdin:
for word in line.split():
yield word

for word in allwords():
print word


Provocative comparison; perhaps Roberto will even join in
and comment here. In any case, there's still a place for
Lua, and I think there's value in the discussion of Lua
that comp.lang.python has already hosted.


Ordered a copy of the Lua book as the language seemed quite
interesting and potentially useful. The full text was available on the
'net, but I like to read this sort of material whilst travelling.

Although it starts out describing quite a nicely structured language
(occasionally similar in concept to, but never as readable as Python)
as the book proceeds, the more in-depth examples become harder to read
(a lot more like Perl) and having finished the book I was left feeling
that the core language offered nothing useful over Python, in fact it
was rather lacking in many areas.

Don't get me wrong, I know if I had a good enough reason I could quite
quicky and reasonably happily start developing in Lua, but it's
unlikely to ever come close to Python for general purpose coding. That
said, it may well fit the bill for a new embedded low-spec PC-based
device we'll be starting development on in a few months time. The
Python runtime is just too big and this is one area where Lua wins
out, so we'll just have to wait and see.
Jul 18 '05 #8
ci***@hotmail.com (ciw42) wrote in message news:<75**************************@posting.google. com>...
....
Don't get me wrong, I know if I had a good enough reason I could quite
quicky and reasonably happily start developing in Lua, but it's
unlikely to ever come close to Python for general purpose coding.


Did you skip the foreword? They wrote just that. Lua is meant as an extension
language, not as an replacement for standalone scripting languages. It can
be used standalone, of course, which makes sense if you need speed or size of
the interpreter matters.

I just read the book during a long train-ride and liked it a lot. Terse and
to the point, and I could even learn something new from it. E.g. I hadn't heard
of coroutines before. I also liked the meta-classes stuff.

-klaus
Jul 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ChrisH | last post by:
Are there any Eric 3 users out there? I've been thinking about trying it. Also, if I write scripts for internal use only at my company, do I have to purchase a Qt or pyqt license? Thanks...
1
by: David Bear | last post by:
Eric is the first IDE I have used since the borland c++ ide for dos many many years ago. Aside from the docs that come in the help system, I'm looking for a quick tutorial that gives me an overview...
0
by: kayodeok | last post by:
Nice Take on Selectors from Eric Meyer Appropriate Selections http://www.meyerweb.com/eric/thoughts/200312.html#t20031211 -- Kayode Okeyode http://www.kayodeok.co.uk/weblog/...
2
by: ChChanges | last post by:
Hi - I am going to buy a few books on CSS by Eric Meyer - I see that he is one of the leaders in CSS... Could somebody give me their opinion about the newer book 'More Eric Meyer on CSS' ? ...
2
by: Tom | last post by:
Hey experts, I have to write some classes doing communications with a device controlled via RS 232. Everthing is working well, but the data the device is sending back is encrypted. As I have...
3
by: Kenneth McDonald | last post by:
I'm wondering if anyone has experience/tips to offer on installing Eric on OS X and XP. Installation on both seems to require a number of steps, some of them seeming potentially fragile, and I'm...
0
by: Pradnyesh Sawant | last post by:
Hello, I have the following single line in my .py file: from PyQt4 import QtCore, QtGui if i run it from eric, i get the following error: unhandled RuntimeError "the PyQt4.QtCore and qt...
0
by: zuoxingdong | last post by:
Hello everyone : My English name is 'Eric Abraham', so Can 'aberic' be abbreviation of 'Eric Abraham' ? Or is there another better abbreviation of 'Eric Abraham' ? Thanks a lot.
2
by: dmitrey | last post by:
Hi all, I have Eric 4.1.1, pylint and Eric pylint plugin installed, but I cannot find how to use pylint from Eric IDE GUI. Does anyone know? Thank you in advance, D.
0
by: Detlev Offenbach | last post by:
Hi, I am proud to announce the immediate availability of eric 4.2.0. It is available via http://www.die-offenbachs.de/eric/index.html. The highlight of changes are as follows. APIs:
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.