Strukturalanbaǵan programmalastırıw
Strukturalanbaǵan programmalastırıw (sonday-aq strukturalıq emes programmalastırıw retinde de belgili) — bul strukturalıq programmalastırıw paradigması oylap tabılǵanǵa shekem programmalastırıwdıń eń sońǵı jaǵdayın sıpatlaytuǵın hám tańlaw (yaǵnıy if/then/else) hám iteraciya (yaǵnıy, while hámfor) sıyaqlı basqarıw aǵımı ushın goto operatorın paydalanıwdı óz ishine alatuǵın programmalastırıw paradigması.
Ulıwma alǵanda, goto-nı, ásirese tańlaw hám iteraciya ushın paydalanıw, 1968-jılǵı Niderlandiyalı kompyuter ilimpazı Edsger V. Deykstranıń «Goto Operatorı Zıyanlı Dep Esaplanadı» atlı ashıq xatında oqıwǵa qolaysız, spagetti kodtı payda etiwi ushın sınǵa alınǵan, ol strukturalıq programmalastırıw terminin oylap tapqan[1].
goto-nı usınatuǵın qálegen programmalastırıw tili strukturalanbaǵan kod jazıw ushın qollanılıwı múmkin. Basqarıw aǵımı ushın tiykarınan, eger tek ǵana bolmasa, goto-ǵa súyenetuǵın belgili tillerge JOSS, FOCAL, TELCOMP, hár qanday assembler tili, paketli fayl hám BASIC, Fortran, COBOL hám MUMPS-tıń dáslepki versiyaları kiredi.
Derekler
- ↑ Dijkstra, Edsger W. (March 1968). "Letters to the editor: Go to statement considered harmful" (PDF). Communications of the ACM. 11 (3): 147–148. doi:10.1145/362929.362947. S2CID 17469809. The unbridled use of the go to statement has as an immediate consequence that it becomes terribly hard to find a meaningful set of coordinates in which to describe the process progress. ... The go to statement as it stands is just too primitive, it is too much an invitation to make a mess of one's program.