▲ | marklubi 4 days ago | |||||||||||||||||||||||||
C# is amazing. Decisions at the education level were made well before it went cross-platform though (FWIW, I've been using it since before v1.1). Would be interesting in what confusing syntax you're referring to. I think one of the beauties of it is that it's additive. You can program plenty of simple stuff in it with conventional style code, but there's a lot of syntactic sugar available that makes things so easy when you need to start scaling things. | ||||||||||||||||||||||||||
▲ | sfn42 4 days ago | parent [-] | |||||||||||||||||||||||||
I agree, C# is my language of choice and I've been using it professionally for over 5 years. I use it for personal projects as well. I'm referring to all the stuff C# has that Java doesn't. Async, ref/in/out keywords, extension methods, linq, lots of stuff. Maybe it's not a big deal, like I said I wouldn't really mind it. I just think Java is a bit simpler in this regard which is an advantage for beginners. Some differences where I prefer java are checked exceptions and imports. C# usings are ambiguous, it can be difficult to figure out where things are coming from for code samples outside an IDE. And checked exceptions are just good IMO. I've never seen why people dislike them, having used Java and C# I think Java does it better. It's easy to miss exceptions in C#, I wish library developers could use checked exceptions to tell me which exceptions I should worry about. Anyway both languages are great first languages and great general purpose languages. Highly recommend both. | ||||||||||||||||||||||||||
|