A library I hope someday will be useful to myself.
42 learning style is not for everyone. In addition to programming in C (that is not something very easy and also not very common), since the beginning you are not allowed to use common libraries like, for example, stdio.h.
It's like swimming 🏊🏾 in a cold lake with your hands tied. But since you are learning to program, you can untie them by yourself.
So libft is my own library, wich I hope will be useful until my last project of 42 curriculum.
-
21 functions that implements the original ones and do not use any external function:
-
2 functions that implements the original ones and use malloc():
-
11 functions that are either not in the libc, or that are part of it but in a different form:
A dōjō (道場, Japanese pronunciation: [doꜜː(d)ʑoː][note 1]) is a hall or place for immersive learning or meditation. This is traditionally in the field of martial arts, but has been seen increasingly in other fields, such as meditation and software development. The term literally means "place of the Way" in Japanese.
Once I already know something about programming, I decided to use my libft as a training space for techniques I like, for example:
👇🏽
One of the practices I decided to try on my libft fully is TDD - Test Driven Development. 🤦🏽♂️
In this repo you can see the consequences of that.
If you don't know anything about TDD, I recommend you read about Extreme Programming.
👍🏽
Also following Extreme Programming practices, I configured github actions to build the project, run my tests, run valgrind to check memory leaks and finally run norminette, wich validates the oficial 42 standards. Maybe we can call it Continuous Integration. Can we?
🤔
I never liked to code alone. I know I can do it, but why using just one mind if I can use several? My libft was almost 100% pair programmed, with several people.
Most part of the paired code was made in this repo. We can say that all the code on it is collective.
🙌🏽