Updates
Latest Tweet
What's New?
Check out for latest innovation, a computer based training video collection
Like this Page
Mastering Algorithms with C Review by Me
Good book, but HORRIBLE CODING STYLE!!!
The book contents is good, the algorithms presented are more or less well explained and the implementeations themselves are not bad (but could be better).
Unfortunately this book has 2 mayor problems:
Sometimes you need an implementation of an algorithm for which you already know the inner-workings, just need quick code instead of reinvening the wheel yourself... the book will not allways give you that, it will sometimes build an algorithm based on previous ones! Darn!, I am supposed to go straight to the point I want and get the code without having to read a couple of previous sections.
Second and worst of all is the coding style this guy has. I don't know what the other reviwer that said that the code is great programs in but certainly not in C. The author of the book simply has the worst style ever... look at the comments, a one line comment surrounded by a box!!! give-me-a-break!... where did he learn this? He should read a book about style, perhaps read Code Complete by Steve McConnel or something before attempting to write code. Anyway this is just one of the many style flaws this book has.
If I could I would return it, after all, you can get mostly any implementation from the internet (I had to do that or would have wasted lots of time and... time is money).
If well written, the book would have been 1/2 its size and then it would have been good.
Why 3 stars? Well, in spite of the poor programming style and bad presentation of some algorithms, if you have time and patience, you get someting out of the book. Just don't use the coding style he uses... if you try that at work you would be fired or at least laughed at.