I know we learn C at school for our own good, but it's incredibly frustrating.
why would use a C program to make a request to an API!!
And I compared it to node because that's what I know the best, but most "modern" languages would be similar I guess
I don't want to handle memory allocation to extract a value from a JSON file
But whatever, that's maybe because I'm a young noob-level programmer
@angristan The "get_off" part sounds lewd.
@angristan Yeah it's definitely cause C is so bad.
After years of changing requirements, eventually you realize that your app is leaking every possible kind of resource, this is the magic of deep C
@angristan At least for this case, Rust is shorter.
And people use Rust for writing OS kernel too. 🤔
@ivesen School projects™
@angristan yeah, there are many good uses of C, but making a request to a web API and parsing the resulting JSON is not one of them.
It's sad that many teachers can't come up with tasks that show strengths of C, and then the students suffer and get to think C is a bad language.
@angristan because C is fastest. And it helps to show who is the _daddy_ in the room.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!