בחורהזעצער האט געשריבן:יישר כח הרב ספוזמאן פאר די רייכע ביאור, קען איינער מסביר זיין וואס דאס איז procedural?
יישר כוחכם אייך אלע, עס איז מיין פלעזור. דארט ווי מען קען, איז פארוואס זאל מען נישט מסביר זיין. מיין טיטשער אויף דעם (א תלמיד חכם) פלעגט זאגען אז א תוספות איז א סאך שווערער.
דער תשובה ליגט און דער פאלגענדע צוויי וויקיפעדיע ארטיקלען איינס אויף procedural programing וואס ווערט אויך אנגערופען structured programming, ווייל עס גייט כסדרם. דאס הייסט עס גייט מיט א סדר top down ווי אויבען געברענגט. דער צווייטער ארטיקעל איז אויף subroutines וואס איז דער נקודה הפנימית אויף וואס object oriented programming איז געבויעט, עס ווערט נישט געטוהן כסדרם, נאר ווען מען וויל, און איז דער היפך פון procedural programing.
http://en.wikipedia.org/wiki/Procedural_programminghttp://en.wikipedia.org/wiki/Subroutineדא איז דער תמצית פון צוויי פאראגראפען פון דער ערשטער ארטיקעל מיט אן בערך'דיגע איבערזעצונג און מאמע לשון. (דער וואס גוט אויף און מיינט אז ער פארשטייט נישט זאל ביטע קוקען אויף די לעצטע צוויי שורות פון דער תגובה און bold.
אויב ער פארשטייט עס האט ער אלעס געכאפט. און אויב מען כאפט נישט איז אויך נישט געפערליך, אפשר וועט איינער פון אונזערע חבירים דא עס קענען גוט אראפ לייגען.
Procedural programming can also refer (as in this article) to a programming paradigm, derived from structured programming, based upon the concept of the procedure call. Procedures, also known as routines, subroutines, methods, or functions, simply contain a series of computational steps to be carried out. Any given procedure might be called at any point during a program's execution, including by other procedures or itself.
איבערזעצונג:
פרוצעדורישע פראגראמינג איז א פראגראמינג paradigm (דאס מיינט א pattern or model) וואס נעמט זיך פון structured programing, וואס איז געבויעט אויף דער יסוד פון רופען א procedure (פרוצעדור). Procedures (אדער ווי מען רופט עס אויך routines, subroutines, methods, or functions), איז צוזאם געשטעלט פון א ליסטע פון סטעפס (באפעלען-commands) וואס די קאמפיוטער זאל טוהן. יעדער procedure קען מען רופען (צו טוהן איר פעולה), ווען מען וויל בשעת דער פראגראם לויפט, עס קען אויך גערופען ווערען פון אנדערע procedures, אדער אפילו פון דער אייגענע procedure זעלבסט.
Comparison with object-oriented programming
The focus of procedural programming is to break down a programming task into a collection of variables, data structures, and subroutines, whereas in object-oriented programming it is to break down a programming task into data types (classes) that associate behavior (methods) with data (members or attributes). The most important distinction is whereas procedural programming uses procedures to operate on data structures, object-oriented programming bundles the two together so an "object", which is an instance of a class, operates on its "own" data structure.
איבערזעצונג:
דער focus פון procedural programming איז כדי אראפ צו ברעכען דער תפקיד פון א פראגראם און א צוזאמען שטעל פון (data-types (classes, וואס שטעלט צוזאם דער אויפ-פירעכטס (methods), מיט (פרטים) data members or attributes
דער וויכטיגסטער חילוק (צווישען די צוויי programming techniques), איז אז procedural programming נוצט procedures צו ארבעטען אויף data structures, אבער לאידך גיסא object-oriented programming מאכט פון ביידע איינס, אז אן object (וואס איז אן instance of a class) וועט ארבעטען אויף איר אייגענע data structure.
--------------------------
דער פאלגענדע גוט צו פארשטיין subroutines, עס איז נישט שווער אזוי שווער צו פארשטיין ווי דער פריערדיגע אויב מען קען א ביסעל ענגליש.
In computer science, a subroutine (also known as a procedure, function, routine, method, or subprogram) is a portion of code within a larger program that performs a specific task and is relatively independent of the remaining code.
As the name "subprogram" suggests, a subroutine behaves in much the same way as a computer program that is used as one step in a larger program or another subprogram. A subroutine is often coded so that it can be started ("called") several times and/or from several places during a single execution of the program, including from other subroutines, and then branch back (return) to the next instruction after the "call" once the subroutine's task is done.
Subroutines are a powerful programming tool, and the syntax of many programming languages includes support for writing and using them. Judicious use of subroutines (for example, through the structured programming approach) will often substantially reduce the cost of developing and maintaining a large program, while increasing its quality and reliability.
Subroutines, often collected into libraries, are an important mechanism for sharing and trading software.
The discipline of object-oriented programming is based on objects and methods (which are subroutines attached to these objects or object classes).