Python. Good, bad, evil -2-: Native sets - Tobias Schlitt

Courtesy Planet PHP  Thu, 03/18/2010 - 10:51

One thing I really liked in Python is the data structure set, which is built into the language core.

A set in Python is defined as known from mathematics and beside mathematical use cases, it is helpful in everyday programming live.

In this episode of my series on Python, I give you a short insight into how sets work in there, how you can achieve similar results in PHP and why I like the Python approach.


 

More related items

Python. Good, bad, evil -1-: Missing brace - Tobias...
Every programmer should learn a new programming language once in a while. Be it for inspiration or just for fun. After some homework in C# some years ago and quite some Java at university...

Excited About PHP Again - Brandon Savage
Ten months ago when I started at Mozilla, I began transitioning away from PHP and into Python and Django. This was inevitable: the Mozilla Webdev team favors Python over PHP in almost every...

Miro Internet TV: Internet TV for Ubuntu Desktop
Linuxaria: "Miro, first launched in 2005 then revamped in 2007 (it was first launched as Democracy Player), is written in Python."


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com