C is such a piece of shit language. Only language where "I need a dynamically growing array or a hashmap" is answered with "roll your own lol n_n"
-
C is such a piece of shit language. Only language where "I need a dynamically growing array or a hashmap" is answered with "roll your own lol n_n"
EDIT: C (not C++, not Zig, not Rust) is the correct language for the job I'm doing. I am also very aware of how to implement dynamic arrays and hash tables. I have written my own stdlibs on freestanding C before. I do not actually need coaching in this matter, thank you. I also like C, sometimes, but sometimes I think it's a stupid piece of shit language, because it is
-
Eniko | Kitsune Tails out now!replied to Eniko | Kitsune Tails out now! last edited by
And of course C doesn't have templates or generics or anything of the sort so rolling your own, assuming you want it to be reusable, involves gross macro abuse in order to do it and you have to use void* everywhere cause that's not an issue at all
-
Eniko | Kitsune Tails out now!replied to Eniko | Kitsune Tails out now! last edited by
look, all the best C coders trash talk C. the only time you should be worried is when someone's using C without talking shit about it
-
lucy 🌸replied to Eniko | Kitsune Tails out now! last edited by
@eniko in principle I'm always like WOW C is such a simple and elegant language, isn't it beautiful? then I have to write something in it and suddenly it's all 'okay let's get my build system sorted and make sure all my dependencies have the right versions and I have the right headers, oh and I'm probably gonna need these data structures and these allocators so let's write those...' and before I know it I'm three coffees deep at 4am wondering where it all went wrong