3 ms·
Did you spend any significant time working with C#?
by wutwutwutwut 6y ago
Did you spend any significant time working with C#?
- Hokusai 6y ago> Did you spend any significant time working with C#? I have no experience with it at the corporate level. There, I have seen, it mixes a lot with .NET. So, I guess that the corporate equivalent to Java is "C#/.NET". I spend some time several years ago with C# in Unity3D, thou. I really liked the C# language. I found the Auto-Implemented Properties a neat compromise between encapsulation and verbosity (Verbosity has no value if does not add information). Java is trying to be everything to everyone and that is a mistake. I liked Java more in the past, and I would have added just a few things from the past iterations of the language (e.g. Modules is a good idea that actually simplifies the language and moves much code to "frameworks" instead of being part of the core language). C# seemed more focused on its initial style were Java is stretching all over the place.
- pjmlp 6y agoYou haven't used much LINQ, pattern matching, spans, ranges, default interface methods, non null references in C#, I guess.
- Hokusai 6y agoYou are right. I see that some of that features were added much later on. For non null references, I used to work with C++ and I really liked some of its reference/pointer/smart-pointer semantics even that everything can be used also really badly. I have done some basic training in Rust, and I am happy to see that it seems quite close at the way I was using C++. But, I see C# in the future replacing part of what Javascript does nowadays once WebAssembly takes off. I would like to learn more about that.