There are a lot of interesting tutorial on how to code externals for beginner now, for instance here and here, but few care about backward compatibility for Max/MSP 5 users, when audio was only float32. Here is a short bullet-point dumb-proof way of taking a basic project and making sure it is compatible.