3 ms·
That's why I like C so much.
by v0cab 14y ago
That's why I like C so much.
- UK-AL 14y agoYeah, but in C you end up creating your own data structures from scratch every time. You can use data structure libraries, but without generics or something similar, it makes it difficult.... Then sometimes actually getting a external c libary to build(If it's not in the package manager) is sometimes trouble. ./configure ./make usually ends up in some obsercure error or depedency... C++ usually makes the errors even more unreadable...
- v0cab 14y ago> in C you end up creating your own data structures from scratch every time. You can use data structure libraries, but without generics or something similar, it makes it difficult.... Hmm... I never ran into too many problems with this myself, but it could just be outside of my experience. Can't TYPEDEFs help with this? Also, better to have the code to step through, rather than decrypting STL/template compiler errors, no? And what's the harm in a bit of repetition of code structures? > Then sometimes actually getting a external c libary to build(If it's not in the package manager) is sometimes trouble. ./configure ./make usually ends up in some obsercure error or depedency... C++ usually makes the errors even more unreadable... C++ is the main thing I'm comparing C to. Yes, sorting out dependencies isn't fun.
- xyzzyz 14y agoArray is good enough data structure for most uses, and Yeah, but in C you end up creating your own data structures from scratch every time. is not true.