[Tutor] What style do you call Python programming?

Sarma Tangirala tvssarma.omega9 at gmail.com
Fri Dec 9 15:54:46 CET 2011


On 9 December 2011 20:07, Cranky Frankie <cranky.frankie at gmail.com> wrote:

> I'm looking for a term to call the kind of Python programming that
> Python is, in other words, programming with no branching, no GOTOs, no
> statement labels and no line numbers. I'm tempted to call it
> Structured Progamming, but we had that in COBOL, and this is not like
> COBOL.
>
>
The keyword you are looking for is 'programming paradigm' and python
implements several and not just any specific one such as structured. You
could call it a multi-paradigm programming language.

http://en.wikipedia.org/wiki/Programming_paradigm


> It seems to be with Python the whole thing is creating functions and
> then using loops, with an occasional BREAK or CONTINUE, to control
> program flow. I know it's Structured, but it's not like COBOL
> structured, if you know what I mean.
>
>
The point is its a scripted language. Most of what you want to do should be
about a line. Python is derived from the idea of scripted languages wherein
constructs like loops and functions were added for more control. The main
idea of programming in python is not essentially writing a functions but
rather like shell scripting, one line of syntax at a time. Having
functions, for example, gives you greater control or rather an abstraction
of control for clarity of thought.

I hope this is clear enough.
>
> --
> Frank L. "Cranky Frankie" Palmeri
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
Sarma Tangirala,
Class of 2012,
Department of Information Science and Technology,
College of Engineering Guindy - Anna University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111209/f8efb627/attachment.html>


More information about the Tutor mailing list