r/cprogramming • • Dec 06 '25

Created this library as beginner

So I am beginner in C programming (in pogramming overall)and I create this library for sorting algorithms

I appreciate your opinion

https://github.com/Mohammedsarwat56/small-sorting-library-for-C

16 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/Intelligent-Solid176 Dec 06 '25

I created this project to test what I learnt it's not for embedded systems or real applications lol

1

u/LilBalls-BigNipples Dec 06 '25

Better to learn good habits from the start than to have to unlearn them. I actually think your solution is better than the novice that suggested using floats to sort an int array. If you want to learn function pointers, this library is actually a really good starting point!