Me coding with ~5y experience:
1. write code
Me coding with ~30y experience:
1. read docs for fopen()
2. write 1 line of code
3. check 17 different things in docs/internets about fopen
4. reverse fopen implementation because this one detail...
5. decide to use different function.