Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

python offers dynamic classes

 
Steve Fahlbusch
Bartender
Posts: 605
7
Mac OS X Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings All,

For those of you that want to ask, why python??? python offers dynamic classes (among other things) :-)

what this means is that you can create new attributes and new methods on classes you use.

This is quite cool when you need to change the default functionality provided by classes you use.

Be well.

-steve
 
andrew sydor
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because, Python is very good programming language and have a lot of good libraries for everything.
 
Steve Fahlbusch
Bartender
Posts: 605
7
Mac OS X Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well ok, but you seemed to miss the point of my post.

There are great libraries (no where as good as java) but you can dynamically extend them. Like (what should be) BigIntiger - you want to make a return of a long or even better BigInteger - you can in python on the fly.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic