Birkas / Tom torfs
-
bithacks.h - bit hacks header file
- 2009-09-03 07:40
- good coders code, great reuse
- RSS
A part of being a great programmer is having your personal code library. With a personal code library I mean a repository of code that you have an intimate knowledge of and that you can reuse quickly. If you are a C programmer, you don’t want to reimplement linked lists, trees, various utility functions, macros and algorithms each time you write a new program. Rather you want to take them from your repository, adjust and incorporate in your code. A good example is the implementation of linked lists in the Linux kernel. Every kernel developer knows it and uses it if necessary. They [..]