Book Blurbs

Entries tagged as ‘programming’

Soft Spoken Leadership

February 6, 2008 · Leave a Comment

It is easier to exert leadership over programmers by being a soft-spoken programming wizard than by being the world’s fastest-talking salesman.

Categories: The Psychology of Computer Programming by G. Weinburg
Tagged: , ,

Small Methods / Functions Are Better

February 6, 2008 · Leave a Comment

There is tiny overhead for having lots of small methods versus having longer methods.

Categories: The Psychology of Computer Programming by G. Weinburg
Tagged: ,

Keep Method Signatures Simple

February 5, 2008 · Leave a Comment

With objects you don’t pass in everything the method needs; instead you pass enough so the method can get to everything it needs.

Categories: The Psychology of Computer Programming by G. Weinburg
Tagged: , , ,

Accommodating Code Changes

February 5, 2008 · Leave a Comment

A fundamental rule of thumb is to put things together that change together, but there are exceptions.

Categories: The Psychology of Computer Programming by G. Weinburg
Tagged: , , ,

Add Unit Test When Bug Is Found

February 5, 2008 · Leave a Comment

When a bug is found, you should always add a unit test that exposes the bug.

Categories: The Psychology of Computer Programming by G. Weinburg
Tagged: , , ,