473,395 Members | 1,568 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,395 software developers and data experts.

Save the pythons.

f29
I don't believe that noone has yet spotted that python is becoming
java. Each new version is fully equipped with more garbage than
before. Classes are great, but once there are 1000 of them, inheriting
from each other, I cannot avoid comparing this unpleasant situation to
java.
Python power is in it's syntax, not addons. Let's not copy perl's
experience and one java is already far too much for earth.

f29
Jul 18 '05 #1
12 1638
"f29" <f2*@gazeta.pl> a écrit dans le message de
news:ae**************************@posting.google.c om...
I don't believe that noone has yet spotted that python is becoming
java. Each new version is fully equipped with more garbage than
before. Classes are great, but once there are 1000 of them, inheriting
from each other, I cannot avoid comparing this unpleasant situation to
java.
Python power is in it's syntax, not addons. Let's not copy perl's
experience and one java is already far too much for earth.

f29


Where's the problem ?

$ rm /usr/local/lib/python4.5/[type your useless packages here]

--
Gilles
Jul 18 '05 #2
f29 wrote:
I don't believe that noone has yet spotted that python is becoming
java. Each new version is fully equipped with more garbage than
before. Classes are great, but once there are 1000 of them, inheriting
from each other, I cannot avoid comparing this unpleasant situation to
java.
Python power is in it's syntax, not addons. Let's not copy perl's
experience and one java is already far too much for earth.

f29


Too big. Won't work.

Jul 18 '05 #3
On 17 Dec 2003 13:45:39 -0800, f29 wrote:
I don't believe that noone has yet spotted that python is becoming
java.
This is, on the face of it, a falsity: Java is Java, Python is Python.
If you mean that Python is gaining traits of other languages, then
that's a normal and natural process in the evolution of a language
(whether computer-bound or human-bound).

It only becomes a point worth discussing if the traits being gained are
undesirable; and *that* is a matter for subjective discussion.
Each new version is fully equipped with more garbage than before.
Classes are great, but once there are 1000 of them, inheriting from
each other, I cannot avoid comparing this unpleasant situation to
java.
None of the packages in the standard library occupy more than disk space
until they are imported. If you want a cut-down standard library, you
have the source available to build it however you want. These two
traits, certainly the latter, make Python better than Java.
Python power is in it's syntax, not addons.
Indeed. Very few changes occur to the simple Python syntax in each
release; that is, as you say, its power.
Let's not copy perl's experience
I don't understand this point; are you saying that Python's syntax is
changing undesirably? You've only mentioned increasing volume of
classes, not changes to the langauge syntax. I don't see how you can
fear that Python will "copy Perl's experience".
and one java is already far too much for earth.


I think the undesirable traits of Java are avoided in Python.

- Java is not free software. Python is. (Most of the other
differences stem from this one, as free software allows people to
make changes primarily based on technical merit if they choose.)

- Java's standard library and development environment are increasingly
tightly controlled by Sun, and nobody else can have input into the
development of the language and library. Python's development is
community-driven, with a BDFL at the helm.

- Java's large class library is typically distributed as binary blobs
that are difficult to divide. Python's standard library is all
separate packages, most of it implemented as Python source code.
Removing a package is as simple as deleting the files, or (more
neatly) rebuilding the library from source without the package.

- Java's syntax is simpler than C++, but it still strives to be like
that behemoth. Python, as you've pointed out, has a clean syntax
that doesn't accumulate cruft.

As for "each new version is fully equipped with more [packages] than
before", I see that as an advantage, especially since anyone can decide
to rebuild without any unwanted packages. Also, the cruft gets cleaned
out fairly regularly; if a package is better re-done or re-implemented
in another, newer package, the old one is deprecated and eventually
disappears.

--
\ "The best is the enemy of the good." -- Voltaire |
`\ |
_o__) |
Ben Finney <http://bignose.squidly.org/>
Jul 18 '05 #4
f29 wrote:
I don't believe that noone has yet spotted that python is becoming
java. Each new version is fully equipped with more garbage than
before.
A bit harsh to put it that way, but yeah, the language is growing, as most
languages tend to do. It would be nice to see it shrink sometime, although
that would have its own set of drawbacks, like breaking backward compatibility.
Maybe in Python 3.0...
Classes are great, but once there are 1000 of them, inheriting
from each other, I cannot avoid comparing this unpleasant situation to
java.
Python's standard library hasn't quite reached the size of Java's, though.
Python power is in it's syntax, not addons.


Hmm, everything else being equal, I'd much rather see a new module than yet
another addition to the syntax.

--
Hans (ha**@zephyrfalcon.org)
http://zephyrfalcon.org/

Jul 18 '05 #5
Hans Nowak <ha**@zephyrfalcon.org> writes:
Classes are great, but once there are 1000 of them, inheriting
from each other, I cannot avoid comparing this unpleasant
situation to java.


Python's standard library hasn't quite reached the size of Java's, though.


I think it's less an issue of library size, than tasteless design.
Java's libraries really seems to take OO obsession to unhealthy
lengths. I think there's some truth to the notion that Python is
getting that disease a little bit. It's often more convenient to pass
a function to some module (e.g. a callback), than to subclass a
library class, but Java programmers want to do stuff by subclassing
anyway. You can see something similar in the Python urllib class
(to provide an http basic auth password you have to make a subclass)
or in the SocketServer library.
Jul 18 '05 #6
Hi,

* Paul Rubin <http://ph****@NOSPAM.invalid> [18 Dez 2003]:
I think it's less an issue of library size, than tasteless design.
Java's libraries really seems to take OO obsession to unhealthy
lengths. I think there's some truth to the notion that Python is
getting that disease a little bit. It's often more convenient to
pass a function to some module (e.g. a callback), than to subclass
a library class, but Java programmers want to do stuff by
subclassing anyway.


Not exactly. Implementing an Interface is much cleaner than
subclassing.

Lutz
--
no sig
Jul 18 '05 #7

"Bruno Desthuilliers" <bd***********@tsoin-tsoin.free.fr> a écrit dans le
message de news:3f***********************@news.free.fr...
f29 wrote:
I don't believe that noone has yet spotted that python is becoming
java. Each new version is fully equipped with more garbage than
before. Classes are great, but once there are 1000 of them, inheriting
from each other, I cannot avoid comparing this unpleasant situation to
java.
Python power is in it's syntax, not addons. Let's not copy perl's
experience and one java is already far too much for earth.

f29


Too big. Won't work.


Worked anyway :)

--
Gilles
Jul 18 '05 #8
Gilles Lenfant wrote:
"Bruno Desthuilliers" <bd***********@tsoin-tsoin.free.fr> a écrit dans le
message de news:3f***********************@news.free.fr...
f29 wrote: (snip troll)
Too big. Won't work.

Worked anyway :)

Yes :(
I guess it's time for a general troll'o'meter revision.

Jul 18 '05 #9
f29
Certainly, I did not mean that python's standard library is something
we should forget and abandon, but even despite python is fully
embodying the oo idea, it should not become such mess as java - with a
complete chaos of classes derieved from nowhere and well known 'unknow
exception at java.class1.class2.class3.subclass43.class4 on line
35147' (seen nowadays even on the www).
I am simply worried, that in few years we may see such error messages
in python, due to it's classes incompatibility and version
differences. That's all.

rgds,
f29
Jul 18 '05 #10
Save the Pythons. Give 'em Rubies, Coffee and Camel :)
Jul 18 '05 #11
Martin Michel fed this fish to the penguins on Friday 19 December 2003
05:41 am:


Save the Pythons. Give 'em Rubies, Coffee and Camel :)


Ack, the imagery.... a jittery/nervous, jewel-encrusted, serpent that
spits in your face...

-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Bestiaria Home Page: http://www.beastie.dm.net/ <
Home Page: http://www.dm.net/~wulfraed/ <


Jul 18 '05 #12
In article <ae**************************@posting.google.com >, f29 wrote:
I don't believe that noone has yet spotted that python is becoming
java. Each new version is fully equipped with more garbage than
before. Classes are great, but once there are 1000 of them, inheriting
from each other, I cannot avoid comparing this unpleasant situation to
java.
Python's not becoming Java. It's too busy becoming LISP. If it appears that
Python is becoming Java, it's only because Java is becoming LISP, too. There
are 1000s of classes of languages, each inheriting from LISP. It's just a
matter of how many methods they override, and this number is asymptotically
approaching zero.
Python power is in it's syntax, not addons. Let's not copy perl's
experience and one java is already far too much for earth.


Great. Let's feature-freeze Python now. That way, when Java has finally
become LISP, Python will still be Python. Of course, we'll all be using LISP
by then, but it'll be a fine piece of nostalgia to keep on an old hard drive
in the garage.

--
..:[ dave benjamin (ramenboy) -:- www.ramenfest.com -:- www.3dex.com ]:.
: d r i n k i n g l i f e o u t o f t h e c o n t a i n e r :
Jul 18 '05 #13

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

Similar topics

9
by: ForHimself Every Man | last post by:
What's better about Rattlesnakes than Python. I'm sure there's something. What is it? This is not a troll. I'm a snake shooping and I want people's answers. I don't know beans about...
10
by: GJP | last post by:
Hello. Ive been asked to make my own notepade for college assignment. All ig going well, but i cant get the save to work. I can get Save a (shows dialog box), i can get it to just save too,...
28
by: robert | last post by:
In very rare cases a program crashes (hard to reproduce) : * several threads work on an object tree with dict's etc. in it. Items are added, deleted, iteration over .keys() ... ). The threads are...
5
by: Mathias Panzenboeck | last post by:
Hi. I wrote a small hashlib for C. Because I'm new to hashes I looked at pythons implementation and reused *some* of the code... or more the mathematical "hash-function", not really the code. ...
12
by: =?Utf-8?B?RnJlZU5FYXN5?= | last post by:
Hello, the scenario: There's an ASPX page which shows some text and has three buttons at the bottom: Save, Print and Close. Print and close is done by javascript. But how can I save the page...
1
by: tedpottel | last post by:
Hi, I am creating a library of functions. I would like to have them saved in a sub folder of pythons LIB folder, but I cannot get it to work. I have a script called test.py I stored it in...
6
by: tedpottel | last post by:
Hi, I'm trying to create my own lib of functions, but it seems like I can only import them if they are in pythons lib folder. Example I have a folder called K:\mypython Now in the...
2
by: tedpottel | last post by:
Hi, Is their a version of pythons IDLE that will run in a dos command line? The reason is that I would like to be able to run python code interactively from my parable by connecting to my desktop...
12
by: cnb | last post by:
>>sys.path Now I have my personal programs in C:/Python25/Progs/ How do I add so that I can just do "import somefile" from anywhere in that directory in the interpreter and it can load files...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.