2 ms·
Show HN: Flint – A minimal C/C++ package manager and build tool written in C
- Panzerschrek 3mo agoThis can work only for toy projects with no complex build scripts and without dependencies fetched not via git.
- blackcoffee2dev 3mo agoWhy not use existing solutions?
- munch-o-man 3mo agoprobably because he wanted to have fun with the challenge and learn a bit more about package management in the process so he is a more knowledgeable engineer and is trying to keep their C skills sharp...I know mine are shit now because I never have the ability to write C at work so unless I come up with a pet project like this one by this person I end up really badly out of practice and rusty (not a rust pun haha).
- munch-o-man 3mo agoI'm probably in the minority here, I don't know, but while I haven't dug deeply into the code I'd immediately say throw some comments in dude, at least above functions and shit....for me comments aren't just about what they say, they create a visual breakup of the page which makes it easier to reason about where blocks of functionality begin/end. When you have shitty eyes like me and you have been staring at a screen all day, a wall of code with no comments breaking up the functions/methods starts to blur and is sometimes hard to tell the horizontal alignment at quick glance and differentiate blocks that are full functions and blocks that are large blocks within a function. Thats just me though...it is more about visual appearance and helping me quickly see the logical breakdown/structure of a file so I can get to the code I want quicker. I'll try to read through it later, but props to anybody building a project in C...I need to come up with a new pet project in C because I'm so rusty I don't think I've written C in like 7+ years.