Often I see developers debating using
String
vs.string
as if it’s a simple style decision. No different than discussing the position of braces, tabs vs. spaces, etc … A meaningless distinction where there is no right answer, just finding a decision everyone can agree on. The debate betweenString
andstring
though is not a simple style debate, instead it has the potential to radically change the semantics of a program.
Read more: https://blog.paranoidcoding.com/2019/04/08/string-vs-String-is-not-about-style.html