Nothing’s private in Python

November 6, 2006 at 5:28 pm Leave a comment

For the past couple of days I’ve been reading Dive into Python. So far I’ve made it to the chapter about classes. According to the book “Nothing in Python is truly private.” That’s a really weird concept to a guy comming from a Java background. Python allows you to do tons of stuff that you can, “but promise to never, ever do it in real code.” Things in python are private/constant by convention instead of being strictly enforced by the interpreter.

I’m curiouse to find out how this will work out once I know enough to start getting some code down.

Advertisements

Entry filed under: Uncategorized. Tags: , , .

I’m in shock! Slackware does widescreen easy! Is your software counterfeit?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Feeds


%d bloggers like this: