4 ms·
Because back when C first was designed and implemented, the alternative was to do string manipulation in assembly. C has evolved over time, but it has not left
by scott_s 18y ago
Because back when C first was designed and implemented, the alternative was to do string manipulation in assembly.
C has evolved over time, but it has not left its niche: a systems programming language which is a thin abstraction of hardware. If you want a higher abstraction of the hardware, then C is not your best choice.