Tag Archives: programming

Soft Spoken Leadership

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


Small Methods / Functions Are Better

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

Keep Method Signatures Simple

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

Accommodating Code Changes

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

Add Unit Test When Bug Is Found

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

How to Name Methods / Functions

Name them after the intention of the method–what it does, not how it does it.

Cognitive Dissonance in Computer Programming

Cognitive dissonance is a psychology theory that says a programmer who truly sees a program as an extension of his/her own ego is not going to be trying to find all the errors in it (???).