Imatge de l'autor

Paul Graham (1) (1964–)

Autor/a de Hackers and Painters: Big Ideas from the Computer Age

Per altres autors anomenats Paul Graham, vegeu la pàgina de desambiguació.

3+ obres 2,005 Membres 29 Ressenyes 11 preferits

Sobre l'autor

Paul Graham, designer of the new Arc language, was the creator of Yahoo! Store
Crèdit de la imatge: photo by Alex Lewin

Obres de Paul Graham

Obres associades

Founders at Work: Stories of Startups' Early Days (2007) — Col·laborador — 954 exemplars

Etiquetat

Coneixement comú

Nom normalitzat
Graham, Paul
Data de naixement
1964
Gènere
male
Nacionalitat
USA

Membres

Ressenyes

This book is collection of essays (I think all of them are online). Hackers and Painters was a quick and amusing read. The essays cover many topics; my favorites were those on the social habits of hackers and on language design. The language design essays were interesting even though I disagreed with them in many places. For one thing, types are good! Types are a burden when writing code, certainly, but they are vital for reading code. I find it much easier to read code with type annotations because then I know what each variable is supposed to do. Since code is read much more often than it is written (or so says conventional wisdom), types are important. That said, I am a big fan of both languages with type inference and languages where types do not need to be added while programming but can be added to provide additional guarantees to the programmer.… (més)
 
Marcat
eri_kars | Hi ha 22 ressenyes més | Jul 10, 2022 |
Paul Graham and his editor(s) are excellent. His prose is light and easy to follow. The only awkward component of the book's organization is that he tends to use a concept one section before explicitly introducing and defining that concept. I'm not sure yet if this is a good or bad thing.

As a learning resource

Among books recommended to potential Lispers, ANSI Common Lisp is typically written off. Graham's style of Lisp is called "non-idiomatic". That's fair, both ANSI Common Lisp and On Lisp feature aspects of Common Lisp that lend themselves to functional programming. And as those of you who've read Practical Common Lisp know, Common Lisp (unlike Scheme) was not designed to be a functional programming language. Ultimately ANSI Common Lisp covers the same topics Practical Common Lisp does, if not more. But ANSI Common Lisp is better written, in less space, and with shorter examples.

I'm impressed at Graham's ability to summarize. There is a graphic illustrating symbols as a structure composed of a name, a value, a function, a package, and a property list. Although other resources (books and otherwise) mention symbols as having one or more of these components, his graphic was the first representation that clicked for me. He also provides clarity about packages being namespaces for names (symbols) not objects or functions.

And toward the end of the book, there is a discussion on the "instance" abstraction (relative to the class definitions themselves) being more powerful than plain "objects" that carry around methods themselves. This has been the single most useful discussion on the implementation of object-oriented constructs I've read yet.

Digression on Practical Common Lisp

Practical Common Lisp is often called the best introduction to Common Lisp. After reading both, I'd give Practical Common Lisp second place or call it a tie. The issue with Practical Common Lisp is that it takes too long to get anywhere and the practical chapters themselves are just as much a slog. And for as big as it is, Practical Common Lisp still doesn't include some major (potentially confusing) aspects of "modern" Common Lisp like ASDF, Quicklisp, production deployment strategies, etc.

Even after having read Practical Common Lisp I wasn't really clear how to pull together all the libraries I needed to get anything real done (e.g. scripting against an HTTP API or interacting with a SQL database). This is not to say that Practical Common Lisp is a bad book, it is a good book. But I definitely don't recommend reading it without also reading ANSI Common Lisp. And regardless, there are still a few of those modern concepts neither book covers.
… (més)
 
Marcat
eatonphil | Hi ha 2 ressenyes més | May 8, 2022 |
Hard to judge how prescient the author is when he is literally making the future with his wealth and influence.
 
Marcat
Paul_S | Hi ha 22 ressenyes més | Mar 7, 2022 |

Llistes

Premis

Potser també t'agrada

Autors associats

Estadístiques

Obres
3
També de
1
Membres
2,005
Popularitat
#12,841
Valoració
4.1
Ressenyes
29
ISBN
65
Llengües
5
Preferit
11

Gràfics i taules