The Snake’s Domain
mjjohansen and i have been looking at the Python language in the last week or so.
It appears to be a language of great usefulness, but it annoys me on some points. Nothing serious.
One thing that doesn’t impress me is the way that you seperate blocks of code from each other in Python. In C, and lots of other languages, it’s done with curly brackets. Like this.
a piece of code
{
another block of code
someting…
}
back again
But Python likes to be different. Python seperates blocks of code purely by indentation. Like this:
a piece of code
another block of code
someting…
back again
That reduces the degree of freedom you have to choose your coding style, in my opinion.
By the way, mjjohansen recently registered the domain pythonin.dk – lets see what he comes up with.
Kind regards Bjerrk


Leave a Reply