RetroFed Forum
Your home away from modern life.
Code snippet archive?
Post Reply
AuthorMessage
TruePe4rl lemmy.ml TruePe4rl@lemmy.ml
Joined: 2024-07-28
Quote

I was just wondering if there are some really good websites to learn some tricks in C. As a not so beginner programmer I would really appreciate any kind of C snippet archive or something to find inspiration. I occasionally find some gold while watching Tsoding streams, but that experience is usually less dense in terms of fancy code and focuses more on problem solving.

1   Original
BlackRoseAmongThorns slrpnk.net BlackRoseAmongThorns@slrpnk.net
Joined: 2024-01-07
#2 · Quote Reply

If you're still interested, I've found tons of interesting techniques in open source projects, like CC and right now reading GLib source code, as I'm mostly interested in compile time guarantees and generic programming, I'd suggest starting with CC's source code.

2
TruePe4rl lemmy.ml TruePe4rl@lemmy.ml
Joined: 2024-07-28
#3 · (edited) Quote Reply

If you're still interested, I've found tons of interesting techniques in open source projects, like CC and right now reading GLib source code, as I'm mostly interested in compile time guarantees and generic programming, I'd suggest starting with CC's source code.

I am still interested and even found some new things. I completely agree with reading the source code to be the best way to learn.

Here are some other resources I'd consider worth mentioning over here also for anyone reading this in the future:

edit: fixed the links

1
BlackRoseAmongThorns slrpnk.net BlackRoseAmongThorns@slrpnk.net
Joined: 2024-01-07
#4 · Quote Reply

I am still interested and even found some new things. I completely agree with reading the source code to be the best way to learn. Here are some other resources I'd consider worth mentioning over here also for anyone reading this in the future: a book by Adam Tornhill on C patterns leanpub Github repo with pattern implementation Github Tsoding Daily Youtube Magicalbat Youtube https://stackoverf...

If it means anything, i appreciate the links now :)

2
Post Reply
Back to top