Have an programming theory text book recommendations?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
carlmcdade
Forum Newbie
Posts: 24
Joined: Thu Dec 02, 2004 2:19 am
Location: sweden

Have an programming theory text book recommendations?

Post by carlmcdade »

I just noticed that almost all books in my library are database oriented. I have long since given up the struggle to find a job as a db administrator here in Sweden. So now I want to concerntrate on the programming aspects of my profession. I have no intention of going back to college to study but I would like to be on the same level when doing self-study.

I am looking for recommendations from those classically trained CS majors. What textbooks are they using nowadays in the Computer Science areas of U.C. Berkeley others?

Since I am looking more for theory than code publication age does not count. The publication should be kind of ageless.

Links to anything that can be found at Amazon or good used book sources would be appreciated.

Right now I am looking for two books. An alternate to the gang of four book on design patterns and a introductory book on Algorithms.
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

MIT's OpenCourseWare might have some of the stuff you're looking for. A lot of the courses provided have at least lecture notes, some provide lecture videos and some online textbooks or they name some of the books they use.
User avatar
carlmcdade
Forum Newbie
Posts: 24
Joined: Thu Dec 02, 2004 2:19 am
Location: sweden

Post by carlmcdade »

Thanks, for reminding me. I had forgotten about that site. I take a look at what they have.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

There are three books which IMO aren't merely recommended they are absolutely essential. You've already got GoF Design Patterns I take it; the other two are from Martin Fowler: Patterns of Enterprise Application Architecture and Refactoring.
User avatar
carlmcdade
Forum Newbie
Posts: 24
Joined: Thu Dec 02, 2004 2:19 am
Location: sweden

Post by carlmcdade »

That refactoring book looks good!

I don't have the GOF book but I have read it twice. Once for a C++ course and again for an introductory Java course. I don't like it.

The GOF book left me dumbfounded in that it gives all kinds of screwdriver types but you have to figure out what the screws look like by looking at the screw driver tip. Sometimes that is obvious but not in most cases. Going around with a screwdrivers in my pocket and testing them on each occasion that I see a screw is not my idea of a good time :(
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

knowing which pattern goes where just comes from experience. It takes time to get to know these things.
crouse
Forum Newbie
Posts: 13
Joined: Mon Dec 27, 2004 11:14 pm
Location: Sacramento, CA
Contact:

The Pragmatic Programmer

Post by crouse »

I have really enjoyed reading over The Pragmatic Programmer (ISBN: 0-201-61622-X). Most of the code is written in Java, however it has great theory and I have found it extremely useful as a programmer. One of the more basic and useful ideas from the book I use is the DRY, Don't Repeat Yourself, Principle. The DRY principle basically asserts that a programmer should centeralize any code, like in a function, that is called more then once. There is a better explination of that and many other principles in the book. hightly recommended.

Chris
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Pragmatic Programmers website.
ianlandsman
Forum Newbie
Posts: 24
Joined: Thu Dec 30, 2004 9:50 pm
Location: New York

Post by ianlandsman »

The MUST own book for any programming looking to step up their game is Code Complete. So many good ideas in there you'll wonder how you ever got by without it.

http://www.amazon.com/exec/obidos/tg/de ... 735619670/
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'd also recommend: there are others, but they get more specific to certain fields....
User avatar
PHPadvisor
Forum Newbie
Posts: 11
Joined: Mon Dec 13, 2004 3:20 pm

Post by PHPadvisor »

ianlandsman wrote:The MUST own book for any programming looking to step up their game is Code Complete. So many good ideas in there you'll wonder how you ever got by without it.
Ditto. I agree. Found it very informative. Was a nice complement to what you'll learn in university- where the focus is how to do something... not how WELL to do something.
lastcraft
Forum Commoner
Posts: 80
Joined: Sat Jul 12, 2003 10:31 pm
Location: London

Post by lastcraft »

Hi...

One essential theory book is "Structure and Interpretation of Computer Programs" by Abelson and Sussman. That's a bit of a mouthful, so for short it's known as the "wizard book" becuaes of the front cover. Very much low level CS material.

On a more practical not I would definitely vote for the Pragmatic Programmer, Refactoring, Design Patterns (keep as reference) and also "Facts and Fallacies of Software Engineering" by Robert Glass.

I know what you mean about the design patterns book as I had to read it about three times before I started to get the hang of it. It makes more sense after doing the Refactoring book. Another book to ease you in is "Agile Software Development" by Andrew Martin.

yours, Marcus
Post Reply