4 ms·
>due to C not having good expressive/abstracting powers I disagree, if anything, C's scantness forces you to abstract things much properly, unless you plan to
by moralestapia 5y ago
>due to C not having good expressive/abstracting powers
I disagree, if anything, C's scantness forces you to abstract things much properly, unless you plan to write pages of boilerplate code here and there.
- kaba0 5y agoWith all due respect - how do you write a string library in C then? Char* is not one.
- moralestapia 5y agoAn appropriate data type (you could use structs maybe) and methods for the common operations, concat, length, etc... It's not as trivial "string s" like in other languages, but it's also not that big of a deal. Also, you make sure it works properly and you just use it anywhere you want.