4 ms·
I think Fortran uses a number followed by a byte array to represent strings. This is the big argument with C which used null terminators. In retrospect, maybe F
by isaachier 9y ago
I think Fortran uses a number followed by a byte array to represent strings. This is the big argument with C which used null terminators. In retrospect, maybe Fortran was right after all.
Edit: Actually seems I confused Fortran and Pascal. Also, Fortran uses an internal length variable.
- Gibbon1 9y agoI think the failure of C to support a built in array type is exactly like Steve Jobs refusing to give up one button mice. The reasons aren't technical or based on merit but on stubborn ideology.