refactor by partial evaluation

Some time ago I read an article on proggit that made an analogy between compression and clean design. Basically if you see a lot of repetition then you factor out that structure and re-use it the same way a compression algorithm takes out common patterns and re-uses them to more compactly represent some blob of data. Sometimes though it is not the structure or the common patterns that make things hard to understand but instead it is too much generality and indirection. So how do you solve that problem? Continue reading

programmer types

There are many posts on programmer types but this one is mine.

Most programmers are individually smart but once you put them in a group they become dumb because all their smarts are diverted to figuring out how to show everyone else that they are smart. Once in a while though you come across programmers that are not just smart individually but also smart when you put them in a group. This is rare and I don’t know how it happens but such programmers are usually the easiest to work with and in general just get things done. If you want to advance your career then seek out the programmers that are not just smart individually but also smart in groups because those guys will have your back.