Skip to content
forked from tiolula/tdd_libft

Trying to deliver libft using tdd :)

Notifications You must be signed in to change notification settings

lula42/tdd_libft

 
 

Repository files navigation

Libft build norminette test valgrind

A library I hope someday will be useful to myself.

🎓 42

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.

📚 Libft Content


🥋 42 as a dojo

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:

👇🏽

🔴🟢🟢 TDD

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.

👍🏽

✅ Continuous Integration

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?

🤔

👬🏽 Pair Programming

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.

🙌🏽

About

Trying to deliver libft using tdd :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.0%
  • Other 1.0%