Explore BrainMass

Strings as a kind of character array or primitive type

The two most important design issues that are specific to character string types are the following: Should strings be simply a special kind of character array or a primitive type? If you were to design your own programming language, which approach would you take and why? Elaborate on the reasons based on real life programming scenarios.

Solution Preview

I would define String data types as primitive type instead of a character array, because Strings are very widely ...

Solution Summary

Briefly describes the choice of making strings a primitive types as a design issue.