Linked by Eugenia Loli on Sat 15th Jul 2006 22:45 UTC
.NET (dotGNU too) Jeff Cogswell writes: "I'm about to make a confession. Even though I've written several books and articles about C++, I have a secret: C++ isn't my favorite language. I have lots of languages that I use, each one for different purposes. But the language I consider my all-time favorite is Python."
Thread beginning with comment 143597
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[5]: Python is . . .
by Tuishimi on Sun 16th Jul 2006 18:48 UTC in reply to "RE[4]: Python is . . ."
Tuishimi
Member since:
2005-07-06

Ummmmm yes it is. Syntactically optimized means that it arranges the statements in a manner that is optimized in some form. In this case it combines the three elements of looping in one statement line.

You can do many similar things in Python, btw. Often I choose to NOT use those kind of options simply because using other options are clearer to programmers, especially those who might not be used to a language's syntax.

You need to think about stuff like that in a corporate environment when whatever you write could arbitrarily be handed off to ANYONE with any varying degree of experience.

Reply Parent Score: 1

RE[6]: Python is . . .
by Cloudy on Sun 16th Jul 2006 19:47 in reply to "RE[5]: Python is . . ."
Cloudy Member since:
2006-02-15

Ummmmm yes it is. Syntactically optimized means that it arranges the statements in a manner that is optimized in some form. In this case it combines the three elements of looping in one statement line.

you're talking about the for construct itself, not about the example I'm describing.

Reply Parent Score: 1

RE[7]: Python is . . .
by Tuishimi on Sun 16th Jul 2006 20:50 in reply to "RE[6]: Python is . . ."
Tuishimi Member since:
2005-07-06

ALright, maybe I am misinterpreting you. Tell me why it is better/easier?

Reply Parent Score: 1