• # Steven Levy ref. Re: La programmation est un art

    Posté par (site web personnel) . En réponse à la dépêche La programmation est un art. Évalué à 1.

    Si vous prenez l'excellent article/livre de Steven Levy : "Hackers, Heroes of the Computer Revolution" de 1984

    http://www.foo.be/docs-free/hckrs10.txt(...)

    Le sujet est déjà bien présent :

    """"
    YOU CAN CREATE ART AND BEAUTY ON A COMPUTER.

    Samson's music program was an example. But to hackers, the art
    of the program did not reside in the pleasing sounds emanating
    from the on-line speaker. The code of the program held a beauty
    of its own. (Samson, though, was particularly obscure in
    refusing to add comments to his source code explaining what he
    was doing at a given time. One well-distributed program Samson
    wrote went on for hundreds of assembly language instructions,
    with only one comment beside an instruction which contained the
    number 1750. The comment was RIPJSB, and people racked their
    brains about its meaning until someone figured out that 1750 was
    the year Bach died, and that Samson had written an abbreviation
    for Rest In Peace Johann Sebastian Bach.)

    A certain esthetic of programming style had emerged. Because of
    the limited memory space of the TX-0 (a handicap that extended to
    all computers of that era), hackers came to deeply appreciate
    innovative techniques which allowed programs to do complicated
    tasks with very few instructions. The shorter a program was, the
    more space you had left for other programs, and the faster a
    program ran. Sometimes when you didn't need speed or space much,
    and you weren't thinking about art and beauty, you'd hack
    together an ugly program, attacking the problem with "brute
    force" methods. "Well, we can do this by adding twenty numbers,"
    Samson might say to himself, "and it's quicker to write
    instructions to do that than to think out a loop in the beginning
    and the end to do the same job in seven or eight instructions."
    But the latter program might be admired by fellow hackers, and
    some programs were bummed to the fewest lines so artfully that
    the author's peers would look at it and almost melt with awe.


    """"

    L'art est l'expression de la créativité humaine. La créativité existe dans le logiciel et dans toutes les disciplines. Maintenant, certains logiciels ne sont pas très créatifs ou esthétiques mais c'est une question de perception...

    La ref. de wikipedia :

    http://www.wikipedia.org/wiki/Art(...)