The Artima Developer Community
Sponsored Link

Python Buzz Forum
Argh... Python is strongly typed

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Victor Ng

Posts: 112
Nickname: victorng
Registered: Aug, 2003

Victor Ng programs Python for money, but he'd be programming Python anyway if he was a bum.
Argh... Python is strongly typed Posted: Aug 8, 2003 2:57 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Victor Ng.
Original Post: Argh... Python is strongly typed
Feed Title: Victor Ng's Weblog
Feed URL: https://blog.crankycoder.com/feed/atom/
Feed Description: Python Feed
Latest Python Buzz Posts
Latest Python Buzz Posts by Victor Ng
Latest Posts From Victor Ng's Weblog

Advertisement

I'm not sure what Alan is on, but he's having tons of problems with getting Python working on his OSX box.

First off - Python is strongly typed. How many times do we need to say this? Strongly typed doesn't mean you have to statically type everything.

someInteger = 10
someText = "abc"
someInteger + someText

That third line will cause an exception in Python. Looks like strong typing to me.

Back to the topic of getting Python running under OSX though.

I just installed Fink, apt-get'd my way to Python 2.2, manually installed MySQL and PostgreSQL.

After that - I just compiled/installed MySQLdb and pyPgSQL.

Not a really big deal. It takes a couple hours to get everything compiled and built, but hey - I'm not at all uncomfortable with gcc so maybe that's where the rub is.

On the other hand, it could just be that whole inertia thing where you get used to the way a particular tool chain works and you get frustrated because it's new and different.

Python's DBAPI is also well documented.

In other news - I'm making some pretty cool progress with PyObjC in my spare time. I'll probably be releasing some simple sample apps soon - maybe it'll help someone out.

I have to say that I'm having much less trouble coding in Python than in pure Objective-C. Call me a weeny, but I like having endless numbers of namespaces in Python. As much as I like Objective-C, the lack of an equivalent of packages in Java or modules in Python makes it really hard for me to organize my classes.

Read: Argh... Python is strongly typed

Topic: Test Post Previous Topic   Next Topic Topic: SpamBayes Donation Page

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use