Chandra | Geek Sublime | E-Book | sack.de
E-Book

E-Book, Englisch, 272 Seiten

Chandra Geek Sublime

Writing Fiction, Coding Software
Main
ISBN: 978-0-571-31029-6
Verlag: Faber & Faber
Format: EPUB
Kopierschutz: 6 - ePub Watermark

Writing Fiction, Coding Software

E-Book, Englisch, 272 Seiten

ISBN: 978-0-571-31029-6
Verlag: Faber & Faber
Format: EPUB
Kopierschutz: 6 - ePub Watermark



A great novelist on his twin obsessions: writing and coding. What is the relationship between the two? Is there such a thing as the sublime in code? Can we ascribe beauty to the craft of coding? Vikram Chandra is the award-winning author of two acclaimed novels and a collection of short stories - and has been a computer programmer for almost as long as he has been a writer. In his extraordinary new book he looks at the connection between these two worlds of art and technology. Coders are obsessed with elegance and style, just as writers are, but do the words mean the same thing to both? And is it a coincidence that Chandra is drawn to two seemingly opposing ways of thinking? Exploring these questions, Chandra creates an idiosyncratic history of coding - exploring such varied topics as logic gates and literary modernism, the male machismo of geeks, the striking presence of an 'Indian Mafia' in Silicon Valley, and the writings of Abhinavagupta, the 10th - 11th century Kashmiri thinker. Part technology story and part memoir, Geek Sublime is a book of sweeping ideas. It is a heady and utterly original work.

Born in New Delhi, India, in 1961, Vikram Chandra now divides his time between Bombay and Washington D.C., where he teaches at George Washington University. He is a graduate of Pomona College, Los Angeles and Columbia University Film School in New York. His stories have appeared in the New Yorker and the Paris Review. His debut novel, Red Earth and Pouring Rain, was awarded the David Higham Prize for Fiction and the Commonwealth Writers Prize for the Best First Published Book. His collection of stories, Love and Longing in Bombay, was published in 1997 and won the Commonwealth Writers Prize for the Eurasia region. It was also shortlisted for the Guardian Fiction Prize, and was included in the New York Times Book Review's 'Notable Books of the Year', and also in both the Guardian and Independent's 'Books of the Year' round-ups. His most recent novel, Sacred Games, was published in 2007 and was shortlisted for the Encore Awards., Vikram Chandra is the author of the critically acclaimed novel, Sacred Games (2007), which was a finalist for the National Book Critics Circle Award for Fiction. His first novel, Red Earth and Pouring Rain (1995), won the Commonwealth Writers' Prize for Best First Book and the David Higham Prize for Fiction. His collection of short stories, Love and Longing in Bombay (1997), won the Commonwealth Writers' Prize for Best Book (Eurasia Region) and was a New York Times Notable Book.
Chandra Geek Sublime jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


Even if you’re the kind of person who tells new acquaintances at dinner parties that you hate email and e-books, you probably recognize the words above as being some kind of computer code. You may even be able to work out, more or less, what this little ‘Program’ does: it writes to the console of some system the line ‘Hello, world!’

A geek hunched over a laptop tapping frantically at the keyboard, neon-bright lines of green code sliding up the screen—the programmer at work is now a familiar staple of popular entertainment. The clipped shorthand and digits of programming languages are familiar even to civilians, if only as runic incantations charged with world-changing power. Computing has transformed all our lives, but the processes and cultures that produce software remain largely opaque, alien, unknown. This is certainly true within my own professional community of fiction writers—whenever I tell one of my fellow authors that I supported myself through the writing of my first novel by working as a programmer and a computer consultant, I evoke a response that mixes bemusement, bafflement, and a touch of awe, as if I’d just said that I could levitate. Most of the artists I know—painters, film-makers, actors, poets—seem to regard programming as an esoteric scientific discipline; they are keenly aware of its cultural mystique, envious of its potential profitability, and eager to extract metaphors, imagery, and dramatic possibility from its history, but coding may as well be nuclear physics as far as relevance to their own daily practice is concerned.

Many programmers, on the other hand, regard themselves as artists. Since programmers create complex objects, and care not just about function but also about beauty, they are just like painters or sculptors. The best-known assertion of this notion is the essay ‘Hackers and Painters’ by programmer and venture capitalist Paul Graham. ‘Of all the different types of people I’ve known, hackers and painters are among the most alike,’ writes Graham. ‘What hackers and painters have in common is that they’re both makers. Along with composers, architects, and writers, what hackers and painters are trying to do is make good things.’1

According to Graham, the iterative processes of programming—write, debug (discover and remove bugs, which are coding errors, mistakes), rewrite, experiment, debug, rewrite—exactly duplicate the methods of artists: ‘The way to create something beautiful is often to make subtle tweaks to something that already exists, or to combine existing ideas in a slightly new way … You should figure out programs as you’re writing them, just as writers and painters and architects do.’2 Attention to detail further marks good hackers with artist-like passion:

All those unseen details [in a Leonardo da Vinci painting] combine to produce something that’s just stunning, like a thousand barely audible voices all singing in tune.

Great software, likewise, requires a fanatical devotion to beauty. If you look inside good software, you find that parts no one is ever supposed to see are beautiful too.3

This desire to equate art and programming has a lengthy pedigree. In 1972, the famed computer scientist Butler Lampson published an editorial titled ‘Programmers as Authors’ which began:

Creative endeavour varies greatly in the amount of overhead (i.e. money, manpower and organization) associated with a project which calls for a given amount of creative work. At one extreme is the activity of an aircraft designer, at the other that of a poet. The art of programming currently falls much closer to the former than the latter. I believe, however, that this situation is likely to change considerably in the next decade.4

Lampson’s argument was that hardware would become so cheap that ‘almost everyone who uses a pencil will use a computer,’ and that these users would be able to use ‘reliable software components’ to put together complex programs. ‘As a result, millions of people will write non-trivial programs, and hundreds of thousands will try to sell them.’5

A poet, however, might wonder why Lampson would place poetry making on the same spectrum of complexity as aircraft design, how the two disciplines—besides being ‘creative’—are in any way similar. After all, if Lampson’s intent is to point towards the future reduction of technological overhead and the democratization of programming, there are plenty of other technical and scientific fields in which the employment of pencil and paper by individuals might produce substantial results. Architecture, perhaps, or carpentry, or mathematics. One thinks of Einstein in the patent office at Bern. But even the title of Lampson’s essay hints at a desire for kinship with writers, an identification that aligns what programmers and authors do and makes them—somehow, eventually—the same.

Both writers and programmers struggle with language. The code at the beginning of this chapter is in Microsoft’s C#, one of thousands of high-level programming languages invented over the last century. Each of these is a ‘formal language,’ a language ‘with explicit and precise rules for its syntax and semantics,’ as the Oxford puts it. Formal languages ‘contrast with natural languages such as English whose rules, evolving as they do with use, fall short of being either a complete or a precise definition of the syntax, much less the semantics, of the language.’6 So these formal dialects may be less flexible and less forgiving of ambiguity than natural languages, but coders—like poets—manipulate linguistic structures and tropes, search for expressivity and clarity. While a piece of code may pass instructions to a computer, its real audience, its readers, are the programmers who will add features and remove bugs in the days and years after the code is first created. Donald Knuth is the author of the revered magnum opus on computer algorithms and data structures, . Volume 3 of the Art was published in 1973; the first part of Volume 4 appeared in 2011, the next part is ‘under preparation.’ If ever there was a person who fluently spoke the native idiom of machines, it is Knuth, computing’s great living sage. More than anyone else, he understands the paradox that programmers write code for other humans, for machines: ‘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.’7 In 1984, therefore, he famously formalized the notion of ‘literate programming’:

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.8

Good code, then, is marked by qualities that go beyond the purely practical; like equations in physics or mathematics, code can aspire to elegance. Knuth remarked about the code of a compiler that it was ‘plodding and excruciating to read, because it just didn’t possess any wit whatsoever. It got the job done, but its use of the computer was very disappointing.’9

To get the job done—a novice may imagine that this is what code is supposed to do. Code is, after all, a series of commands issued to a dumb hunk of metal and silicone and plastic animated by electricity. What more could you want it to do, to be? Knuth answers: code must be ‘absolutely beautiful.’10 He once said about a program called SOAP (Symbolic Optimal Assembly Program) that ‘reading it was just like hearing a symphony, because every instruction was sort of doing two things and everything came together gracefully.’11

We are now unmistakably in the realm of human perception, taste, and pleasure, and therefore of aesthetics. Can code itself—as opposed to the programs that are constructed with code—be beautiful? Programmers certainly think so. Greg Wilson, the editor of , an anthology of essays by programmers about ‘the most beautiful piece of code they knew,’12 writes in his foreword to that book:

I got my first job as a programmer in the summer of 1982. Two weeks after I started, one of the system administrators loaned me Kernighan and Plauger’s … and Wirth’s + = … [These books] were a revelation—for the first time, I saw that programs could be more than just instructions for computers. They could be as elegant as well-made kitchen cabinets, as graceful as a suspension bridge, or as eloquent as one of George Orwell’s essays.13

Knuth himself is careful to limit the scope of his aesthetic claims: ‘I do think issues of style do come through and make certain programs a genuine pleasure to read. Probably not, however, to the extent that they would give me any...



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.