Pilnmēness nogurdinātie - Patriarhu balsis

About Patriarhu balsis

Previous Entry Patriarhu balsis30. Jul 2007 @ 11:47 Next Entry
Donald Knuth. "Literate Programming (1984)" in Literate Programming. CSLI, 1992, pg. 99.:

I believe that the time is ripe for significantly better documentation of programs, and that we can best achieve this by considering programs to be works of literature. Hence, my title: "Literate Programming."

Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do.

The practitioner of literate programming can be regarded as an essayist, whose main concern is with exposition and excellence of style. Such an author, with thesaurus in hand, chooses the names of variables carefully and explains what each variable means. He or she strives for a program that is comprehensible because its concepts have been introduced in an order that is best for human understanding, using a mixture of formal and informal methods that reinforce each other.


p.s. šodien ir atradumu diena.
(ir doma)
[User Picture Icon]
From:[info]prtg
Date: 30. Jūlijs 2007 - 11:52
(Link)
Ah, beidzot.
[User Picture Icon]
From:[info]begemots
Date: 30. Jūlijs 2007 - 11:57
(Link)
Varētu domāt, ka kāds no patlabanējiem CS undergraduatiem ir par viņu dzirdējis...
[User Picture Icon]
From:[info]prtg
Date: 30. Jūlijs 2007 - 12:38
(Link)
CS=?
Es par konceptu kā tādu.
[User Picture Icon]
From:[info]begemots
Date: 30. Jūlijs 2007 - 12:48
(Link)
Nu konceptam kā redzi ir vismaz 20+ gadi... :) CS=comp.sci
[User Picture Icon]
From:[info]prtg
Date: 30. Jūlijs 2007 - 13:01
(Link)
Redzu, un tas mani nepārsteidz tik ļoti, kā tas, cik reti tas tiek ņemts vērā.
[User Picture Icon]
From:[info]begemots
Date: 30. Jūlijs 2007 - 14:27
(Link)
Nu kāpēc gan lai tas tiktu ņemts vērā, ja šaubos, vai .lv daudzi datorzinību pasniedzēji ir kaut vai dzirdējuši par Knutu, kur nu vēl lasījuši.
[User Picture Icon]
From:[info]artis
Date: 7. Augusts 2007 - 10:30
(Link)
tā nevar būt, neticu (neesmu CS, bet knutu lasu)
(ir doma)
Top of Page Powered by Sviesta Ciba