Coming from .NET and VB and C
castironpi at gmail.com
Wed Sep 10 02:53:42 CEST 2008
On Sep 8, 9:31 pm, sturlamolden <sturlamol... at yahoo.no> wrote:
> On 3 Sep, 18:52, ToPostMustJoinGroup22 <benjaminlinde... at yahoo.com>
> > I'm coming from a .NET, VB, C background.
> > Any suggestions for someone new to the scene like me?
> Welcome! Unfortunately, you probably have a lot of bad habits to
> unlearn. Don't use Python like another C, VB or Java. It will cause a
> lot of grief, and you'll end up with the idea that Python is slow like
> a slug. Python is more like Lisp or Haskell, but with a readable
> syntax. There are list comprehensions, generator expressions,
> dictionaries, sets, lists, list slicing, lambdas, map, reduce, filter,
> closures, etc. They are there to be used, and be used a lot. Learning
> to use Python efficiently is what has the steepest learning curve.
Variable argument lists, first-class function objects.
More information about the Python-list