* Joshua J. Kugler <joshua@eeinternet.com> [110418 10:19]:
>
> Exactly. Objects are great tools, and they make some things easier.
> It's when someone wants to use Objects in a way that reminds you
> of "When all you have is a hammer..." that you start to get into
> trouble. Java, for example? EVERYTHING must be an object, even in
> places when you don't really need an object, like your main program
> invocation.
Right on. Just one correction here and it has to do with pythonic
idiom:
In python everything is an object. Both practically and in terms
of the python internal environment. Example:
>>> a = 1
>>> a.__class__.__name__
'int'
>>>
So there are in python builtin objects and objects which are
instantiations of python classes (builtin or user-defined)
> Disclaimer: not trying to start a flame war, I don't even
> use Java. That's just one of the things about Java that struck me as
> odd.
Java reminds me too much of C++ and as a 'recovering' C++
programmer - I'm with you there.
see
http://algorithms.us/software/dynace/extension/dynace-vs-cpp.html
cheers
-- Tim tim at johnsons-web dot com or akwebsoft dot com http://www.akwebsoft.com --------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.Received on Mon Apr 18 11:20:46 2011
This archive was generated by hypermail 2.1.8 : Mon Apr 18 2011 - 11:20:46 AKDT