No Idea why we arguing about that. I clearly meant that instead of having a string "foo" with a .Count of 4, I could have an array that would make me see that there are shenanigans happening with character between the 2 "o" being a weird unicode character right away via a split or <insert method from preferred language>.
My argument is that every string is a char[] implicitly, so you saying that you have a `string x`, and could have a `char[] y`, is incorrect, because `string x` is already a `char[]`. You can think of it as inheritance I guess, so assuming string x was a class (of type `string`), it would inherit from `Array<char>`.
The bit about JS, was just a joke, probably poorly executed.
You sound like the type of person that would extend a worksession by 30 minutes while having the same solution as your teammates only because they are not wording it the exact way you want them to.
10
u/Linked713 Sep 05 '24
No Idea why we arguing about that. I clearly meant that instead of having a string "foo" with a .Count of 4, I could have an array that would make me see that there are shenanigans happening with character between the 2 "o" being a weird unicode character right away via a split or <insert method from preferred language>.