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 12 1658
"f29" <f2*@gazeta.p l> a écrit dans le message de
news:ae******** *************** ***@posting.goo gle.com... 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
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.
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/>
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**@zephyrfal con.org) http://zephyrfalcon.org/
Hans Nowak <ha**@zephyrfal con.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.
Hi,
* Paul Rubin <http://ph****@NOSPAM.i nvalid> [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
"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
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.
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.cla ss2.class3.subc lass43.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 Rattlesnakes or have an
preconceived ideas about them. I noticed, however, that everyone I
talk to who are aware of Pythons are also afraid of Rattlesnakes. So
it seems that Rattlesnakes have the potential to compete with and
displace Pythons. I'm...
|
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, but when
i try to put an IF in it to check if the file has already been saved before,
it will not save.
|
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 "good"
in such terms, that this core data structure is changed only by atomic
operations, so that the data structure is always consistent regarding
the application. Only the change-operations on the dicts and lists
itself seem to cause problems...
|
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.
In particular I looked at pythons hash and lookup functions, so I came up with this (see the code
underneath).
So, can this code be considered as derived and do I have to put my code under the GPL? I'd like to
publish it under something less...
|
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 on the client's computer? He/she could do this using the
browser (file/save), but I need to have it done by pressing the pushbutton.
In my serverside code I get the button-click-event, I also know how to get
| |
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 LIB folder and typed
Import test, work fine.
I store the script in lib/ted
Then type
|
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 interactive python shell I type
|
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 using remote
command line or a telnet program.
|
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 from other
folders in that directory.
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |