Alice52/tutorials

[compare] c# campare with java

Alice52 opened this issue · 0 comments

c# advantage

  1. extension: static and this
  2. method args default value
  3. variable inference
  4. linq
  5. readonly and const: runtime constants and compile constants
  6. out, it's means more than one return[recommend].
  7. property { set; get; }
  8. 泛型
  9. async/await
  10. 模式匹配: https://www.cnblogs.com/cgzl/p/11673661.html
  11. 可空引用类型: ? & NullableReferenceTypes & TreatWarningsAsErrors
    https://www.cnblogs.com/lwqlun/p/10258586.html
  12. 元组: Tuple & ValueTuple: https://www.cnblogs.com/unity3ds/p/11641582.html
  13. 异步流: https://www.cnblogs.com/ms27946/p/Async-Stream-In-CSharp-8.html
  14. lambda

java

  1. !=柯里化: 实现不了 Extension
  2. overload default value
  3. JDK10
  4. JDK8 stream
  5. N/A
  6. define truple
  7. lombok
  8. 泛型不好, 很不好
  9. CF
  10. 没有
  11. 没有
  12. https://www.cnblogs.com/gxhunter/p/11183415.html
    https://blog.csdn.net/zzh920625/article/details/80462379

reference

  1. https://blog.csdn.net/darkjazz11/article/details/82222876
  2. https://www.csdn.net/gather_23/MtTaUg3sMDU0LWJsb2cO0O0O.html
  3. https://www.cnblogs.com/lwqlun/p/10258586.html
  4. https://www.cnblogs.com/ms27946/p/Async-Stream-In-CSharp-8.html
  5. https://www.cnblogs.com/cgzl/p/11673661.html
  6. https://www.cnblogs.com/gxhunter/p/11183415.html
  7. https://blog.csdn.net/zzh920625/article/details/80462379
  8. https://www.cnblogs.com/unity3ds/p/11641582.html