The existence of two separate implementations of bubblesort (one for char, one for uint16_t), in and of it self, says everything that needs to be said about this. This was written by someone who refuses to use even the meager facilities C offers programmers, and doesn't know enough about them to even NIH things well. Moreover, he seems to like overtly complex, specialized code over simple, generic code.(if the author of this library is reading this: qsort is a libc function that can sort an array of any type, in any way, and does so much more efficiently than bubblesort could ever dream, while not being very complex.)
LefterisJP|13 years ago
Thanks for the other comments. I will try to improve on it as much as is possible and would like to make it useful for other people other than myself. I am used to coding like this and this is the reason why I posted it in the net so that I can get feedback and start coding in a better way.
Please keep in mind that this is just in its starting point and is still in Beta. I will use your comments well and would welcome more, in order to know what direction all changes should take