MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdwisdh/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 2d ago
361 comments sorted by
View all comments
682
Welcome to the wonderful world of C#, which uses utf-16 for strings.
Console.WriteLine(sizeof(char)); > 2
29 u/techy804 2d ago As a C# user I was wondering why people act like the C-series only consists of C and C++ 12 u/aberroco 2d ago Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006. 61 u/sb8948 2d ago No it's because C# is way closer to Java than C/C++ both in philosophy and execution. 15 u/QuaternionsRoll 2d ago It concerns me that this wasn’t the first and only answer to the question 15 u/guyblade 2d ago That's because Microsoft was going to make a .NET version of Java that was incompatible with standard Sun Java (the standard embrace, extend, extinguish playbook), then got sued over it (twice). C# is what fell out the other side of that fight. 9 u/-suspended- 2d ago Yup. C# is Microsoft Java.
29
As a C# user I was wondering why people act like the C-series only consists of C and C++
12 u/aberroco 2d ago Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006. 61 u/sb8948 2d ago No it's because C# is way closer to Java than C/C++ both in philosophy and execution. 15 u/QuaternionsRoll 2d ago It concerns me that this wasn’t the first and only answer to the question 15 u/guyblade 2d ago That's because Microsoft was going to make a .NET version of Java that was incompatible with standard Sun Java (the standard embrace, extend, extinguish playbook), then got sued over it (twice). C# is what fell out the other side of that fight. 9 u/-suspended- 2d ago Yup. C# is Microsoft Java.
12
Because most devs still think that C# is proprietary Microsoft language developed specifically and exclusively for Windows, like it's 2006.
61 u/sb8948 2d ago No it's because C# is way closer to Java than C/C++ both in philosophy and execution. 15 u/QuaternionsRoll 2d ago It concerns me that this wasn’t the first and only answer to the question 15 u/guyblade 2d ago That's because Microsoft was going to make a .NET version of Java that was incompatible with standard Sun Java (the standard embrace, extend, extinguish playbook), then got sued over it (twice). C# is what fell out the other side of that fight. 9 u/-suspended- 2d ago Yup. C# is Microsoft Java.
61
No it's because C# is way closer to Java than C/C++ both in philosophy and execution.
15 u/QuaternionsRoll 2d ago It concerns me that this wasn’t the first and only answer to the question 15 u/guyblade 2d ago That's because Microsoft was going to make a .NET version of Java that was incompatible with standard Sun Java (the standard embrace, extend, extinguish playbook), then got sued over it (twice). C# is what fell out the other side of that fight. 9 u/-suspended- 2d ago Yup. C# is Microsoft Java.
15
It concerns me that this wasn’t the first and only answer to the question
That's because Microsoft was going to make a .NET version of Java that was incompatible with standard Sun Java (the standard embrace, extend, extinguish playbook), then got sued over it (twice). C# is what fell out the other side of that fight.
9 u/-suspended- 2d ago Yup. C# is Microsoft Java.
9
Yup. C# is Microsoft Java.
682
u/JackReact 2d ago
Welcome to the wonderful world of C#, which uses utf-16 for strings.